
Enhanced Serial Communication Interface (eSCI)
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
21-33
21.4.8.2
Disabling the eSCI
The module disable bit (ESCIx_CR2[MDIS]) in the eSCI control register 2 can be used to turn off the
eSCI. This saves power by stopping the eSCI core from being clocked. By default the eSCI is enabled
(ESCIx_CR2[MDIS]=0).
21.4.9
Interrupt Operation
Only the eSCI originates interrupt requests. The following sections describe how the eSCI generates a
request and how the MCU acknowledges that request. The eSCI only has a single interrupt line (eSCI
interrupt signal, active high operation) and all the following interrupts, when generated, are ORed together
and issued through that port.
21.4.9.1
Interrupt Sources
There are several interrupt sources that can generate an eSCI interrupt to the CPU. They are listed with
details and descriptions in
.
Table 21-21. eSCI Interrupt Flags, Sources, Mask Bits, and Descriptions
Interrupt
Source
Flag
Description
Source
Local
Enable
Transmitter
TDRE
Indicates that a byte was transferred from ESCIx_DR to the transmit
shift register. The transmit data register empty (TDRE) interrupt is set
high by the eSCI when the transmit shift register receives data, 8 or 9
bits, from the eSCI data register, ESCI
x
_DR. A TDRE interrupt
indicates that the transmit data register (ESCI
x
_DR) is empty and that
a new data can be written to the ESCI
x
_DR for transmission. The
TDRE bit is cleared by writing a one to the TDRE bit location in the
ESCI
x
_SR.
ESCI
x
_SR[0]
TIE
Transmitter
TC
Indicates that a transmit is complete. The transmit complete (TC)
interrupt is set by the eSCI when a transmission has completed. A TC
interrupt indicates that there is no transmission in progress. TC is set
high when the TDRE flag is set and no data, preamble, or break
character is being transmitted. When TC is set, the TXD pin becomes
idle (logic 1). The TC bit is cleared by writing a one to the TC bit
location in the ESCI
x
_SR.
ESCI
x
_SR[1]
TCIE
Receiver
RDRF
Indicates that received data is available in the eSCI data register. The
receive data register full (RDRF) interrupt is set when the data in the
receive shift register transfers to the eSCI data register. An RDRF
interrupt indicates that the received data has been transferred to the
eSCI data register and that the received data can now be read by the
MCU. The RDRF bit is cleared by writing a one to the RDRF bit
location in the ESCI
x
_SR.
ESCI
x
_SR[2]
RIE
Receiver
IDLE
Indicates that receiver input has become idle. The idle line (IDLE)
interrupt is set when 10 consecutive logic 1s (if M = 0) or 11
consecutive logic 1s (if M = 1) appear on the receiver input. After the
IDLE is cleared, a valid frame must again set the RDRF flag before an
idle condition can set the IDLE flag.
The IDLE bit is cleared by writing
a one to the IDLE bit location in the ESCI
x
_SR.
ESCI
x
_SR[3]
ILIE
Содержание MPC5566
Страница 12: ...MPC5566 Microcontroller Reference Manual Devices Supported MPC5566 MPC5566 RM Rev 2 0 23 Apr 2008...
Страница 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Страница 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Страница 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Страница 331: ...System Integration Unit SIU MPC5566 Microcontroller Reference Manual Rev 2 6 128 Freescale Semiconductor...
Страница 343: ...Crossbar Switch XBAR MPC5566 Microcontroller Reference Manual Rev 2 7 12 Freescale Semiconductor...
Страница 361: ...Error Correction Status Module ECSM MPC5566 Microcontroller Reference Manual Rev 2 8 18 Freescale Semiconductor...
Страница 455: ...Interrupt Controller INTC MPC5566 Microcontroller Reference Manual Rev 2 10 42 Freescale Semiconductor...
Страница 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Страница 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Страница 679: ...Boot Assist Module BAM MPC5566 Microcontroller Reference Manual Rev 2 16 20 Freescale Semiconductor...
Страница 997: ...Deserial Serial Peripheral Interface DSPI MPC5566 Microcontroller Reference Manual Rev 2 20 72 Freescale Semiconductor...
Страница 1037: ...Enhanced Serial Communication Interface eSCI MPC5566 Microcontroller Reference Manual Rev 2 21 40 Freescale Semiconductor...
Страница 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Страница 1081: ...Voltage Regulator Controller VRC and POR Module MPC5566 Microcontroller Reference Manual Rev 2 23 8 Freescale Semiconductor...
Страница 1093: ...IEEE 1149 1 Test Access Port Controller JTAGC MPC5566 Microcontroller Reference Manual Rev 2 24 12 Freescale Semiconductor...
Страница 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...
Страница 1267: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 10...
Страница 1268: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 11...