Section 12 Serial Communication Interface (SCI)
Rev. 3.00 Mar. 14, 2006 Page 431 of 804
REJ09B0104-0300
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 12.23. Therefore, data
in the start character in the figure is H'3B. When using the direct convention type, write 0 to both
the SDIR and SINV bits in SCMR. Write 0 to the O/
E
bit in SMR in order to use even parity,
which is prescribed by the smart card standard.
Ds
A
Z
Z
A
A
A
Z
A
A
A
(Z)
(Z) state
D7
D6
D5
D4
D3
D2
D1
D0
Dp
Figure 12.24 Inverse Convention (SDIR = SINV = O/
E
= 1)
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 12.24. Therefore,
data in the start character in the figure is H'3F. 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 O/
E
bit in SMR to invert the parity bit in
both transmission and reception.
12.7.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 after the end of the parity bit
before the start of the next frame.
•
Since the same data is not re-transmitted during transmission, the TEND flag is set 11.5 etu
after transmission start.
•
Although the ERS flag in block transfer mode displays the error signal status as in normal
smart card interface mode, the flag is always read as 0 because no error signal is transferred.
electronic components distributor
Содержание H8SX series
Страница 2: ...Rev 3 00 Mar 14 2006 Page ii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 22: ...Rev 3 00 Mar 14 2006 Page xxii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 32: ...Rev 3 00 Mar 14 2006 Page xxxii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 38: ...Rev 3 00 Mar 14 2006 Page xxxviii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 845: ...Downloaded from Elcodis com electronic components distributor...
Страница 846: ...H8SX 1520 Group Hardware Manual Downloaded from Elcodis com electronic components distributor...