AT89C5132 Atmel Corporation, AT89C5132 Datasheet - Page 115

no-image

AT89C5132

Manufacturer Part Number
AT89C5132
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C5132

Flash (kbytes)
64 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-12C
Max I/o Pins
44
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
1
Uart
1
Adc Channels
2
Adc Resolution (bits)
10
Adc Speed (ksps)
22.7
Sram (kbytes)
2.25
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 3.6
Timers
2
Isp
UART/USB
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT89C5132-IL
Quantity:
192
Part Number:
AT89C5132-RORUL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5132-ROTIL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5132-ROTUL
Manufacturer:
Atmel
Quantity:
10 000
18.6.2
4173E–USB–09/07
Broadcast Address
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:
The SADEN byte is selected so that each slave may be addressed separately.
For slave A, bit 0 (the LSB) is a don’t-care bit; for slaves B and C, bit 0 is a 1. To communicate
with slave A only, the master must send an address where bit 0 is clear (e.g. 1111 0000B).
For slave A, bit 1 is a 0; for slaves B and C, bit 1 is a don’t care bit. To communicate with slaves
A and B, but not slave C, the master must send an address with bits 0 and 1 both set (e.g.
1111 0011B).
To communicate with slaves A, B and C, the master must send an address with bit 0 set, bit 1
clear, and bit 2 clear (e.g. 1111 0001B).
A broadcast address is formed from the logical OR of the SADDR and SADEN registers with
zeros defined as don’t-care bits, e.g.:
The use of don’t-care bits provides flexibility in defining the broadcast address, however in most
applications, a broadcast address is FFh.
The following is an example of using broadcast addresses:
For slaves A and B, bit 2 is a don’t care bit; for slave C, bit 2 is set. To communicate with all of
the slaves, the master must send the address FFh.
To communicate with slaves A and B, but not slave C, the master must send the address FBh.
SADDR = 0101 0110b
SADEN = 1111 1100b
Given = 0101 01XXb
Slave A: SADDR = 1111 0001b
Slave B: SADDR = 1111 0011b
Slave C: SADDR = 1111 0011b
Slave A: SADDR = 1111 0001b
Slave B: SADDR = 1111 0011b
Slave C: SADDR = 1111 0010b
SADEN = 1111 1010b
Given = 1111 0X0Xb
SADEN = 1111 1001b
Given = 1111 0XX1b
SADEN = 1111 1101b
Given = 1111 00X1b
SADDR = 0101 0110b
SADEN = 1111 1100b
(SADDR | SADEN)=1111 111Xb
SADEN = 1111 1010b
Given = 1111 1X11b,
SADEN = 1111 1001b
Given = 1111 1X11b,
SADEN = 1111 1101b
Given = 1111 1111b,
AT89C5132
115

Related parts for AT89C5132