参数资料
型号: AD7280ABSTZ
厂商: Analog Devices Inc
文件页数: 36/48页
文件大小: 0K
描述: IC BATT MONITOR LI-ION 48LQFP
标准包装: 1
功能: 电池监控器,过压/欠压保护
电池化学: 锂离子(Li-Ion)
电源电压: 8 V ~ 30 V
工作温度: -40°C ~ 105°C
安装类型: 表面贴装
封装/外壳: 48-LQFP
供应商设备封装: 48-LQFP(7x7)
包装: 托盘
AD7280A
Read Operation CRC
For reads from the AD7280A, the 8-bit CRC is generated by the
AD7280A based on Bits[D31:D10] of the 32-bit read cycle and is
transmitted using Bits[D9:D2] of the same read cycle. The data
received is divided by the CRC polynomial, and the 8-bit remain-
der, following the division, becomes the CRC bits, CRC_7 to
CRC_0. The user can compare the CRC bits calculated with the
CRC that was received from the AD7280A to verify that there was
no alteration in the data that was transmitted by the AD7280A.
CRC Calculation Example 1
This example shows how a 32-bit write command, including the
CRC calculation, to the high byte of the control register on the
master device (Device 0) is assembled. The data to be written
is 0x0C.
The CRC is computed in the DSP/microprocessor on
Bits[D31:D11], that is, the device address, the register address,
the data to be written to the register, the address all parts bit,
and the reserved bit.
When operating in a daisy chain, each AD7280A receives conver-
sion or register data from the device above it in the daisy chain
and performs a CRC calculation on the received data. If there is
a difference between the CRC generated internally and the CRC
received from the device above it in the daisy chain, the AD7280A
replaces the received CRC by an inversion of the internally gen-
?
?
?
?
?
Device address: 00000 (0x00)
Register address: 001101 (0x0D)
Data: 00001100 (0x0C)
Address all parts bit: 0 (0x0)
Reserved bit: 0 (0x0)
erated CRC.
CRC Pseudocode
The following pseudocode can be used to calculate the CRC.
The following variables must first be declared:
The data input to the CRC algorithm is, therefore,
000000011010000110000 (0x003430).
Following the completion of the calculation, the value
of CRC_7 to CRC_0 is 01010001 (0x51). The data that
?
?
?
?
Num_Bits is the number of data bits used to calculate the
CRC result: 21 for a data write to the AD7280A, and 22 for
a data read from the AD7280A.
i is an integer variable.
xor_1, xor_2, xor_3, xor_4, and xor_5 are integer variables.
These outputs of the XOR gates start with the leftmost
XOR gate in the circuit implementation (see Figure 40).
data_in represents the data bits that the CRC is calculated
is sent to the AD7280A for this serial write is, therefore,
0000 0001 1010 0001 1000 0010 1000 1010 (0x01A1828A).
CRC Calculation Example 2
This example shows how a 32-bit write command, including
the CRC calculation, to the high byte of the control register on
Device 1 in the daisy chain is assembled. The data to be written
is 0x0C.
The CRC is computed in the DSP/microprocessor on
on: Bits[D31:D11] for a write operation, and Bits[D31:D10]
for a read operation. This data supplies the input to the
first XOR gate.
? CRC_0, CRC_1, CRC_2, CRC_3, CRC_4, CRC_5, CRC_6,
and CRC_7 are integer variables. The outputs of the shift
registers start at the leftmost shift register in the circuit
implementation (see Figure 40).
With the exception of data_in, all variables should be initialized
to 0. The following code implements the CRC calculation as
shown in Figure 40.
for (i=Num_Bits; i>=0; i--)
{
xor_5 = CRC_4 ^ CRC_7;
xor_4 = CRC_2 ^ CRC_7;
xor_3 = CRC_1 ^ CRC_7;
xor_2 = CRC_0 ^ CRC_7;
xor_1 = data_in[i] ^ CRC_7;
Bits[D31:D11], that is, the device address, the register address,
the data to be written to the register, the address all parts bit,
and the reserved bit.
? Device address (written LSB first): 10000 (0x10)
? Register address: 001101 (0x0D)
? Data: 00001100 (0x0C)
? Address all parts bit: 0 (0x0)
? Reserved bit: 0 (0x0)
The data input to the CRC algorithm is, therefore,
100000011010000110000 (0x103430).
Following the completion of the calculation, the value of
CRC_7 to CRC_0 is 01110100 (0x74). The data that is sent
to the AD7280A for this serial write is, therefore,
1000 0001 1010 0001 1000 0011 1010 0010 (0x81A183A2).
CRC_7
CRC_6
CRC_5
CRC_4
CRC_3
CRC_2
CRC_1
CRC_0
=
=
=
=
=
=
=
=
CRC_6;
CRC_5;
xor_5;
CRC_3;
xor_4;
xor_3;
xor_2;
xor_1;
}
Rev. 0 | Page 36 of 48
相关PDF资料
PDF描述
6A44-B0421-014.0-0 CABLE CX4-CX4 DDR 4CH PLEN 14M
6A44-B0421-013.0-0 CABLE CX4-CX4 DDR 4CH PLEN 13M
6A44-B0421-012.0-0 CABLE CX4-CX4 DDR 4CH PLEN 12M
6A44-B0421-011.0-0 CABLE CX4-CX4 DDR 4CH PLEN 11M
M1WXK-4036J IDC CABLE - MPL40K/MC40G/X
相关代理商/技术参数
参数描述
AD7280ABSTZ-RL 功能描述:IC BATTERY MONITOR LI-ION 48LQFP RoHS:是 类别:集成电路 (IC) >> PMIC - 电池管理 系列:- 产品培训模块:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 标准包装:2,500 系列:- 功能:电池监控器 电池化学:碱性,锂离子,镍镉,镍金属氢化物 电源电压:1 V ~ 5.5 V 工作温度:-40°C ~ 85°C 安装类型:表面贴装 封装/外壳:SOT-23-6 供应商设备封装:SOT-6 包装:带卷 (TR)
AD7280AWBSTZ 功能描述:IC BATT MON LI-ION AUTO 48LQFP RoHS:是 类别:集成电路 (IC) >> PMIC - 电池管理 系列:- 产品培训模块:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 标准包装:2,500 系列:- 功能:电池监控器 电池化学:碱性,锂离子,镍镉,镍金属氢化物 电源电压:1 V ~ 5.5 V 工作温度:-40°C ~ 85°C 安装类型:表面贴装 封装/外壳:SOT-23-6 供应商设备封装:SOT-6 包装:带卷 (TR)
AD7280AWBSTZ-RL 功能描述:IC BATT MON LI-ION AUTO 48LQFP RoHS:是 类别:集成电路 (IC) >> PMIC - 电池管理 系列:- 产品培训模块:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 标准包装:2,500 系列:- 功能:电池监控器 电池化学:碱性,锂离子,镍镉,镍金属氢化物 电源电压:1 V ~ 5.5 V 工作温度:-40°C ~ 85°C 安装类型:表面贴装 封装/外壳:SOT-23-6 供应商设备封装:SOT-6 包装:带卷 (TR)
AD7280BSTZ 制造商:Analog Devices 功能描述:
AD7280BSTZ-RL 制造商:Analog Devices 功能描述: