Jump to content

`Physical pin of 1w-gpio, w1-therm


wollik

Recommended Posts

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
 

Link to comment
Share on other sites

  • wollik changed the title to `Physical pin of 1w-gpio, w1-therm
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines