Does anyone have any experience reading from the AD8403 over the SPI bus? I'd like to verify my writes are indeed working.
Yes.How can i help you?
I'm trying to verify if I am actually writing to the ad8403. Can you
outline what I need to do to read a value from it?
On Fri, Mar 9, 2018 at 12:55 AM, koushik.kops <
I was looking through the AD8403 specs and see an ID PROM register listed. Can you tell me how to read from it? I believe my writes are working but I need to access the ID Prom register and read the model or serial number to verify the SPI bus is behaving correctly.
AD8403 is a very simple part. It doesn't have any complicated register sets for additional functionality.
The SDO outputs whatever data is written in the previous SPI command. So if you do the same write operation twice, you will be able to confirm the value written.
SDI: writing the value 4 to the ch0 of the digipot.
SDO: Return the value of the previous command.
SDO: Return the value of the previous command which is 0x04
Much appreciate the info.
Retrieving data ...