![Freescale Semiconductor MPC5553 Скачать руководство пользователя страница 981](http://html1.mh-extra.com/html/freescale-semiconductor/mpc5553/mpc5553_reference-manual_2330655981.webp)
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
Содержание MPC5553
Страница 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Страница 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Страница 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Страница 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Страница 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Страница 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Страница 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Страница 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Страница 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Страница 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Страница 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Страница 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Страница 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Страница 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...
Страница 1207: ...Revision History 4 Freescale Semiconductor...