adafruit-beaglebone-io-python icon indicating copy to clipboard operation
adafruit-beaglebone-io-python copied to clipboard

Add support for BeagleBone AI with Adafruit BBIO.GPIO

Open jomoengineer opened this issue 5 years ago • 6 comments

The new BeagleBone AI has a AM57x processor and a different gpio mapping than the previous BeagleBone boards, thus the BBIO GPIO Python libs do not work properly on the BB AI.

Ex: On the BB AI P9_15 is mapped to gpio76 where On the BB Black, P8_39 is mapped to gpio76

Also, although not really a Adafruit issue, the config-pin tool does not work with the BB AI:


$ config-pin -q P9_15
P9_15 pinmux file not found!
Pin has no cape: P9_15

jomoengineer avatar Oct 25 '19 06:10 jomoengineer

@jomoengineer thanks for opening this issue. Yes, I need to work on adding support for the BBAI. @jadonk and @MarkAYoder have been working on support in https://github.com/jadonk/bonescript so I should be able to leverage that.

pdp7 avatar Oct 25 '19 09:10 pdp7

@MarkAYoder @jadonk Adafruit_BBIO still needs support for BeagleBone AI. This might be a good task for a student (if you know of anyone, Mark, or once GSoC starts).

pdp7 avatar Dec 17 '19 05:12 pdp7

Here i create my custom .dts file and test all interfaces .if you facing issue regarding any interfaces then please follow below link :

https://github.com/MalavPatel3501/BeagleBone-AI--mpBBAI-IO-Python-Library

In this project you got .dts file and all pin muxing steps. Moreover i puts some example code in this project.

MalavPatel3501 avatar Jun 03 '20 11:06 MalavPatel3501

BBAI compatibility would be really useful - thanks guys!

simongtan avatar Sep 27 '20 23:09 simongtan

@pdp7 any "release date" for BB-AI? Or, is there anyone working on it?

pnallin avatar Jul 01 '21 15:07 pnallin

@pnallin unfortunately there is not active work on it. However, I think Adafruit Blinka is a good alternative to this library (Adafruit_BBIO): https://github.com/adafruit/Adafruit_Blinka

There is support for the AI board by @makermelissa https://github.com/adafruit/Adafruit_Blinka/commit/8273fc647a35d3e8f6d11e75f6d9ea4223445ac6

pdp7 avatar Jul 02 '21 05:07 pdp7