HD6413308 Hitachi Semiconductor, HD6413308 Datasheet - Page 213

no-image

HD6413308

Manufacturer Part Number
HD6413308
Description
Hitachi Single-Chip MicroComputer
Manufacturer
Hitachi Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6413308CP10
Manufacturer:
RENESAS
Quantity:
776
Part Number:
HD6413308CP10
Manufacturer:
HITACAI
Quantity:
20 000
Part Number:
HD6413308CP10V
Manufacturer:
RENESAS
Quantity:
776
Part Number:
HD6413308RCP10
Manufacturer:
HITACHI/日立
Quantity:
20 000
Part Number:
HD6413308RF8
Manufacturer:
NEC
Quantity:
2 468
Part Number:
HD6413308RF8
Manufacturer:
HITACHI/日立
Quantity:
20 000
When clearing the TDRE bit during data transmission, to assure correct data transfer, do not clear
the TDRE bit until after writing data in the TDR. Similarly, in receiving data, do not clear the
RDRF bit until after reading data from the RDR.
• Data Transmission: The procedure for transmitting data is as follows.
The TDR and TSR function as a double buffer. Continuous data transmission can be achieved by
writing the next transmit data in the TDR and clearing the TDRE bit to “0” while the SCI is
transmitting the current data from the TSR.
If an internal clock source is selected, after transferring the transmit data from the TDR to the TSR,
while transmitting the data from the TSR the SCI also outputs a serial clock signal at the CSCK
pin. When all data bits in the TSR have been transmitted, if the TDR is empty (TDRE = “1”),
serial clock output is suspended until the next data byte is written in the TDR and the TDRE bit is
cleared to “0.” During this interval the CTxD pin continues to output the value of the last bit of the
previous data.
If the external clock source is selected, data transmission is synchronized with the clock signal
input at the CSCK pin. When all data bits in the TSR have been transmitted, if the TDR is empty
(TDRE = “1”) but external clock pulses continue to arrive, the CTxD pin outputs the value of last
bit of the previous data.
• Data Reception: The procedure for receiving data is as follows.
Set up the desired transmitting conditions in the SMR, BRR, and SCR.
Set the TE bit in the SCR to “1.”
The CTxD pin will automatically be switched to output, after which the SCI is ready to transmit
data.
Check that the TDRE bit is set to “1,” then write the first byte of transmit data in the TDR.
Next clear the TDRE bit to “0.”
The first byte of transmit data is transferred from the TDR to the TSR and sent, each bit
synchronized with a clock pulse. Bit 0 is sent first.
Transfer of the transmit data from the TDR to the TSR makes the TDR empty, so the TDRE bit
is set to “1.” If the TIE bit is set to “1,” a transmit-end interrupt (TxI) is requested.
200

Related parts for HD6413308