Section 30 SIM Card Module (SIM)
Rev. 1.00 Oct. 01, 2007 Page 1268 of 1956
REJ09B0256-0100
Table 30.4 Register Settings for Smart Card Interface
Bit
Register
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
SCSMR 0 0 PE O/
E
0
0
0
0
SCBRR 0 0 0 0 0
BRR2
BRR1 BRR0
SCSCR
TIE
RIE
TE
RE
WAIT_IE TEIE
CKE1
CKE0
SCTDR SCTD7
SCTD6
SCTD5
SCTD4
SCTD3
SCTD2
SCTD1
SCTD0
SCSSR TDRE
RDRF
ORER
ERS
PER TEND
WAIT_ER
0
SCRDR SCRD7
SCRD6
SCRD5
SCRD4
SCRD3
SCRD2
SCRD1
SCRD0
SCSCMR 0
LCB PB 0
SDIR SINV RST
1
SCSC2R EIO 0
0
0
0
0
0
0
SCWAIT
SCWAIT15 to SCWAIT0
SCGRD
SCGRD7 to SCGRD0
SCSMPL
SCSMPL10 to SCSMPL0, bits 11 to 15 are 0
•
Serial mode register (SCSMR) setting
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.
•
Bit rate register (SCBRR) setting
Sets the bit rate. For the method of computing settings, refer to section 30.4.4, Clocks.
•
Serial control register (SCSCR) settings
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 CKE[1] and CKE[0] bits are used to select the clock output state. For details, refer to
section 30.4.4, Clocks.
•
Smart card mode register (SCSCMR) settings
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.
Summary of Contents for SH7763
Page 2: ...Rev 1 00 Oct 01 2007 Page ii of lxvi ...
Page 122: ...Section 2 Programming Model Rev 1 00 Oct 01 2007 Page 56 of 1956 REJ09B0256 0100 ...
Page 144: ...Section 3 Instruction Set Rev 1 00 Oct 01 2007 Page 78 of 1956 REJ09B0256 0100 ...
Page 170: ...Section 4 Pipelining Rev 1 00 Oct 01 2007 Page 104 of 1956 REJ09B0256 0100 ...
Page 282: ...Section 7 Caches Rev 1 00 Oct 01 2007 Page 216 of 1956 REJ09B0256 0100 ...
Page 378: ...Section 9 Interrupt Controller INTC Rev 1 00 Oct 01 2007 Page 312 of 1956 REJ09B0256 0100 ...
Page 514: ...Section 12 DDR SDRAM Interface DDRIF Rev 1 00 Oct 01 2007 Page 448 of 1956 REJ09B0256 0100 ...
Page 630: ...Section 13 PCI Controller PCIC Rev 1 00 Oct 01 2007 Page 564 of 1956 REJ09B0256 0100 ...
Page 710: ...Section 16 Clock Pulse Generator CPG Rev 1 00 Oct 01 2007 Page 644 of 1956 REJ09B0256 0100 ...
Page 732: ...Section 17 Watchdog Timer and Reset WDT Rev 1 00 Oct 01 2007 Page 666 of 1956 REJ09B0256 0100 ...
Page 752: ...Section 18 Power Down Mode Rev 1 00 Oct 01 2007 Page 686 of 1956 REJ09B0256 0100 ...
Page 772: ...Section 19 Timer Unit TMU Rev 1 00 Oct 01 2007 Page 706 of 1956 REJ09B0256 0100 ...
Page 824: ...Section 21 Compare Match Timer CMT Rev 1 00 Oct 01 2007 Page 758 of 1956 REJ09B0256 0100 ...
Page 1124: ...Section 26 I 2 C Bus Interface IIC Rev 1 00 Oct 01 2007 Page 1058 of 1956 REJ09B0256 0100 ...
Page 1350: ...Section 30 SIM Card Module SIM Rev 1 00 Oct 01 2007 Page 1284 of 1956 REJ09B0256 0100 ...
Page 1484: ...Section 33 Audio Codec Interface HAC Rev 1 00 Oct 01 2007 Page 1418 of 1956 REJ09B0256 0100 ...
Page 1560: ...Section 35 USB Host Controller USBH Rev 1 00 Oct 01 2007 Page 1494 of 1956 REJ09B0256 0100 ...
Page 1720: ...Section 37 LCD Controller LCDC Rev 1 00 Oct 01 2007 Page 1654 of 1956 REJ09B0256 0100 ...
Page 2025: ......
Page 2026: ...SH7763 Hardware Manual ...