MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
1257
Preliminary—Subject to Change Without Notice
27.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 (LINCTRL1)
[LIN]:= 1
•
select
RXD
pin as receiver input
–
SCI Control Register 1 (SCICR1)
–
SCI Control Register 1 (SCICR1)
•
select
LIN byte fields
as used frame format
–
SCI Control Register 1 (SCICR1)
–
SCI Control Register 1 (SCICR1)
[PE]:= 0
–
SCI Control Register 1 (SCICR1)
[WAKE]:= 0
–
SCI Control Register 5 (SCICR5)
•
select
break character length
of 13 bit as required by LIN 2.0
–
SCI Control Register 3 (SCICR3)
•
select both transmitter and receiver
reset on bit error
detection
–
LIN Control Register 1 (LINCTRL1)
[LDBG]:= 0
•
select transmission stop on
bit error
detection
–
SCI Control Register 4 (SCICR4)
•
select transmission DMA stop on
bit error
detection
–
SCI Control Register 3 (SCICR3)
•
enable both
transmitter
and
receiver
–
SCI Control Register 2 (SCICR2)
[TE]:= 1
–
SCI Control Register 2 (SCICR2)
[RE]:= 1
27.4.6.2
LIN frame formats
The term LIN frame refers to a sequence of LIN byte fields preceded by a break character, both are
described in
Section 27.4.2, “Frame Formats
The eSCI module allows to generate LIN frames for LIN
slaves of LIN standards 1.3 and 2.0.
27.4.6.2.1
Standard LIN frames
A standard LIN frame, shown in
consists of a break character, a sync field, an ID field, zero
or more data fields, and a checksum field. The data fields and the checksum field are generated by the LIN
master for TX LIN frames and generated by the LIN slave for RX LIN frames. The header fields will
always be generated by the LIN master.
Содержание MPC5632M
Страница 22: ...MPC563XM Reference Manual Rev 1 22 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 62: ...MPC563XM Reference Manual Rev 1 62 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 92: ...MPC563XM Reference Manual Rev 1 92 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 168: ...MPC563XM Reference Manual Rev 1 168 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 242: ...MPC563XM Reference Manual Rev 1 242 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 302: ...MPC563XM Reference Manual Rev 1 302 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 410: ...MPC563XM Reference Manual Rev 1 410 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 440: ...MPC563XM Reference Manual Rev 1 440 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 464: ...MPC563XM Reference Manual Rev 1 464 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 554: ...MPC563XM Reference Manual Rev 1 554 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 590: ...MPC563XM Reference Manual Rev 1 590 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 622: ...MPC563XM Reference Manual Rev 1 622 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 716: ...MPC563XM Reference Manual Rev 1 716 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1114: ...MPC563XM Reference Manual Rev 1 1114 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1144: ...MPC563XM Reference Manual Rev 1 1144 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1266: ...MPC563XM Reference Manual Rev 1 1266 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1316: ...MPC563XM Reference Manual Rev 1 1316 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1348: ...MPC563XM Reference Manual Rev 1 1348 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1362: ...MPC563XM Reference Manual Rev 1 1362 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1382: ...MPC563XM Reference Manual Rev 1 1382 Freescale Semiconductor Preliminary Subject to Change Without Notice ...