在做关于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.
它是这样写的,但当读完数据时校验和能清零吗,同时手册上还说在读校验和时又会产生一个校验和,请问有用过的吗,给解释下! |