Data is shifted into the ADE7759 at the DIN logic input on the falling edge of SCLK. Data is shifted out of the ADE7759 at the DOUT logic output on a rising edge of SCLK.The CS input should be driven low for the entire data transfer operation.
您说的方法是在应和2103SPI上说的:“During a data transfer the master always sends 8 to 16 bit of data to the slave, and the slave always sends a byte of data to the master.”
但ADE775X在上传数据时是一次把5BYTE的数据全部转移到SPI口,而不是一BTYE一BYTE传的原文:“When an ADE7759 register is addressed for a read operation,the entire contents of that register are transferred to the serial port.”