
Enhanced Serial Communication Interface (ESCI)
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
1377
31.4.6
LIN mode
The eSCI provides support for the LIN protocol. It can be used to automate most tasks of a LIN master. In
conjunction with the DMA interface it is possible to transmit entire LIN frames and sequences of LIN
frames as well as to receive data from LIN slaves without application intervention. There is no special
support for LIN slave mode.
31.4.6.1
LIN mode configuration
The application must configure the following bits and fields in order to achieve correct LIN operation. The
configuration of bits and fields not mentioned in this section depend on the connected LIN slaves and the
current application.
•
enable
LIN
Mode
–
LIN Control Register 1 (eSCI_LCR1)
[LIN]:= 1
•
select
RXD
pin as receiver input
–
[LOOPS]:= 0
–
[RSRC]:= 0
•
select
LIN byte fields
as used frame format
–
[M]:= 0
–
[PE]:= 0
–
[WAKE]:= 0
–
[M2]:= 0
•
select
break character length
of 13 bit as required by LIN 2.0
–
[BRCL]:= 1
•
select transmission stop on
bit error
detection
–
[BESTP]:= 1
•
select transmission DMA stop on
bit error
detection
–
[BSTP]:= 1
•
enable both
transmitter
and
receiver
–
[TE]:= 1
–
[RE]:= 1
Frame Block
Frame Block
Receiver Wake Up
Address Frame
(ADDR BIT = 1)
Address Frame
(ADDR BIT = 1)
Receiver Wake Up
ignored idle times
Summary of Contents for MPC5644A
Page 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Page 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Page 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Page 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Page 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Page 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Page 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...