HD6433935 Hitachi, HD6433935 Datasheet - Page 309

no-image

HD6433935

Manufacturer Part Number
HD6433935
Description
8-Bit MICROCONTROLLER
Manufacturer
Hitachi
Datasheet
SCI3 operates as follows when transmitting data.
SCI3 monitors bit TDRE in SSR, and when it is cleared to 0, recognizes that data has been written
to TDR and transfers data from TDR to TSR. It then sets bit TDRE to 1 and starts transmitting. If
bit TIE in SCR3 is set to 1 at this time, a TXI request is made.
When clock output mode is selected, SCI3 outputs 8 serial clock pulses. When an external clock
is selected, data is output in synchronization with the input clock.
Serial data is transmitted from the TXD3x pin in order from the LSB (bit 0) to the MSB (bit 7).
When the MSB (bit 7) is sent, checks bit TDRE. If bit TDRE is cleared to 0, SCI3 transfers data
from TDR to TSR, and starts transmission of the next frame. If bit TDRE is set to 1, SCI3 sets bit
TEND to 1 in SSR, and after sending the MSB (bit 7), retains the MSB state. If bit TEIE in SCR3
is set to 1 at this time, a TEI request is made.
After transmission ends, the SCK pin is fixed at the high level.
Note: Transmission is not possible if an error flag (OER, FER, or PER) that indicates the data
Figure 10-14 shows an example of the operation when transmitting in synchronous mode.
TDRE
TEND
LSI
operation
User
processing
Serial
clock
Serial
data
Figure 10-14 Example of Operation when Transmitting in Synchronous Mode
reception status is set to 1. Check that these error flags are all cleared to 0 before a
transmit operation.
TXI request
Bit 0
Bit 1
TDRE cleared
to 0
Data written
to TDR
1 frame
TXI request
Bit 7
Bit 0
Bit 1
1 frame
Bit 6
TEI request
Bit 7
297

Related parts for HD6433935