MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
21-38
Freescale Semiconductor
Figure 21-25. DMA Transfer of a TX frame
21.4.10.3 Generating an RX Frame
For RX frames the header information is provided by the LIN master. The data, CRC and checksum bytes
(as enabled) are provided by the LIN slave. The LIN master verifies CRC and checksum bytes transmitted
by the slave.
For a RX frame, control information must be written to the ESCI
x
_LTR in the same manner as for the TX
frames. Additionally the timeout bits, which define the time to complete the entire frame, must be written.
Then the ESCI
x
_SR[RXRDY] bit must be checked (either with an interrupt, RX DMA interface, or by
polling) to detect incoming data bytes. The checksum byte normally does not appear in the ESCI
x
_LRR,
instead the LIN hardware will verify the checksum and issue an interrupt, if the checksum value is not
correct.
Two DMA channels can be used when executing a RX frame: one to transfer the header/control
information from a memory location to the ESCI
x
_LTR, and one to transfer the incoming data bytes from
the ESCI
x
_LRR to a table in memory. See
for more information. After the last byte from the
RX frame has been stored, the DMA controller can indicate completion to the CPU.
NOTE
It is also possible to setup a whole sequence of RX and TX frames, and
generate a single event at the end of that sequence.
Break
Sync
ID
Data
Data
CSum
• • •
LIN Frame
LIN eSCI
ESCI
x
_LTR
DMA
Controller
Data
n
Data 1
Control/Timeout
Length
ID
•
•
•
TX DMA
Channel
Summary of Contents for MPC5553
Page 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Page 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Page 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Page 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Page 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Page 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Page 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Page 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Page 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Page 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Page 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Page 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Page 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Page 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...