Quantcast
Channel: Data converters
Viewing all articles
Browse latest Browse all 27432

Forum Post: RE: AFE5801- SPI Reset Command?, 24 bit?

$
0
0

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

 


Viewing all articles
Browse latest Browse all 27432

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>