89C5121-SK1 Atmel, 89C5121-SK1 Datasheet - Page 82

no-image

89C5121-SK1

Manufacturer Part Number
89C5121-SK1
Description
KIT SMART CARD FOR AT89C5121
Manufacturer
Atmel
Type
Smart Cardr
Datasheet

Specifications of 89C5121-SK1

Contents
Board
For Use With/related Products
AT89C5121
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
T89C5121-SK1
T89C5121-SK1
Automatic Address
Recognition
Given Address
82
A/T8xC5121
Figure 34. UART Timings in Mode 1
Figure 35. UART Timings in Modes 2 and 3
The automatic address recognition feature is enabled when the multiprocessor commu-
nication feature is enabled (SM2 bit in SCON register is set).
Implemented in hardware, automatic address recognition enhances the multiprocessor
communication feature by allowing the serial port to examine the address of each
incoming command frame. Only when the serial port recognizes its own address, the
receiver sets RI bit in SCON register to generate an interrupt. This ensures that the CPU
is not interrupted by command frames addressed to other devices.
If desired, you may enable the automatic address recognition feature in mode 1. In this
configuration, the stop bit takes the place of the ninth data bit. Bit RI is set only when the
received command frame address matches the device’s address and is terminated by a
valid stop bit.
To support automatic address recognition, a device is identified by a given address and
a broadcast address.
Note:
Each device has an individual address that is specified in SADDR register; the SADEN
register is a mask byte that contains don’t care bits (defined by zeros) to form the
device’s given address. The don’t care bits provide the flexibility to address one or more
slaves at a time. The following example illustrates how a given address is formed.
SMOD0 = 0
SMOD0 = 1
SMOD0 = 1
SMOD0 = X
SMOD0 = 1
The multiprocessor communication and automatic address recognition features cannot
be enabled in mode 0 (i.e., setting SM2 bit in SCON register in mode 0 has no effect).
RXD
RXD
FE
RI
RI
FE
RI
Start
Start
Bit
Bit
D0
D0
D1
D1
D2
D2
Data Byte
D3
D3
Data Byte
D4
D4
D5
D5
D6
D6
D7
D7
Stop
Ninth
D8
Bit
Bit
4164G–SCR–07/06
Stop
Bit

Related parts for 89C5121-SK1