Enhanced Serial Communication Interface (ESCI)MPC5644A Microcontroller Reference Manual, Rev. 6Freescale Semiconductor 137731.4.6 LIN modeThe eSCI provides support for the LIN protocol. It can be used to automate most tasks of a LIN master. Inconjunction with the DMA interface it is possible to transmit entire LIN frames and sequences of LINframes as well as to receive data from LIN slaves without application intervention. There is no specialsupport for LIN slave mode.31.4.6.1 LIN mode configurationThe application must configure the following bits and fields in order to achieve correct LIN operation. Theconfiguration of bits and fields not mentioned in this section depend on the connected LIN slaves and thecurrent application.• enable LIN Mode– LIN Control Register 1 (eSCI_LCR1)[LIN]:= 1• select RXD pin as receiver input– Control register 1 (eSCI_CR1)[LOOPS]:= 0– Control register 1 (eSCI_CR1)[RSRC]:= 0• select LIN byte fields as used frame format– Control register 1 (eSCI_CR1)[M]:= 0– Control register 1 (eSCI_CR1)[PE]:= 0– Control register 1 (eSCI_CR1)[WAKE]:= 0– Control register 3 (eSCI_CR3)[M2]:= 0• select break character length of 13 bit as required by LIN 2.0– Control register 2 (eSCI_CR2)[BRCL]:= 1• select transmission stop on bit error detection– Control register 2 (eSCI_CR2)[BESTP]:= 1• select transmission DMA stop on bit error detection– Control register 2 (eSCI_CR2)[BSTP]:= 1• enable both transmitter and receiver– Control register 1 (eSCI_CR1)[TE]:= 1– Control register 1 (eSCI_CR1)[RE]:= 1Frame Block Frame BlockReceiver Wake UpAddress Frame(ADDR BIT = 1)Address Frame(ADDR BIT = 1)Receiver Wake Upignored idle times