HD6417320 RENESAS [Renesas Technology Corp], HD6417320 Datasheet - Page 1071

no-image

HD6417320

Manufacturer Part Number
HD6417320
Description
Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Table 30.2 Register Settings for Smart Card Interface
• Serial mode register (SCSMR) setting
• Bit rate register (SCBRR) setting
• Serial control register (SCSCR) settings
• Smart card mode register (SCSCMR) settings
Register
SCSMR
SCBRR
SCSCR
SCTDR
SCSSR
SCRDR
SCSCMR
SCSC2R
SCWAIT
SCGRD
SCSMPL
When the IC card is set for the direct convention, the O/E bit is cleared to 0; for the inverse
convention, it is set to 1.
Sets the bit rate. For the method of computing settings, refer to section 30.4.4, Clocks.
Each interrupt can be enabled and disabled using the TIE, RIE, TEIE, and WAIT_IE bits.
By setting either the TE or RE bit to 1, transmission or reception is selected.
The CKE1 and CKE0 bits are used to select the clock output state. For details, refer to section
30.4.4, Clocks.
When the IC card is set for the direct convention, both the SDIR and SINV bits are cleared to
0; for the inverse convention, both are set to 1. The SMIF bit is always set to 1.
Figure 30.3 below shows the register settings and waveform examples at the start character for
two types of IC cards (a direct-convention type and an inverse-convention type).
For the direct-convention type, the logical level 1 is assigned to the Z state, and the logical
level 0 to the A state, and transmission and reception are performed in LSB-first. The data of
the above start character is then H'3B. Even parity is used according to the smart card
specification, and so the parity bit is 1.
0
SCTD7 SCTD6
SCRD7 SCRD6 SCRD5
EIO
Bit 7
0
TIE
TDRE
0
0
Bit 6
0
0
RIE
RDRF
LCB
SCSMPL10 to SCSMPL0, bits 11 to 15 are 0
Bit 5
PE
0
TE
SCTD5
ORER
PB
0
SCWAIT15 to SCWAIT0
Bit 4
O/E
0
RE
SCTD4 SCTD3
ERS
SCRD4 SCRD3
0
0
SCGRD7 to SCGRD0
Bit 3
0
0
WAIT_IE
PER
SDIR
0
Bit
Rev. 3.00 Jan. 18, 2008 Page 1009 of 1458
Section 30
Bit 2
0
BRR2
TEIE
SCTD2
TEND
SCRD2
SINV
0
Bit 1
0
BRR1
CKE1
SCTD1
WAIT_ER
SCRD1
RST
0
SIM Card Module (SIM)
REJ09B0033-0300
Bit 0
0
BRR0
CKE0
SCTD0
0
SCRD0
1
0

Related parts for HD6417320