Rev. 6.0, 07/02, page 637 of 986
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.
The serial transmit data is sent from the TxD pin in the following order.
a. Start bit: One 0-bit is output.
b. Transmit data: 8-bit or 7-bit data is output in LSB-first order.
c. Multiprocessor bit: One multiprocessor bit (MPBT value) is output.
d. Stop bit(s): One or two 1-bits (stop bits) are output.
e. Mark state: 1 is output continuously until the start bit that starts the next transmission is
sent.
3. The SCI checks the TDRE flag at the timing for sending the stop bit. If the TDRE flag is set to
1, the TEND flag in SCSSR1 is set to 1, the stop bit is sent, and then the line goes to the mark
state in which 1 is output. If the TEIE bit in SCSCR1 is set to 1 at this time, a transmit-end
interrupt (TEI) request is generated.
4. The SCI monitors the TDRE flag. When TDRE is cleared to 0, the SCI recognizes that data
has been written to SCTDR1, and transfers the data from SCTDR1 to SCTSR1.
5. After transferring data from SCTDR1 to SCTSR1, the SCI sets the TDRE flag to 1 and starts
transmitting. If the transmit-data-empty interrupt enable bit (TIE bit) in SCSCR1 is set to 1 at
this time, a transmit-data-empty interrupt (TXI) request is generated.
The order of transmission is the same as in step 2.
Figure 15.14 shows an example of SCI operation for transmission using a multiprocessor format.
Содержание SH7750 series
Страница 106: ...Rev 6 0 07 02 page 56 of 986 ...
Страница 144: ...Rev 6 0 07 02 page 94 of 986 ...
Страница 242: ...Rev 6 0 07 02 page 192 of 986 ...
Страница 270: ...Rev 6 0 07 02 page 220 of 986 ...
Страница 360: ...Rev 6 0 07 02 page 310 of 986 ...
Страница 538: ...Rev 6 0 07 02 page 488 of 986 ...
Страница 706: ...Rev 6 0 07 02 page 656 of 986 ...
Страница 752: ...Rev 6 0 07 02 page 702 of 986 ...
Страница 780: ...Rev 6 0 07 02 page 730 of 986 ...
Страница 822: ...Rev 6 0 07 02 page 772 of 986 ...
Страница 986: ...Rev 6 0 07 02 page 936 of 986 ...
Страница 1030: ...Rev 6 0 07 02 page 980 of 986 ...
Страница 1036: ...Rev 6 0 07 02 page 986 of 986 ...