Hitachi SH7750 series Hardware Manual page 566

Superh risc engine
Hide thumbs Also See for SH7750 series:
Table of Contents

Advertisement

In serial transmission, the SCI operates as described below.
1. The SCI monitors the TDRE flag in SCSSR1. When TDRE is cleared to 0, the SCI recognizes
that data has been written to SCTDR1, and transfers the data from SCTDR1 to SCTSR1.
2. After transferring data from SCTDR1 to SCTSR1, the SCI sets the TDRE flag to 1 and starts
transmission. If the TIE bit is set to 1 at this time, a transmit-data-empty interrupt (TXI)
request is generated.
When clock output mode has been set, the SCI outputs 8 serial clock pulses. When use of an
external clock has been specified, data is output synchronized with the input clock.
The serial transmit data is sent from the TxD pin starting with the LSB (bit 0) and ending with
the MSB (bit 7).
3. The SCI checks the TDRE flag at the timing for sending the MSB (bit 7).
If the TDRE flag is cleared to 0, data is transferred from SCTDR1 to SCTSR1, and serial
transmission of the next frame is started.
If the TDRE flag is set to 1, the TEND flag in SCSSR1 is set to 1, the MSB (bit 7) is sent, and
the TxD pin maintains its state.
If the TEIE bit in SCSCR1 is set to 1 at this time, a transmit-end interrupt (TEI) request is
generated.
4. After completion of serial transmission, the SCK pin is fixed high.
Figure 15.20 shows an example of SCI operation in transmission.
Transfer
direction
Serial clock
Serial data
TDRE
TEND
TXI interrupt
request
LSB
Bit 0
Bit 1
Data written to SCTDR1
and TDRE flag cleared to
0 in TXI interrupt handler
One frame
Figure 15.20 Example of SCI Transmit Operation
MSB
Bit 7
Bit 0
Bit 1
TXI interrupt
request
Rev. 4.0, 04/00, page 555 of 850
Bit 6
Bit 7
TEI interrupt
request

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7750sSh7750

Table of Contents