打印

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

[复制链接]
1507|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

粉丝