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

Forum Post: RE: [FAQ] I'm having trouble communicating with my device via SPI. What debug steps I should try?

$
0
0
If the MCU is not correctly communicating with the device, consult the Programming and SPI sections of the datasheet to review communication protocol, power-up and communication timing specifications, and pin connections. After reading the datasheet, review the steps below to find the root cause of the issue. Review the start-up sequence and initial flow at power up (section 10.1.2 and 11.1 for the ADS1298 ). Some step-by-step checkpoints and common debug issues are below: 1) After the power-on reset is complete, /DRDY should begin pulsing at the default data rate (assuming the START pin is pulled up). 2) The /RESET pulse after tPOR is essential for bringing up the digital core in the correct state. 3) Before trying to read the registers, make sure to send the SDATAC command. 4) Read the ID register. If the ID register does not read back correctly, most likely there is an issue with the power-up timing. Go back to the previous steps and make sure that the power supplies have had sufficient time to power up before attempting to communicate with the device. 5) Attempt to write registers and correctly read them back. 6) Attempt to read data from a known input signal to confirm correct communication and code to voltage conversion. Link to BIOFAQ homepage here . This post applies to This post applies to ADS1191 , ADS1192 , ADS1291 , ADS1292 , ADS1292R , ADS1294 , ADS1294R , A DS1296 , ADS1296R , ADS1298 , ADS1298R , ADS1299-4 , ADS1299-6 , and ADS1299 .

Viewing all articles
Browse latest Browse all 28006

Trending Articles



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