AT89C51IC2 Atmel Corporation, AT89C51IC2 Datasheet - Page 48
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
AT89C51IC2
Manufacturer Part Number
AT89C51IC2
Description
Manufacturer
Atmel Corporation
Specifications of AT89C51IC2
Flash (kbytes)
32 Kbytes
Max. Operating Frequency
60 MHz
Cpu
8051-12C
Max I/o Pins
34
Spi
1
Twi (i2c)
1
Uart
1
Sram (kbytes)
1.25
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 5.5
Timers
4
Isp
UART
Watchdog
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT89C51IC2-RLTIL
Manufacturer:
ATMEL
Quantity:
640
Company:
Part Number:
AT89C51IC2-RLTIL
Manufacturer:
ATMEL
Quantity:
4 116
Company:
Part Number:
AT89C51IC2-UL
Manufacturer:
XR
Quantity:
2
Company:
Part Number:
AT89C51IC2-UM
Manufacturer:
Atmel
Quantity:
5
Automatic Address
Recognition
Given Address
48
AT89C51IC2
Figure 19. 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.
To address a device by its individual address, the SADEN mask byte must be 1111
1111b.
For example:
The following is an example of how to use given addresses to address different slaves:
SMOD0=0
SMOD0=1
SMOD0=1
Slave A:SADDR1111 0001b
Slave B:SADDR1111 0011b
Slave C:SADDR1111 0010b
RXD
FE
RI
RI
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).
SADDR0101 0110b
SADEN1111 1100b
Given0101 01XXb
SADEN1111 1010b
Given1111 0X0Xb
SADEN1111 1001b
Given1111 0XX1b
SADEN1111 1101b
Given1111 00X1b
Start
bit
D0
D1
D2
D3
Data byte
D4
D5
D6
D7
Ninth
D8
bit
Stop
bit
4301D–8051–02/08