Enhanced Serial Communication Interface (eSCI)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
20-34
Freescale Semiconductor
20.4.8
Modes of Operation
20.4.8.1
Run Mode
Run mode is the normal operating mode.
20.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).
20.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.
20.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 20-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
Summary of Contents for MPC5565
Page 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Page 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Page 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Page 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Page 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Page 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Page 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...