Datasheet
Section 15 Serial Communication Interface (SCI, IrDA)
Page 940 of 1408 R01UH0309EJ0500 Rev. 5.00
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
15.9.2 Interrupts in Smart Card Interface Mode
Table 15.14 shows the interrupt sources in Smart Card interface mode. The transmit end interrupt
(TEI) request cannot be used in this mode.
Table 15.14 Interrupt Sources
Channel Name Interrupt Source Interrupt Flag
DTC
Activation
DMAC
Activation Priority
ERI0 Receive Error, detection ORER, PER, ERS Not possible Not possible High
RXI0 Receive Data Full RDRF Possible Possible
0
TXI0 Transmit Data Empty TEND Possible Possible
ERI1 Receive Error, detection ORER, PER, ERS Not possible Not possible
RXI1 Receive Data Full RDRF Possible Possible
1
TXI1 Transmit Data Empty TEND Possible Possible
ERI2 Receive Error, detection ORER, PER, ERS Not possible Not possible
RXI2 Receive Data Full RDRF Possible Not possible
2
TXI2 Transmit Data Empty TEND Possible Not possible
ERI3 Receive Error, detection ORER, PER, ERS Not possible Not possible
RXI3 Receive Data Full RDRF Possible Not possible
3
TXI3 Transmit Data Empty TEND Possible Not possible
ERI4 Receive Error, detection ORER, PER, ERS Not possible Not possible
RXI4 Receive Data Full RDRF Possible Not possible
4
TXI4 Transmit Data Empty TEND Possible Not possible Low
In Smart Card interface mode, as in normal serial communication interface mode, transfer can be
carried out using the DTC or DMAC. In transmit operations, the TDRE flag is also set to 1 at the
same time as the TEND flag in SSR, and a TXI interrupt is generated. If the TXI request is
designated beforehand as a DTC or DMAC activation source, the DTC or DMAC will be
activated by the TXI request, and transfer of the transmit data will be carried out. The TDRE and
TEND flags are automatically cleared to 0 when data transfer is performed by the DTC or DMAC.
In the event of an error, the SCI retransmits the same data automatically. During this period, the
TEND flag remains cleared to 0 and the DTC or DMAC is not activated. Therefore, the SCI and
DTC or DMAC will automatically transmit the specified number of bytes in the event of an error,
including retransmission. However, the ERS flag is not cleared automatically when an error
occurs, and so the RIE bit should be set to 1 beforehand so that an ERI request will be generated in
the event of an error, and the ERS flag will be cleared.