Hello:
Could you please explain check my SPI Reset command to AFE5801? pg. 20 of the AFE5801 datasheet mentions a SOFTWARE_RESET function. 1 resets the device. pg. 19 of the AFE5801 datasheet states register address is 8 bits ( A0....), data is 16 bits,(D0....). Would a SPI Reset command be sent as 24 bits (i.e. 0000 0000 0000 0000 0000 0001) to AFE5801? How would one send the address (0 in this case)? I assume address would be denoted by first 8 bits(0000 0000)
e.g. the SPI Reset command for ADS1258 is 110 (pg. 35 of the ADS1258 datasheet), Multiple Register command is 0111 (pg. 32 of the ADS1258 datasheet). Assuming 8 bits, I would send 11000000 to reset SPI bus
in ADS1258. Hopefully, this explains what I am asking for.
My goal is to write several register values (SOFTWARE_RESET, STDBY, SERIALIZED_DATA_RATE,OUTPUT_DISABLE, CLAMP_DISABLE, REGISTER_READOUT_ENABLE) to AFE5801 as a 1D array.
Thank you.
Best Regards,
Mohit