CAN 2.0B Controller Module
MPC561/MPC563 Reference Manual, Rev. 1.2
16-12
Freescale Semiconductor
Figure 16-6. CAN Controller State Diagram
16.3.5
Time Stamp
The value of the free-running 16-bit 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 time stamp entry of the receive message
buffer at the time the message is written into that buffer. For a message being transmitted, the time stamp
entry is written into the transmit message buffer once 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.
16.4
TouCAN Operation
The basic operation of the TouCAN can be divided into four areas:
•
Reset
•
Initialization of the module
•
Transmit message handling
•
Receive message handling
Example sequences for performing each of these processes is given in the following paragraphs.
16.4.1
TouCAN Reset
The TouCAN can be reset in two ways:
•
Hard reset of the module via SRESET.
•
Soft reset of the module, using the SOFTRST bit in the module configuration register
Error Active
Error Passive
Bus Off
(TX Error > 127 OR RX Error > 127) AND (TX Error < 255)
TX Error > 255
(TX Error
≤
127 AND RX Error
≤
127)
Normal State
128 Occurences of 11 consecutive recessive bits,
Tx Error and Rx Error are reset to 0.
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...