Default /dev/spidev1.0 spi2 mosi/miso reversed compared to BBB

137 views
Skip to first unread message

jks

unread,
Oct 2, 2019, 2:19:57 PM10/2/19
to BeagleBoard
I have spi2 working on P9.18,21 via /dev/spidev1.0 same as the BBB.

However there is an important difference. The default assignment of spi master mode mosi/miso to P9.18,21 are reversed compared to the BBB unless you add
ti,pindir-d0-out-d1-in
to the mcspi2 section of your .dts file. Details are in this Github issue: https://github.com/beagleboard/beaglebone-ai/issues/28

Jason Kridner

unread,
Oct 7, 2019, 11:35:56 AM10/7/19
to BeagleBoard
Thanks
Reply all
Reply to author
Forward
0 new messages