HD6413308 Hitachi Semiconductor, HD6413308 Datasheet - Page 215

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
If the last bit of the next byte is received while the RDRF bit is still set to “1,” an overrun error
occurs. The error is handled as described under “Data Reception” above. The overrun error does
not affect the transmit section of the SCI, which continues to transmit normally.
9.4 Interrupts
The SCI can request three types of interrupts: transmit-end (TxI), receive-end (RxI), and receive-
error (ERI). Interrupt requests are enabled or disabled by the TIE and RIE bits in the SCR.
Independent signals are sent to the interrupt controller for each type of interrupt. The transmit-end
and receive-end interrupt request signals are obtained from the TDRE and RDRF flags. The
receive-error interrupt request signal is the logical OR of the three error flags: overrun error
(ORER), framing error (FER), and parity error (PER). Table 9-9 lists information about these
interrupts.
Data transmitting and receiving start when the TDRE bit in the SSR is cleared to “0.”
Data are sent and received in synchronization with eight clock pulses.
First, the transmit data are transferred from the TDR to the TSR. This 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.
If continuous data transmission is desired, software must read the TDRE bit in the SSR, write
the next transmit data in the TDR, then clear the TDRE bit to “0.”
If the TDRE bit is not cleared to “0” by the time the SCI finishes sending the current byte from
the TSR, the CTxD pin continues to output the value of last bit of the previous data.
In the receiving section, when 8 bits of data have been received they are transferred from the
RSR to the RDR and the RDRF bit in the SSR is set to “1.” If the RIE bit is set to “1,” a
receive-end interrupt (RxI) is requested.
To clear the RDRF bit software should read the RDRF bit in the SSR, read the data in the RDR,
then write a “0” in the RDRF bit.
For continuous data reception, software should read the RDRF bit in the SSR, read the data in
the RDR, then clear the RDRF bit to “0.”
202

Related parts for HD6413308