
Chapter 24 LIN Controller (LINFlexD)
MPC5606BK Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
519
24.11.1 Master node, TX mode
On a master node in TX mode, the DMA interface requires a single TX channel. Each TCD controls a
single frame, except for the extended frames (multiple TCDs). The memory map associated with the TCD
chain (RAM area and LINFlexD registers) is shown in
Figure 24-43. TCD chain memory map (master node, TX mode)
The TCD chain of the DMA Tx channel on a master node supports:
•
Master to Slave: transmission of the entire frame ( data)
•
Slave to Master: transmission of the header. The data reception is controlled by the Rx channel on
the master node.
•
Slave to Slave: transmission of the header.
The register settings for the LINCR2 and BIDR registers for each class of LIN frame are shown in
.
Table 24-40. Register settings (master node, TX mode)
LIN frame
LINCR2
BIDR
Master to Slave
DDRQ=1
DTRQ=0
HTRQ=0
DFL = payload size
ID = address
CCS = checksum
DIR = 1 (TX)
LINCR2 (4 bytes)
BIDR (4 bytes)
BDRL + BDRM
DMA transfer
(4/8 bytes)
LINCR2 (4 bytes)
BIDR (4 bytes)
LINCR2 (4 bytes)
BIDR (4 bytes)
BDRL + BDRM
(8 bytes)
BDRL + BDRM
(4/8 bytes)
RAM area
TCD (n+2)
TCD (n+3)
Linked chain
LINCR2 (4 bytes)
BIDR (4 bytes)
BDRL + BDRM
(4/8 bytes)
LINCR2 (4 bytes)
BIDR (4 bytes)
LINCR2 (4 bytes)
BIDR (4 bytes)
BDRL + BDRM
(8 bytes)
BDRL + BDRM
(4/8 bytes)
LINFlex2 registers
Frame (n+1)
Slave
Master
or
Slave
Slave
Extended
Frame (n+2)
Master
Slave
Extended
Frame (n+3)
Master
Slave
Frame (n)
Master
Slave
1 DMA TX channel (TCD single and/or linked chain)
TCD (n+1)
TCD (n)
Summary of Contents for MPC5605BK
Page 2: ...This page is intentionally left blank...
Page 20: ...MPC5606BK Microcontroller Reference Manual Rev 2 20 Freescale Semiconductor...
Page 103: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 103 Clocks and power...
Page 645: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 643 Timers...
Page 715: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 713 ADC system...
Page 787: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 787 Memory...
Page 893: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 893 Integrity...
Page 943: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 943 Debug...