![Freescale Semiconductor ColdFire MCF5211 Скачать руководство пользователя страница 464](http://html1.mh-extra.com/html/freescale-semiconductor/coldfire-mcf5211/coldfire-mcf5211_reference-manual_2330619464.webp)
FlexCAN
MCF5213 ColdFire® Integrated Microcontroller Reference Manual, Rev. 3
25-26
Freescale Semiconductor
•
First or second bit of intermission
•
Seventh (last) bit of the end-of-frame (EOF) field in receive frames
•
Eighth (last) bit of the error frame delimiter or overload frame delimiter
25.3.18 Time Stamp
The value of TIMER is sampled at the beginning of the identifier field on the CAN bus. For a message
being received, the time stamp is stored in the TIMESTAMP entry of the receive message buffer at the
time the message is written into that buffer. For a message being transmitted, the TIMESTAMP entry is
written into the transmit message buffer after the transmission has completed successfully.
The free-running timer can optionally be reset upon the reception of a frame into message buffer 0. This
feature allows network time synchronization to be performed. See the CANCTRL[TSYN] bit.
25.3.19 Bit Timing
The FlexCAN module CANCTRL register configures the bit timing parameters required by the CAN
protocol. The CLK_SRC, PRESDIV, RJW, PSEG1, PSEG2, and the PROPSEG fields allow the user to
configure the bit timing parameters.
The CANCTRL[CLK_SRC] bit defines whether the module uses the internal bus clock or the output of
the crystal oscillator via the EXTAL pin. The crystal oscillator clock should be selected when a tight
tolerance (up to 0.1%) is required for the CAN bus timing. The crystal oscillator clock has better jitter
performance than PLL generated clocks. The value of this bit should not be changed, unless the module is
in disable mode (CANMCR[MDIS] bit is set)
The PRESDIV field controls a prescaler that generates the serial clock (S-clock), whose period defines the
time quantum used to compose the CAN waveform. A time quantum is the atomic unit of time handled by
the CAN engine.
Figure 25-14. CAN Engine Clocking Scheme
Eqn. 25-6
A bit time is subdivided into three segments
1
(see
):
•
SYNC_SEG: Has a fixed length of one time quantum. Signal edges are expected to happen within
this section.
1. For further explanation of the underlying concepts please refer to ISO/DIS 11519
–
1, Section 10.3. Reference also the Bosch
CAN 2.0A/B protocol specification dated September 1991 for bit timing.
Oscillator Clock (EXTAL)
Prescaler
(1 .. 256)
S clock
1
0
(f
sys/2
)
Internal Bus Clock
CANCTRL[CLK_SRC]
f
Tq
f
sys/2
or EXTAL
P 1
(
)
---------------------------------------
=
Содержание ColdFire MCF5211
Страница 48: ...Overview MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 1 14 Freescale Semiconductor...
Страница 158: ...Reset Controller Module MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 9 10 Freescale Semiconductor...
Страница 218: ...Edge Port Module EPORT MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 13 8 Freescale Semiconductor...
Страница 234: ...DMA Controller Module MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 14 16 Freescale Semiconductor...
Страница 378: ...I2 C Interface MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 22 16 Freescale Semiconductor...
Страница 468: ...FlexCAN MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 25 30 Freescale Semiconductor...