RX610 Group
20. Serial Communications Interface (SCI)
R01UH0032EJ0120 Rev.1.20
Page 662 of 1006
Feb 20, 2013
For communications with IC cards of the direct convention type and inverse convention type, follow the procedure
below.
(1) Direct Convention Type
For the direct convention type, logic levels 1 and 0 correspond to states Z and A, respectively, and data is transferred
with LSB-first as the start character, as shown in figure 20.22. Therefore, data in the start character in the figure is 3Bh.
When using the direct convention type, write 0 to both the SDIR and SINV bits in SCMR. Write 0 to the PM bit in SMR
in order to use even parity, which is prescribed by the smart card standard.
Ds
A
Z
Z
A
Z
Z
Z
Z
A
A
(Z)
(Z) state
D0
D1 D2
D3
D4
D5
D6
D7 Dp
Figure 20.22 Direct Convention (SDIR in SCMR = 0, SINV in SCMR =0, PM in SMR = 0)
(2) Inverse Convention Type
For the inverse convention type, logic levels 1 and 0 correspond to states A and Z, respectively and data is transferred
with MSB-first as the start character, as shown in figure 20.23. Therefore, data in the start character in the figure is 3Fh.
When using the inverse convention type, write 1 to both the SDIR and SINV bits in SCMR. The parity bit is logic level 0
to produce even parity, which is prescribed by the smart card standard, and corresponds to state Z. Since the SNIV bit of
this LSI only inverts data bits D7 to D0, write 1 to the PM bit in SMR to invert the parity bit for both transmission and
reception.
Ds
A
Z
Z
A
A
A
Z
A
A
A
D7
D6
D5
D4 D3
D2
D1
D0
Dp
(Z)
(Z) state
Figure 20.23 Inverse Convention (SDIR in SCMR = 1, SINV in SCMR =1, PM in SMR = 1)
20.5.3
Block Transfer Mode
Block transfer mode is different from normal smart card interface mode in the following respects.
•
Even if a parity error is detected during reception, no error signal is output. Since the PER bit in SSR is set by error
detection, clear the PER bit before receiving the parity bit of the next frame.
•
During transmission, at least 1 etu is secured as a guard time from the end of the parity bit until the start of the next
frame.
•
Since the same data is not re-transmitted during transmission, the SSR.TEND flag is set 11.5 etu after transmission
start.
•
In block transfer mode, the ERS flag in SSR indicates the error signal status as in normal smart card interface mode,
but the flag is always read as 0 because no error signal is transferred.
Summary of Contents for RX600 Series
Page 1006: ...RX610 Group R01UH0032EJ0120 ...