HD6413308 Hitachi Semiconductor, HD6413308 Datasheet - Page 210

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
* A frame is the data for one character, including the start bit and stop bit(s).
• Data Reception: The procedure for receiving data is as follows.
When a frame is not received correctly, a receive error occurs. There are three types of receive
errors, listed in Table 9-8.
The first byte of transmit data is transferred from the TDR to the TSR and sent in the designated
format as follows.
i) Start bit (one “0” bit).
ii) Transmit data (seven or eight bits, starting from bit 0)
iii) Parity bit (odd or even parity bit, or no parity bit)
iv) Stop bit (one or two consecutive “1” bits)
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.
When the transmit function is enabled but the TDR is empty (TDRE = “1”), the output at the
ATxD pin is held at “1” until the TDRE bit is cleared to “0.”
Set up the desired receiving conditions in the SMR, SCR, and BRR.
Set the RE bit in the SCR to “1.”
The ARxD pin is automatically be switched to input and the SCI is ready to receive data.
The SCI synchronizes with the incoming data by detecting the start bit, and places the received
bits in the RSR. At the end of the data, the SCI checks that the stop bit is “1.”
When a complete frame has been received, the SCI transfers the received data from the RSR to
the RDR so that it can be read. If the character length is 7 bits, the most significant bit of the
RDR is cleared to “0.”
At the same time, the SCI sets the RDRF bit in the SSR to “1.” If the RIE bit is set to “1,” a
receive-end interrupt (RxI) is requested.
The RDRF bit is cleared to “0” when software reads the SSR, then writes a “0” in the RDRF bit.
The RDR is then ready to receive the next character from the RSR.
197

Related parts for HD6413308