1.4. Error detection ...................................................................................................................................... 105
1.5. Bit-rate and sampling ......................................................................................................................... 106
7. FlexCAN Module Configuration ............................................................................................................... 107
7.1. Module Description ............................................................................................................................. 107
7.2. Message Buffer mode and RX FIFO mode .................................................................................. 108
7.2.1. Message Buffers ............................................................................................................................... 108
7.2.2. RX FIFO Engine ................................................................................................................................ 110
7.3. Configuration Registers ..................................................................................................................... 111
7.4. Status and Interrupt Registers ....................................................................................................... 113
8. FlexCAN usage explained with an example ........................................................................................ 115
8.1. Initialisation ........................................................................................................................................... 116
8.2. Transmission ......................................................................................................................................... 116
8.3. Reception ................................................................................................................................................. 117
8.4. Interrupt Handling .............................................................................................................................. 117
9. CAN Transceiver(MCZ33905S5EK) Configuration ......................................................................... 118
Appendix 1 Using Code Warrior IDE ............................................................................................................... 120
Appendix 2 Pad Configurations ......................................................................................................................... 127
Appendix 3 Peripheral input pin selection ................................................................................................... 135
Appendix 4 Interrupt Vector Table .................................................................................................................. 137
Appendix 5 I²C Baud Rate Prescaler Values ................................................................................................. 142