adafruit-beaglebone-io-python
adafruit-beaglebone-io-python copied to clipboard
Add support for BeagleBone AI with Adafruit BBIO.GPIO
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 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.
@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).
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.
BBAI compatibility would be really useful - thanks guys!
@pdp7 any "release date" for BB-AI? Or, is there anyone working on it?
@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