Figure 14.22 Normal Smart Card Interface Data Format; Figure 14.23 Direct Convention (Sdir = Sinv = O/E = 0); Figure 14.24 Inverse Convention (Sdir = Sinv = O/E = 1) - Renesas H8S/2368 Series Hardware Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

When there is no parity error
Ds
When a parity error occurs
Ds
Legend
: Start bit
Ds
: Data bits
D0 to D7
: Parity bit
Dp
: Error signal
DE

Figure 14.22 Normal Smart Card Interface Data Format

Data transfer with the types of IC cards (direct convention and inverse convention) are performed
as described in the following.
(Z)
Figure 14.23 Direct Convention (SDIR = SINV = O/E E E E = 0)
As in the above sample start character, with the direct convention type, the logic 1 level
corresponds to state Z and the logic 0 level to state A, and transfer is performed in LSB-first order.
The start character data above is H'3B. For the direct convention type, clear the SDIR and SINV
bits in SCMR to 0. According to the Smart Card regulations, clear the O/E bit in SMR to 0 to
select even parity mode.
(Z)
Figure 14.24 Inverse Convention (SDIR = SINV = O/E E E E = 1)
With the inverse convention type, the logic 1 level corresponds to state A and the logic 0 level to
state Z, and transfer is performed in MSB-first order. The start character data above is H'3F. For
the inverse convention type, set the SDIR and SINV bits in SCMR to 1. According to the Smart
Card regulations, even parity mode is the logic 0 level of the parity bit, and corresponds to state Z.
Rev. 2.00, 05/03, page 568 of 820
D0
D1
D2
D3
Transmitting station output
D0
D1
D2
D3
Transmitting station output
A
Z
Z
A
Z
Ds
D0
D1
D2
D3
A
Z
Z
A
A
Ds
D7
D6
D5
D4
D4
D5
D6
D7
D4
D5
D6
D7
Z
Z
A
A
Z
D4
D5
D6
D7
Dp
A
A
A
A
Z
D3
D2
D1
D0
Dp
Dp
Dp
DE
Receiving station
output
(Z)
State
(Z)
State

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s seriesH8s/2300 series

Table of Contents