参数资料
型号: TS87C52X2-VICR
厂商: ATMEL CORP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, OTPROM, 40 MHz, MICROCONTROLLER, PQFP44
封装: PLASTIC, QFP-44
文件页数: 13/56页
文件大小: 790K
代理商: TS87C52X2-VICR
20
Rev.D - 16 November, 2000
TS80C32X2
TS87C52X2
TS80C52X2
6.4.3 Given Address
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:
SADDR
0101 0110b
SADEN
1111 1100b
Given
0101 01XXb
The following is an example of how to use given addresses to address different slaves:
Slave A:
SADDR
1111 0001b
SADEN
1111 1010b
Given
1111 0X0Xb
Slave B:
SADDR
1111 0011b
SADEN
1111 1001b
Given
1111 0XX1b
Slave C:
SADDR
1111 0010b
SADEN
1111 1101b
Given
1111 00X1b
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 1; for slaves B and C, bit 1 is a don’t care bit. To communicate with slaves B and C, but
not slave A, 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
).
6.4.4 Broadcast Address
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.:
SADDR
0101 0110b
SADEN
1111 1100b
Broadcast =SADDR OR SADEN
1111 111Xb
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:
Slave A:
SADDR
1111 0001b
SADEN
1111 1010b
Broadcast
1111 1X11b,
Slave B:
SADDR
1111 0011b
SADEN
1111 1001b
Broadcast
1111 1X11B,
Slave C:
SADDR=
1111 0010b
SADEN
1111 1101b
Broadcast
1111 1111b
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 an address FFh. To communicate with slaves A and B, but not slave C, the master can send
and address FBh.
相关PDF资料
PDF描述
TS80C32X2-LCBR 8-BIT, 30 MHz, MICROCONTROLLER, PQCC44
TS80C32X2-VIA 8-BIT, 60 MHz, MICROCONTROLLER, PDIP40
TS80C32X2-LIA 8-BIT, 30 MHz, MICROCONTROLLER, PDIP40
TS87C51RB2-EBR 8-BIT, OTPROM, MICROCONTROLLER, PQCC44
TS80C51RD2-MCBB 8-BIT, 40 MHz, MICROCONTROLLER, PQCC44
相关代理商/技术参数
参数描述
TS87C52X2-VIE 功能描述:IC MCU 8BIT 8K OTP 40MHZ 44-VQFP RoHS:否 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:87C 标准包装:1,500 系列:AVR® ATtiny 核心处理器:AVR 芯体尺寸:8-位 速度:16MHz 连通性:I²C,LIN,SPI,UART/USART,USI 外围设备:欠压检测/复位,POR,PWM,温度传感器,WDT 输入/输出数:16 程序存储器容量:8KB(4K x 16) 程序存储器类型:闪存 EEPROM 大小:512 x 8 RAM 容量:512 x 8 电压 - 电源 (Vcc/Vdd):2.7 V ~ 5.5 V 数据转换器:A/D 11x10b 振荡器型:内部 工作温度:-40°C ~ 125°C 封装/外壳:20-SOIC(0.295",7.50mm 宽) 包装:带卷 (TR)
TS87C52X2-VIEB 制造商:TEMIC 制造商全称:TEMIC Semiconductors 功能描述:8-bit CMOS Microcontroller 0-60 MHz
TS87C52X2-VIED 制造商:TEMIC 制造商全称:TEMIC Semiconductors 功能描述:8-bit CMOS Microcontroller 0-60 MHz
TS87C52X2-VIER 制造商:TEMIC 制造商全称:TEMIC Semiconductors 功能描述:8-bit CMOS Microcontroller 0-60 MHz
TS87C52X2-VIJB 制造商:TEMIC 制造商全称:TEMIC Semiconductors 功能描述:8-bit CMOS Microcontroller 0-60 MHz