HALT: if FRZ is set, the module enters into Freeze Mode. Message buffers and registers
are accessible but no reception or transmission can be done. FlexCAN leaves Freeze
Mode is this bit or FRZ bit is cleared.
NOT_RDY: read only; if set, then the module is in Disable or Freeze mode; else, it is in
Normal, Listen-Only or Loop-Back mode.
FRZ_ACK: read only; indicates if the module is in Freeze Mode.
LPM_ACK: read only; indicates if the module is in Disable Mode.
WRN_EN: when this bit is set, error counter warning TWRN_INT and RWRN_INT flags in
the status register are set if respective error counters go over 96.
SRX_DIS: if this bit is cleared, then FlexCAN module receives whatever it sends (but in
never stores it in any MB, even if the IDs match, and no interrupts are generated on
reception).
BCC: Selection between legacy masks (0) and individual masks (1) for ID filtering. (see
below).
LPRIO_EN: enables local priority for Tx MB arbitration, by adding 3 more address bits
(not transmitted). (see Message Buffer paragraph).
AEN: Abort enable, if set, TX_ABORT code can be used in message buffers.
IDAM(ID Acceptance Mode): allows selecting between different ID Table modes for the
RX FIFO engine (A=00, B=01, C=10, D=11).
MAXMB: maximum number of message buffers, number of MB used in matching and
arbitration is MAXMB+1. (Maximum 64 in MB mode, 56 in RX FIFO mode).
Figure 124: Control Register (R.M. Rev8 – Fig. 22-6)
The CTRL register is another important register, especially for configuring bit rate. Important
fields are:
PRESDIV: Prescaler Division Factor, this prescaler is used for setting the FlexCAN serial
clock from the FlexCAN peripheral clock, defining the time quantum in the protocol.
𝑇
𝑞
=
𝑃𝑅𝐸𝑆𝐷𝐼𝑉+1
𝐹
𝑝𝑒𝑟𝑖𝑝ℎ
.
RJW: Resync Jump Width; The number of quanta in Resynchronisation Jump Width is
RJW+1.
Summary of Contents for MPC5604B
Page 1: ...LAAS CNRS Quick Start to MPC5604B Embedded Development Sahin Serdar 21 06 2013...
Page 31: ...Figure 33 INTC SW HW mode comparison Freescale Tutorial...
Page 87: ......
Page 132: ......
Page 133: ...127 Appendix 2 Pad Configurations...
Page 134: ......
Page 135: ......
Page 136: ......
Page 137: ......
Page 138: ......
Page 139: ......
Page 140: ......
Page 141: ...Appendix 3 Peripheral input pin selection...
Page 142: ......
Page 143: ...137 Appendix 4 Interrupt Vector Table...
Page 144: ......
Page 145: ......
Page 146: ......
Page 147: ......
Page 148: ...Appendix 5 I C Baud Rate Prescaler Values...
Page 149: ......
Page 150: ......