BeagleBoard X15 SPI in Python?

29 views
Skip to first unread message

ben.d....@gmail.com

unread,
Mar 14, 2018, 12:21:18 PM3/14/18
to BeagleBoard
Hello Beagle community!

I've seen that Adafruit has what I see as an extremely easy-to-use Python library for getting SPI data from the BeagleBone Black. I assume that that can't be usable on the BeagleBoard X15, but is there an X15 SPI Python library? Or would there be a way to edit the BeagleBone Black SPI Python library to make it fit with the differing pin layout of the X15?

Thanks for the help.

Jason Kridner

unread,
Apr 22, 2018, 4:45:54 PM4/22/18
to beagl...@googlegroups.com, Drew Fustini


On Mar 13, 2018, at 7:57 PM, ben.d....@gmail.com wrote:

Hello Beagle community!

I've seen that Adafruit has what I see as an extremely easy-to-use Python library for getting SPI data from the BeagleBone Black. I assume that that can't be usable on the BeagleBoard X15, but is there an X15 SPI Python library?

There might be some oddities with anything pin specific, but spidev should work the same on any Linux box. 

Drew, can we send you an X15 to test SPI on X15? 

Ben, do you have a simple solution for wiring?

Or would there be a way to edit the BeagleBone Black SPI Python library to make it fit with the differing pin layout of the X15?

spidev should be easy enough to use from any language simply by using the driver path. Ideally, you’d fine a kernel driver for whatever SPI device you are using. 


Thanks for the help.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/c9b08736-fa08-4215-b15f-941424aa6f80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Drew Fustini

unread,
Apr 24, 2018, 10:03:07 AM4/24/18
to Jason Kridner, Beagle Board
On Sun, Apr 22, 2018 at 3:45 PM, Jason Kridner <jkri...@gmail.com> wrote:
>
>
> On Mar 13, 2018, at 7:57 PM, ben.d....@gmail.com wrote:
>
> Hello Beagle community!
>
> I've seen that Adafruit has what I see as an extremely easy-to-use Python
> library for getting SPI data from the BeagleBone Black. I assume that that
> can't be usable on the BeagleBoard X15, but is there an X15 SPI Python
> library?
>
>
> There might be some oddities with anything pin specific, but spidev should
> work the same on any Linux box.
>
> Drew, can we send you an X15 to test SPI on X15?

Yes, if I have access to a BeagleBoard X15, then I will work on
getting Adafruit_BBIO to work with it.

Thanks,
Drew
Reply all
Reply to author
Forward
0 new messages