NO:
W90P710 Programming Guide
VERSION:
2.0
PAGE:
193
The above information is the exclusive intellectual property of Winbond Electronics and shall not be disclosed, distributed or reproduced without permission
from Winbond.
Table No.: 2005-W90P710-11-A
SCHI_TOC1
0xFFF8.5828
R/W Time out Configuration Register
0x0000.0000
SCHI_TOIR0_1 0xFFF8.582C
R/W Time out Initial Register 0
0x0000.0000
SCHI_TOIR1_1 0xFFF8.5830
R/W Time out Initial Register 1
0x0000.0000
SCHI_TOIR2_1 0xFFF8.5834
R/W Time out Initial Register 2
0x0000.0000
SCHI_TOD0_1 0xFFF8.5838
R
Time out Data Register 0
0x0000.00FF
SCHI_TOD1_1 0xFFF8.583C
R
Time out Data Register 1
0x0000.00FF
SCHI_TOD2_1 0xFFF8.5840
R
Time out Data Register 2
0x0000.00FF
SCHI_BTOR1 0xFFF8.5844
R/W Buffer Time out Data Register
0x0000.0000
SCHI_BLL1
0xFFF8.5800 BDLAB =1
R/W
Baud Rate Divisor Latch Lower Byte
Register
0x0000.001F
SCHI_BLH1
0xFFF8.5804 BDLAB =1
R/W
Baud Rate Divisor Latch Higher Byte
Register
0x0000.0000
SCHI_ID1
0xFFF8.5808 BDLAB =1
R
Smart Card ID Number Register
0x0000.0070
16.3 Functional Description
Please refer to ISO/IEC 7816-3 for detailed smart card transmission protocol.
16.3.1 Initialization
Sequence
User needs to program control registers so that ATR (Answer To Reset) data streams can be
properly decoded after card insertion. Initialization settings include the following steps where sequential
order is irrelevant.
1. Register
SCHI_BLH
,
SCHI_BLL
and
SCHI_CBR
are written with 00h, 1Fh and 0Ch
respectively to comply with default transmission factors Fd and Dd which are 372 and 1 as
specified in ISO/IEC 7816-3.
2. Register
SCHI_SCFR
is programmed with 01h for one stop bit.
3. Set register
SCHI_SCFR
bit 1 to reset receiver FIFO.
4. Configure
SCKFS[2~0]
of register
SCHI_ECR
to 3’b101 to select 2.5 MHz for SCCLK on 80
MHz system clock.
5. Clear bit
PWRDN
of register
SCHI_IER.
6. Set
SC_REST
of register
SCHI_SCSR
after 40000 clock cycles.
7. Process ATR.