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

Forum Post: RE: ADS1216: MSB is always 1 when reading from the Register

$
0
0
Hi Darren, The scope shots will help us determine the timing. There are some strict requirements for delays following commands for some actions. See the Timing Characteristics on page 8 of the ADS1216 datasheet. Note in particular t6. It also appears that you are attempting a full-duplex type of operation where you are collecting data the same time as sending commands. This device, due to the timing restrictions has some problems doing this. I would suggest sending 0xFF to initiate the SCLKs for reading the data. For example send 0x10 0x00 0xFF to complete the communication cycle for a read single register. Sending 0x55 starts a register write sequence that is never actually completed (first graph data). You need to make sure that any communication that is started is completed. Is your micro sending 16-bit transfers? The ADS1216 is expecting byte transfers. 16-bit transfers can be an issue due to the timing mentioned above. If your micro is using 16-bit communication, I would recommend you use 8-bit transfers for the ADS1216 . Again, the scope shots will help us understand your communication and timing better. Best regards, Bob B

Viewing all articles
Browse latest Browse all 28100

Trending Articles



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