EasyManua.ls Logo

NXP Semiconductors PXN2020 - 29.4.7.5 Arbitration and Matching Timing; 29.4.8 Modes of Operation Details; 29.4.8.1 Freeze Mode

NXP Semiconductors PXN2020
1376 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Controller Area Network (FlexCAN)
PXN20 Microcontroller Reference Manual, Rev. 1
29-38 Freescale Semiconductor
29.4.7.5 Arbitration and Matching Timing
During normal transmission or reception of frames, the arbitration, match, move in and move out processes
are executed during certain time windows inside the CAN frame, as shown in Figure 29-17. When doing
matching and arbitration, FlexCAN needs to scan the whole message buffer memory during the available
time slot. In order to have sufficient time to do that, the following restrictions must be observed:
A valid CAN bit timing must be programmed, as indicated in Figure 29-17.
The system clock frequency cannot be smaller than the oscillator clock frequency, i.e.,the PLL
cannot be programmed to divide down the oscillator clock.
There must be a minimum ratio of 16 between the system clock frequency and the CAN bit rate.
Figure 29-17. Arbitration, Match and Move Time Windows
29.4.8 Modes of Operation Details
29.4.8.1 Freeze Mode
This mode is entered by asserting the HALT bit in the CANx_MCR or when the MCU is put into debug
mode. In both cases it is also necessary that the FRZ bit is asserted in the CANx_MCR. When freeze mode
is requested during transmission or reception, FlexCAN does the following:
Waits to be in either intermission, passive error, bus off or idle state
Waits for all internal activities like move in or move out to finish
Ignores the Rx input pin and drives the Tx pin as recessive
Stops the prescaler, thus halting all CAN protocol activities
Grants write access to the CANx_ECR, which is read-only in other modes
Sets the NOT_RDY and FRZ_ACK bits in CANx_MCR
8 .. 15 7 1 .. 4
9 .. 16 8 1 .. 4
Table 29-18. CAN Standard Compliant Bit Time Segment Settings (continued)
Time Segment 1 Time Segment 2
Resynchronization
Jump Width
CRC (15) EOF (7)
Intermi
1
Start Move
Matching/Arbitration Window (24 bits)
Move
(bit 6)
Window
1
Intermi = Intermission

Table of Contents

Related product manuals