
Enhanced Serial Communication Interface (eSCI)
MPC5566 Microcontroller Reference Manual, Rev. 2
21-38
Freescale Semiconductor
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.
Refer to
for more information.
Figure 21-26. DMA Transfer of an RX frame
21.4.10.4 LIN Error Handling
The LIN hardware can detect several error conditions of the LIN protocol. LIN hardware receives all
transmitted bytes, and compares the values with expected values to determine if the data is valid. If a
mismatch occurs, a bit error is generated and the LIN FSM returns to its start state.
For an RX frame the LIN hardware can detect a slave timeout error. The exact slave timeout error value
can be set via the timeout bits in the ESCI
x
_LTR. If the frame is not complete within the number of clock
cycles specified in the register, the LIN FSM returns to its start state, and the STO interrupt is issued.
The LIN protocol supports a sleep mode. After 25,000 bus cycles of inactivity the bus is assumed to be in
sleep mode. Normally entering sleep mode can be avoided, if the LIN master is regularly creating some
bus activity. Otherwise the timeout state needs to be detected by the application software, for example by
setting a timer.
Both LIN masters and LIN slaves can cause the bus to exit sleep mode by sending a break signal. The LIN
hardware generates a break when the WU bit in the LIN control register is written. After transmitting the
break, data is not sent out (TXRDY = 0) until the wake-up period expires. Define the wakeup period using
the WUD bits in the LIN control register.
Break signals sent by a LIN slave are received by the LIN hardware, and so indicated by setting the WAKE
flag in the LIN status register.
Break
Sync
ID
Data
Data
CSum
• • •
LIN Frame
Transmit
DMA
controller
Data
n
Data 1
Timeout
Control/timeout
Length
ID
•
•
•
TX DMA
channel
LIN eSCI
Receive
From master
From slave
RX DMA
channel
register
register
Содержание MPC5566
Страница 12: ...MPC5566 Microcontroller Reference Manual Devices Supported MPC5566 MPC5566 RM Rev 2 0 23 Apr 2008...
Страница 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Страница 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Страница 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Страница 331: ...System Integration Unit SIU MPC5566 Microcontroller Reference Manual Rev 2 6 128 Freescale Semiconductor...
Страница 343: ...Crossbar Switch XBAR MPC5566 Microcontroller Reference Manual Rev 2 7 12 Freescale Semiconductor...
Страница 361: ...Error Correction Status Module ECSM MPC5566 Microcontroller Reference Manual Rev 2 8 18 Freescale Semiconductor...
Страница 455: ...Interrupt Controller INTC MPC5566 Microcontroller Reference Manual Rev 2 10 42 Freescale Semiconductor...
Страница 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Страница 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Страница 679: ...Boot Assist Module BAM MPC5566 Microcontroller Reference Manual Rev 2 16 20 Freescale Semiconductor...
Страница 997: ...Deserial Serial Peripheral Interface DSPI MPC5566 Microcontroller Reference Manual Rev 2 20 72 Freescale Semiconductor...
Страница 1037: ...Enhanced Serial Communication Interface eSCI MPC5566 Microcontroller Reference Manual Rev 2 21 40 Freescale Semiconductor...
Страница 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Страница 1081: ...Voltage Regulator Controller VRC and POR Module MPC5566 Microcontroller Reference Manual Rev 2 23 8 Freescale Semiconductor...
Страница 1093: ...IEEE 1149 1 Test Access Port Controller JTAGC MPC5566 Microcontroller Reference Manual Rev 2 24 12 Freescale Semiconductor...
Страница 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...
Страница 1267: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 10...
Страница 1268: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 11...