10
CAN Controller John Brooks Evan Manser Emad Eissa April 23, 2020

CAN Controllerllamocca/Courses/ECE4710/W20/... · PicoScope 6 Edit Views Auto Measurements DC 4.777 Tools Help Data - 43.84 A 01 800kS Data -02 Zoom Overview 82.9 I of I pico 356.3

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CAN Controllerllamocca/Courses/ECE4710/W20/... · PicoScope 6 Edit Views Auto Measurements DC 4.777 Tools Help Data - 43.84 A 01 800kS Data -02 Zoom Overview 82.9 I of I pico 356.3

CAN Controller

John Brooks Evan Manser Emad Eissa

April 23, 2020

Page 2: CAN Controllerllamocca/Courses/ECE4710/W20/... · PicoScope 6 Edit Views Auto Measurements DC 4.777 Tools Help Data - 43.84 A 01 800kS Data -02 Zoom Overview 82.9 I of I pico 356.3

● Samples bits on the CAN bus. ● Synchronizes on rising / falling edges.

SERIAL DATA PROCESSOR

Page 3: CAN Controllerllamocca/Courses/ECE4710/W20/... · PicoScope 6 Edit Views Auto Measurements DC 4.777 Tools Help Data - 43.84 A 01 800kS Data -02 Zoom Overview 82.9 I of I pico 356.3

Using Shift register, counter, and the FSM, the destuffer’smain task is to filter the main data layout the actual CAN FrameAlso, the destuffer provides the bit count signal for the rest of the system.

DESTUFFER

Page 4: CAN Controllerllamocca/Courses/ECE4710/W20/... · PicoScope 6 Edit Views Auto Measurements DC 4.777 Tools Help Data - 43.84 A 01 800kS Data -02 Zoom Overview 82.9 I of I pico 356.3

FSM designed by containing ten states. Simple and efficient design. Finally, The Destuffer sends EOF signal at the End of CAN Frame and wait for some time then Clear the counter and register.

DESTUFFER FSM

Page 5: CAN Controllerllamocca/Courses/ECE4710/W20/... · PicoScope 6 Edit Views Auto Measurements DC 4.777 Tools Help Data - 43.84 A 01 800kS Data -02 Zoom Overview 82.9 I of I pico 356.3

● Polynomial = X15 + X14 + X10 + X8 + X7 + X4 + X3 + 1

● Registers and XOR gates● Serialize 98 bits to cycle

CYCLIC REDUNDANCY CHECK (CRC)

Page 6: CAN Controllerllamocca/Courses/ECE4710/W20/... · PicoScope 6 Edit Views Auto Measurements DC 4.777 Tools Help Data - 43.84 A 01 800kS Data -02 Zoom Overview 82.9 I of I pico 356.3

● ARB_ID and ACK enabled Register

● Seven-Segment Serializer

DATA EXTRACTION AND OUTPUT

Page 7: CAN Controllerllamocca/Courses/ECE4710/W20/... · PicoScope 6 Edit Views Auto Measurements DC 4.777 Tools Help Data - 43.84 A 01 800kS Data -02 Zoom Overview 82.9 I of I pico 356.3

Electrical Assembly

Page 8: CAN Controllerllamocca/Courses/ECE4710/W20/... · PicoScope 6 Edit Views Auto Measurements DC 4.777 Tools Help Data - 43.84 A 01 800kS Data -02 Zoom Overview 82.9 I of I pico 356.3

Electrical Assembly

Page 10: CAN Controllerllamocca/Courses/ECE4710/W20/... · PicoScope 6 Edit Views Auto Measurements DC 4.777 Tools Help Data - 43.84 A 01 800kS Data -02 Zoom Overview 82.9 I of I pico 356.3

1. Fully functional in behavioural simulation

2. Physical implementationmostly functional

3. Generates CAN data output to seven segment display

CONCLUSION AND SUMMARY