Operation In Smart Card Interface Mode; Pin Connection Example; Data Format (Except For Block Transfer Mode) - Hitachi H8S/2378, H8S/2378R Series Hardware Manual

16 bit single-chip microcomputer
Table of Contents

Advertisement

15.7

Operation in Smart Card Interface Mode

The SCI supports an IC card (Smart Card) interface conforming to ISO/IEC 7816-3 (Identification
Card) as a serial communication interface extension function. Switching between the normal
serial communication interface and the Smart Card interface is carried out by means of a register
setting.
15.7.1

Pin Connection Example

Figure 15.21 shows an example of connection with the Smart Card. In communication with an IC
card, since both transmission and reception are carried out on a single data transmission line, the
TxD pin and RxD pin should be connected with the LSI pin. The data transmission line should be
pulled up to the V
power supply with a resistor. If an IC card is not connected, and the TE and
CC
RE bits are both set to 1, closed transmission/reception is possible, enabling self-diagnosis to be
carried out. When the clock generated on the SCI is used by an IC card, the SCK pin output is
input to the CLK pin of the IC card. This LSI port output is used as the reset signal.
Connected equipment
Figure 15.21 Schematic Diagram of Smart Card Interface Pin Connections
15.7.2

Data Format (Except for Block Transfer Mode)

Figure 15.22 shows the transfer data format in Smart Card interface mode.
• One frame consists of 8-bit data plus a parity bit in asynchronous mode.
• In transmission, a guard time of at least 2 etu (Elementary Time Unit: the time for transfer of
one bit) is left between the end of the parity bit and the start of the next frame.
• If a parity error is detected during reception, a low error signal level is output for one etu
period, 10.5 etu after the start bit.
• If an error signal is sampled during transmission, the same data is retransmitted automatically
after the elapse of 2 etu or longer.
TxD
RxD
SCK
Rx (port)
This LSI
V
CC
I/O
Data line
CLK
Clock line
RST
Reset line
Rev. 1.0, 09/01, page 685 of 904
IC card

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents