Enhanced Serial Communication Interface (eSCI)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
Freescale Semiconductor
20-33
20.4.6
Single-Wire Operation
Normally, the eSCI uses two pins for transmitting and receiving. In single-wire operation, the RXD pin is
disconnected from the eSCI. The eSCI uses the TXD pin for both receiving and transmitting.
Figure 20-21. Single-Wire Operation (LOOPS = 1, RSRC = 1)
Enable single-wire operation by setting the LOOPS bit and the receiver source bit, RSRC, in eSCI control
register 1 (ESCI
x
_CR1). Setting the LOOPS bit disables the path from the RXD
signal to the receiver.
Setting the RSRC bit connects the receiver input to the output of the TXD pin driver.
During reception, both the transmitter and receiver must be enabled (TE = 1 and RE = 1). The
SIU_PCR89[PA] and SIU_PCR91[PA] bits must be set to select the TXD function for the relevant eSCI
module, and the TXD pin should be set for open drain operation (SIU_PCR
nn
[ODE] = 1). Optionally, if
the external transmitting device is also open drain, a weak pullup can be enabled.
Refer to
Section 6.3.1.12, “Pad Configuration Registers (SIU_PCR)
”.
During transmission, the transmitter must be enabled (TE = 1); the receiver can be enabled or disabled. If
the receiver is enabled (RE = 1), transmissions are echoed back on the receiver. Set or clear open drain
output enable depending on desired operation.
20.4.7
Loop Operation
In loop operation the transmitter output goes to the receiver input. The RXD signal is disconnected from
the eSCI.
Figure 20-22. Loop Operation (LOOPS = 1, RSRC = 0)
Enable loop operation by setting the LOOPS bit and clearing the RSRC bit in eSCI control register 1
(ESCI
x
_CR1). Setting the LOOPS bit disables the path from the RXD
signal to the receiver. Clearing the
RSRC bit connects the transmitter output to the receiver input. Both the transmitter and receiver must be
enabled (TE = 1 and RE = 1).
Transmitter
Receiver
TXD
TXD input signal
TXD output signal
RXD
Transmitter
Receiver
TXD
TXD output signal
RXD
Содержание MPC5565
Страница 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Страница 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Страница 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Страница 325: ...Error Correction Status Module ECSM MPC5565 Microcontroller Reference Manual Rev 1 0 8 16 Freescale Semiconductor...
Страница 515: ...External Bus Interface EBI MPC5565 Microcontroller Reference Manual Rev 1 0 12 70 Freescale Semiconductor...
Страница 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Страница 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Страница 577: ...Boot Assist Module BAM MPC5565 Microcontroller Reference Manual Rev 1 0 15 18 Freescale Semiconductor...
Страница 895: ...Deserial Serial Peripheral Interface DSPI MPC5565 Microcontroller Reference Manual Rev 1 0 19 72 Freescale Semiconductor...
Страница 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Страница 1145: ...MPC5565 Register Map MPC5565 Microcontroller Reference Manual Rev 1 0 A 60 Freescale Semiconductor...
Страница 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...