At83c26 – Rainbow Electronics AT83C26 User Manual

Page 47

Advertising
background image

47

7511B–SCR–10/05

AT83C26

Reset value = 0x00001000

Notes:

1. When CKS2 value is changed a special logic insures no glitch occurs on the CCLK2 pin and

actual configuration changes can be delayed by half a period to two periods of CCLK2.

2. CCLK2 must be stopped with CKSTOP2 bit before switching from CKS2 = (0, 1, 2, 3, 6, 7) to

CKS2 = (4, 5) or vice versa.

Table 26. SC2_CFG2 ()

7

6

5

4

3

2

1

0

ART2

CRST_SEL2

CARDRST2

CARDCK2

CKSTOP2

CKS22

CKS21

CKS20

Bit Number

Bit Mnemonic

Description

7

ART2

Automatic Reset Transition

Set this bit to have the CRST2 pin changed according to activation sequence.

Clear this bit to have the CRST2 pin immediately following the value programmed in CARDRST2.

6

CRST_SEL2

Card Reset Selection

Set this bit to have the CRST2 pin driven by hardware through the A1/RST pin.

Clear this bit to have the CRST pin driven by software through the CARDRST bit.

The reset value is 0.

5

CARDRST2

Card Reset
Set this bit to enter a reset sequence according to ART2 bit value.

Clear this bit to drive a low level on the CRST2 pin.

4

CARDCK2

Card Clock

Set this bit to set a high level on the CCLK2 pin (according to CKSTOP2 bit value).

Clear this bit to drive a low level on the CCLK2 pin.

3

CKSTOP2

CARD Clock Stop

Set this bit to stop CCLK2 according to CARDCK2. This can be used to set asynchronous cards in power-
down mode (GSM) or to drive CCLK2 by software.

Clear this bit to have CCLK2 running according to CKS2. This can be used to activate asynchronous cards.

Note:

When this bit is changed a special logic ensures that no glitch occurs on the CCLK2 pin and actual
configuration changes can be delayed by half a period to two periods of CCLK2.

2-0

CKS2[2:0]

Interface 2 Card Clock Selection

CKS2 [2:0] = 0: CCLK2 = CLK (then the maximum frequency is 24 MHz)

CKS2 [3:0] = 1: CCLK2 = DCCLK

CKS2 [3:0] = 2: CCLK2 = DCCLK / 2

CKS2 [3:0] = 3: CCLK2 = DCCLK / 4

CKS2 [3:0] = 4: CCLK2 = A2

CKS2 [3:0] = 5: CCLK2 = A2 / 2

CKS2 [3:0] = 6: CCLK2 = CLK / 2

CKS2 [3:0] = 7: CCLK2 = CLK / 4

Advertising