This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AFE5801- SPI Reset Command?, 24 bit?

Other Parts Discussed in Thread: AFE5801

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

  • Hello Mohit,

    We received your post regarding the AFE5801 and will get back to shortly with a response to your questions.

    Thanks.

  • Mohit,

     

     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)

     

     A software reset is like any other SPI write, and you should set the bit 0x00[0] or 0000 0000 0000 0000 0000 0001 like you mentioned.

     

    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.

    Please write the reset before writing other registers, as the reset will reset all bits to the default values.

    The program could be something like this:

    SOFTWARE_RESET, 0[0]

    STDBY, OUTPUT_DISABLE, 1[10 and 1]

    SERIALIZED_DATA_RATE 3[14:13]

    CLAMP_DISABLE 70[14],

    REGISTER_READOUT_ENABLE 0[1]

     

    Thanks,


    Chuck Smyth