关于ADE7758的采集数据的校验和问题

[复制链接]
2428|1
 楼主| qe123 发表于 2009-8-24 14:16 | 显示全部楼层 |阅读模式
在做关于ADE7758的测量,为防止采集数据在传送过程中有数据错误片子本身有对传送数据校验的功能,但看了芯片手册后有很多疑惑,0x7E是存放校验和的地址,
    The 8-bit checksum register is reset before the first bit (MSB of the register to be read) is put on the DOUT pin. During a serial read operation, when each data bit becomes available on the rising edge of SCLK, the bit is added to the checksum register. In the end of the serial read operation, the content of the checksum register is equal to the sum of all the 1s in the register previously read.
    它是这样写的,但当读完数据时校验和能清零吗,同时手册上还说在读校验和时又会产生一个校验和,请问有用过的吗,给解释下!
Chang_HS 发表于 2009-9-7 20:55 | 显示全部楼层
写的很明白呀,读完任意一个数据会产生一个校验和,读校验和也会产生一个校验和,只会刷新不会清零
您需要登录后才可以回帖 登录 | 注册

本版积分规则

82

主题

623

帖子

3

粉丝
快速回复 在线客服 返回列表 返回顶部