Enhanced Serial Communication Interface (eSCI)
Freescale Semiconductor
26-51
PXR40 Microcontroller Reference Manual, Rev. 1
26.4.6.6.1
LIN Wakeup Generation
The eSCI module can cause the LIN bus to exit the sleep mode by sending a break character. The
application triggers the transmission of a break character by writing 1 to the LIN bus wakeup trigger WU
in the
LIN Control Register 1 (eSCI_LCR1)
. After the end of transmission of this break character the
transmitter will neither set the TXRDY flag in the
Interrupt Flag and Status Register 2 (eSCI_IFSR2)
start the transmission of frame data until the wakeup delimiter period has been expired. The wakeup
delimiter period is defined by the WUD field in the
LIN Control Register 1 (eSCI_LCR1)
To generate a valid wakeup character according to LIN 2.0, the eSCI first needs to be programmed to a
baud rate lower than 32 kBaud, then WU can be set. Should the application require a higher baud rate, then
this rate can be set once the wakeup character has been transmitted.
26.4.6.6.2
LIN Wakeup Reception
If the eSCI receives a valid wakeup condition on the selected receiver input the LIN wakeup flag LWAKE
in the
Interrupt Flag and Status Register 2 (eSCI_IFSR2)
will be set. Since each valid wakeup condition
violates the byte field structure the frame error flag FE in the
Interrupt Flag and Status Register 1
The eSCI detects the following conditions as valid wakeup conditions:
•
Reception of a break signal
•
Reception of a LIN 1.x wakeup character (80h, 00h or C0h)
•
Reception of a LIN 2.0 wakeup character (low pulse of 250 ms to 5 ms).
To detect LIN 2.0 wakeup characters, the baud rate must to be set to 32k down to 1.6k baud.
26.4.6.7
LIN Protocol Engine Reset
The LIN protocol engine is reset when the LRES bit in the
LIN Control Register 1 (eSCI_LCR1)
to 1. In this case, the LIN protocol engine will no longer initiates new transmissions or receptions.
However, ongoing byte transmission or reception is not aborted.
In order to start the LIN Protocol Engine with idle transmitter and receiver processes, the LRES bit should
be asserted for the duration of at least one bit.
26.4.7
Interrupts
This section describes the interrupt sources and interrupt request generation.
26.4.7.1
Interrupt Flags and Enables
All interrupt sources, interrupt flags, and interrupt enable bits are listed in
. This table indicates
the operational modes, where the interrupt flags can be set by the eSCI module.
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...