Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 149991

Forum Post: RE: SPI expansion on the AM335x EVM-SK?

$
0
0

Neerav,

spidev_test just sends out  incrementing bytes and reads them back.  

Again, I'd suggest you put a jumper across MISO and MOSI and run the spidev_test program to verify that the port works as expected.

Go through the code.  You can use the spidev_test as a starting point to writing your own interface code for the LTC part.  Just strip out the stuff that you don't need.

As is, it will not do anything if you hook it up to your battery monitor part.

You'll need to read the LTC datasheet to figure out the commands to send to the part.

The first one is always the hardest to get working!

Have fun...

James


Viewing all articles
Browse latest Browse all 149991


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