![Freescale Semiconductor MPC5604B Quick Start Manual Download Page 119](http://html1.mh-extra.com/html/freescale-semiconductor/mpc5604b/mpc5604b_quick-start-manual_2330604119.webp)
PSEG1: Phase Segment 1; this field defines the number of quanta in Phase Segment 1 as
PSEG1+1. Similarly for PSEG2 and PROPSEG.
BOFF_MSK is a mask for Bus Off interrupt. Set this bit for enabling the interrupt.
ERR_MSK is a mask for Error interrupt. Set this bit for enabling the interrupt.
CLK_SRC: Clock source select for FlexCAN peripheral clock. If set, the peripheral bus
clock is selected (usually FMPLL), else the FXOSC is selected.
LPB: Loop Back, if set, Loop Back mode is enabled. Rx input is ignored, and Tx output is
set to ‘1’, and FlexCAN perform self-test by treating its transmitted messages as received
(it acknowledges the message itself).
TWRN_MSK is a mask for Tx Warning interrupt. Set it for enabling the interrupt. (as well
as WRN_EN in MCR). Similarly for RWRN_MSK.
SMP: Sampling Mode, if set three samples are taken in a single bit-time and majority rule
is used. Otherwise only one sample determines the bit value.
TSYN: Timer Sync Mode, if set, when communication with multiple FlexCAN stations, a
special SYCN message is sent every time a message is received in MB0 (or MB8 if FIFO
enabled). This messages synchronises internal counters, therefore the increasing the
value of the timestamp.
LOM: Listen-Only mode, when set, FlexCAN will freeze all transmission operations and
error counters. It will not acknowledge messages but it will receive messages
acknowledged by other devices. Basically it is a sniffer.
There a register for accessing the internal free running counter: TIMER. It is mostly useful for
unlocking message buffers.
ID Filtering: There are two ways for ID filtering for received frames, the selection is made with
BCC bit in MCR:
Legacy masks: There is a global Rx Mask (RXGMASK), this 32 bit register mask IDs of all
MBs and FIFOs frames. If the corresponding bit is set, then that bit of the ID will be
compared, else it will be accepted without checking. There are also two specific masks,
Rx 14 Mask (RX14MASK) for MB14 (and element 6 of FIFO ID Filter Table) and Rx 15
Mask (RX15MASK) for MB15 (and element 7 of FIFO ID Filter Table).
Individual masks: there are 64 separate 32-bit masks for each MB: RXIMR0 to RXIMR63.
7.4.
Status and Interrupt Registers
The Error and Status Register (ESR) is an important register for interrupt and error flags.
Figure 125: Error and Status Register
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: ......