At83c26, Write commands – Rainbow Electronics AT83C26 User Manual

Page 33

Advertising
background image

33

7511B–SCR–10/05

AT83C26

Write Commands

The write commands are:

1.

General Call Reset:

A general call followed by the value 06h has the same effect as a Reset command.

2.

Reset:

Initialize all the logic and the TWI interface as after a power-up or power-fail reset. If the
interface is activated, an emergency de-activation sequence is also performed. This is a
one-byte command.

3.

Write SC1_CFG0, SC1_CFG1, SC1_CFG2, SC1_CFG3, SC1_CFG4:

Configure the device according to the last six bits in the SC1_CFG0 register and to the fol-
lowing four bytes in SC1_CFG1, SC1_CFG2, SC1_CFG3 then SC1_CFG4 registers. This is
a five bytes command.

Figure 22. Command byte format for Write SC1_CFG0 command

4.

Write TIMER_MSB, TIMER_LSB:

Program the 16-bit automatic reset transition timer with the following two bytes. This is a
three bytes command.

5.

Write SC1_INTERFACE:

Program the interface byte. This is a one-byte command. The MSB of the command byte is
fixed at 0.

6.

Write common config smart cards:

IO_SELECT, INTERFACE_B, ITDIS:

Configuration of parameters for smart card interfaces.

7.

Write SC2 interface: SC2_CFG0, SC2_CFG1, SC2_CFG2

Configuration of smart card interface 2.

8.

Write SC3 interface: SC3_CFG0, SC3_CFG2

Configuration of SIM/SAM interface 3.

9.

Write SC4 interface: SC4_CFG0, SC4_CFG2

Configuration of SIM/SAM interface 4.

b7

b6

b5

b4

b3

b2

b1

1

X

0

X

X

X

X

SC1_CFG0 on 6 Bits

b0

X

Advertising