Jump to content

Recommended Posts

Posted
Armbianmonitor:

Hi forum members,
I enabled the 1w protocol via armbian.config and found, that the default GPIO pin assignment is set to 110 (what is PD14)

root@bananapim2zero:/sys/bus/w1/devices# cat  /sys/kernel/debug/gpio
gpiochip0: GPIOs 0-223, parent: platform/1c20800.pinctrl, 1c20800.pinctrl:
 gpio-110 (                    |onewire@0           ) out lo

- - -

dmesg | grep -E 'w1|wire' | grep -E 'Driver|gpio-'
[    5.659452] Driver for 1-wire Dallas network protocol.
[    6.408704] gpio-110 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file

 

Please can someone tell me what phyical pin is this gpio-110 on my BPI m2 zero ?

I reconfigured my board via /boot/ambianEnv.txt to use the PA6 pin what is the physical pin 7.

Everything worked fine and I can read out the temperature from the onewire sensor DS18S connected on the physical pin 7.

 

I'm ask for help on this topic because I want to use the PD14 GPIO pin since I can configure the internal pullup resistor instead using an external pullup resistor,
 

 

Thanks in advance
wollik
 

  • wollik changed the title to `Physical pin of 1w-gpio, w1-therm
Posted

Hi forum admins,
it seems that I used the wrong section, please can you move this to the P2P section of this forum?

 

Regards

wollik

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines