You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.
If I try to use the latest mainline armbian in combination with PI4J and use one of the pins also used for SPI as GPIO then the eth0 gets offline.
The problem GPIO pins are: 10, 11, 12, 13 and 14.
kernel: Linux bananapi 4.11.6-sunxi #6 SMP Fri Jun 23 19:56:18 CEST 2017 armv7l GNU/Linux
platform: Banana PI M1
I don't think I fully understand. So .. if you attempt to use a GPIO pin that is shared with SPI then it causes the network connection to do down.
I don't have an M1 to test with, only a LeMaker BananaPi.
Is LeMaker WiringBP compatible with BPI M1? Pi4J is using WiringBP for all the low level stuff.
I suspect maybe some incompatibility at this layer without knowing more details.
You might try using the WiringBP directly and see if the problem is still there. If WiringBP works perfectly, then we would know that its a problem somewhere higher in the Pi4J layer.
Also take a look at issue #337. @malkusch describes a problem with the pin numbering differences between BananaPro and M1+. Maybe his suggestion about using BPI-WiringPi and dynamically linking it to Pi4J would work for your case too?
If I try to use the latest mainline armbian in combination with PI4J and use one of the pins also used for SPI as GPIO then the eth0 gets offline.
The problem GPIO pins are: 10, 11, 12, 13 and 14.
kernel: Linux bananapi 4.11.6-sunxi #6 SMP Fri Jun 23 19:56:18 CEST 2017 armv7l GNU/Linux
platform: Banana PI M1
I've also posted example code of the problem at the armbian forum.
https://forum.armbian.com/index.php?/topic/4804-mainline-debian-armbian-banana-pi-pi4j/&_fromLogin=1
Is there a way to quick fix my problem?
regards,
Arnoud
The text was updated successfully, but these errors were encountered: