Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

ADS1118evm SPI trouble

$
0
0

Hello I am currently using an ADS1118evm hooked up to a Beagleboard

I just need to make sure I can get voltage readings from the ADC to the beagleboard.

For thw interface I am using SpiMode1 and connecting the ADS1118evm chip select, clck, mosi and miso to the appropriate ports (or at least I hope so)

Here is the code I am using

(Please visit the site to view this file)

I am doing a one shot mode read so that I can see how to interpret my raw voltage.

But I don't think I am doing it correctly, is there anything wrong with my code?

Thank you,

Alonzo


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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