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.
Hi,
I try to write a driver for communication with the ADS131A02. I do not succeed in getting any of the response listed in the datasheet.
Firs, I set try to unlock the device:
after that, I try to read the status (NULL cmd) and start a conversion :
and
my device is HW configured as 32 bit word, no Hamming , asynchronous interrupt mode.
I keep getting a value 0x02 back, no ack or anything else. What am I doing wrong?
Thanks,
Ewout Boks
Hey Ewout,
A few things:
Take a look at the flow chart in figure 109 in the datasheet. It gives you a pretty good idea of what will be required to get the device up and running.
Regards,
Brian Pisani
Hello Brian,
thanks for pointing out the flow diagram - I had overlooked it.
Once I implemented the suggested flow the device behaved as expected.
One thing I would like to point out it the missing clarity about msbyte and lsbyte in commands and data response in the datasheet - it took me a while to figure out what the ads131a02 expects and in what order I get data back. Apart from that, the IC performs really well !
Thanks,
Ewout Boks