Rainbow Electronics W90P710CDG User Manual

Page 448

Advertising
background image

W90P710CD/W90P710CDG

- 448 -

Continued

BITS

DESCRIPTIONS

[5:3]

PEC2, PEC1,
PEC0

Parity Error Count.
Bits PEC2, PEC1 and PEC0 determine the number of allowed
repetitions in reception or in transmission before setting bit PBER in
SCSR.
The value 000 indicates that, if only one parity error has occurred, bit PE
is set; the value 111 indicate that bit PE will be set after 8 parity errors.
In protocol T =0:
If a correct character is received before the programmed error number is
reached, the error counter will be reset
If the programmed number of allowed parity errors is reached, bit PBER
in register SCSR will be set as long as register SCSR has not been
read.
If a transmitted character has been NAK by the card, then our smart
card host interface will automatically re-transmit it a number of times
equal to the value programmed in bits PEC2, PEC1 and PEC0 by
generating interrupt to inform CPU to flush the transmit buffer.
In transmission mode, if bits PEC2, PEC1 and PEC0 are logic 0, then
the automatic re-transmission is invalided. The retransmitted character
will start after the gardtime. So if you set guardtime =2 and the card pull
2 etu low, then there will be no guardtime. Set guardtime =3 when T=0
in case of 2 etu pull down NAK by card.
In protocol T= 1:
The error counter has no action; bit PE is set at the first incorrectly
received character.

[2]

TxFRST

Transmitter FIFO Reset control bit.
Setting this bit to a logical "1" resets the transmitter FIFO counter to
initial state. This bit is self-cleared to "0" after being set to "1". Default
is "0".

[1]

RxFRST

Receiver FIFO Reset control bit.
Setting this bit to a logical "1" resets the receiver FIFO counter to initial
state. This bit is self-cleared to "0" after being set to "1". Default is "0".

[0]

RESERVED -

Smart Card Control Register (SCHI_SCCR)

REGISTER

ADDRESS

R/W

DESCRIPTION

RESET VALUE

SCHI_SCCR0

0xFFF8_500C

R/W

Smart Card Control Register 0

0x0000_0018

SCHI_SCCR1 0xFFF8_580C R/W

Smart

Card Control Register 1

0x0000_0018

Advertising