English
Language : 

PXN20RM Datasheet, PDF (1042/1376 Pages) Freescale Semiconductor, Inc – PXN20 Microcontroller
Enhanced Serial Communication Interface (eSCI)
Table 31-33. eSCI Interrupt Flags and Interrupt Enable Bits (continued)
Interrupt Source
Receiver
Receiver
Receiver
Receiver
Receiver
Receiver
Transmitter
Receiver
Receiver
Receiver
Receiver
Receiver
Receiver
Receiver
Transmitter, Receiver
Interrupt Flag
SCI
SCI, LIN
SCI, LIN
SCI
LIN
LIN
LIN
LIN
LIN
LIN
LIN
LIN
LIN
LIN
LIN
Interrupt Enable Interrupt Enable Bit
eSCI_IFSR1[OR]
eSCI_CR2[ORIE]
eSCI_IFSR1[NF]
eSCI_CR2[NFIE]
eSCI_IFSR1[FE]
eSCI_CR2[FEIE]
eSCI_IFSR1[PF]
eSCI_CR2[PFIE]
eSCI_IFSR1[BERR] eSCI_CR2[BERRIE]
eSCI_IFSR2[RXRDY] eSCI_LCR1[RXIE]
eSCI_IFSR2[TXRDY] eSCI_LCR1[TXIE]
eSCI_IFSR2[LWAKE] eSCI_LCR1[WUIE]
eSCI_IFSR2[STO] eSCI_LCR1[STIE]
eSCI_IFSR2[PBERR] eSCI_LCR1[PBIE]
eSCI_IFSR2[CERR] eSCI_LCR1[CIE]
eSCI_IFSR2[CKERR] eSCI_LCR1[CKIE]
eSCI_IFSR2[FRC] eSCI_LCR1[FCIE]
eSCI_IFSR2[UREQ] eSCI_LCR2[URIE]
eSCI_IFSR2[OVFL] eSCI_LCR2[OFIE]
31.4.7.2 Interrupt Request Generation
The eSCI module provides one hardware interrupt request signal to the systems interrupt controller. This
interrupt request signal is asserted if and only if at least one of the interrupt flags and the corresponding
interrupt enables are set to 1. Otherwise the interrupt line is deasserted.
31.5 Application Information
31.5.1 SCI Data Frames Separated by Preamble
To separate SCI data frame with preambles with minimum idle line time, use this sequence between
messages:
1. Write to the eSCI SCI Data Register (eSCI_SDR).
— This sets the internal iCMT bit, which requests the data transmission.
2. Wait until TDRE in the eSCI Interrupt Flag and Status Register 1 (eSCI_IFSR1) is set.
— This indicates the start of transmission; the iCMT bit was cleared.
3. Clear and subsequently set the TE bit in the eSCI Control Register 1 (eSCI_CR1).
— This set the internal iPRE bit, which requests the preamble transmission.
4. Write to the eSCI SCI Data Register (eSCI_SDR).
— This sets the internal iCMT bit, which requests the data transmission.
31-52
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor