欢迎访问ic37.com |
会员登录 免费注册
发布采购

SI1002 参数 Datasheet PDF下载

SI1002图片预览
型号: SI1002
PDF下载: 下载PDF文件 查看货源
内容描述: 超低功耗, 64/32 KB , 10位ADC, MCU ,集成了240-960兆赫的EZRadioPRO收发器 [Ultra Low Power, 64/32 kB, 10-Bit ADC MCU with Integrated 240-960 MHz EZRadioPRO Transceiver]
分类和应用:
文件页数/大小: 376 页 / 2369 K
品牌: SILICON [ SILICON ]
 浏览型号SI1002的Datasheet PDF文件第155页浏览型号SI1002的Datasheet PDF文件第156页浏览型号SI1002的Datasheet PDF文件第157页浏览型号SI1002的Datasheet PDF文件第158页浏览型号SI1002的Datasheet PDF文件第160页浏览型号SI1002的Datasheet PDF文件第161页浏览型号SI1002的Datasheet PDF文件第162页浏览型号SI1002的Datasheet PDF文件第163页  
Si1000/1/2/3/4/5  
// Create the CRC "dividend" for polynomial arithmetic (binary arithmetic  
// with no carries)  
CRC_acc = CRC_acc ^ (CRC_input << 8);  
// "Divide" the poly into the dividend using CRC XOR subtraction  
// CRC_acc holds the "remainder" of each divide  
//  
// Only complete this division for 8 bits since input is 1 byte  
for (i = 0; i < 8; i++)  
{
// Check if the MSB is set (if MSB is 1, then the POLY can "divide"  
// into the "dividend")  
if ((CRC_acc & 0x8000) == 0x8000)  
{
// if so, shift the CRC value, and XOR "subtract" the poly  
CRC_acc = CRC_acc << 1;  
CRC_acc ^= POLY;  
}
else  
{
// if not, just shift the CRC value  
CRC_acc = CRC_acc << 1;  
}
}
// Return the final remainder (CRC value)  
return CRC_acc;  
}  
The following table lists several input values and the associated outputs using the 16-bit Si1000/1/2/3/4/5  
CRC algorithm:  
Table 15.1. Example 16-bit CRC Outputs  
Input  
Output  
0xBD35  
0xB1F4  
0x4ECA  
0x6CF6  
0xB166  
0x63  
0x8C  
0x7D  
0xAA, 0xBB, 0xCC  
0x00, 0x00, 0xAA, 0xBB, 0xCC  
Rev. 1.0  
159