0
Techlxrd

Default W1 pin on Nano PI NEO

Recommended Posts

I enabled modules, and connected DS18B20 but still haven't 28-XXX... folder in /sys/bus/w1/devices. 

In README.sun8i-h3-overlays written that default port is PD14 but i can't find it on my board pinout.

 

Share this post


Link to post
Share on other sites

cat /sys/kernel/debug/gpio

 

gpiochip0: GPIOs 0-223, parent: platform/1c20800.pinctrl, 1c20800.pinctrl:
 gpio-10  (                    |nanopi:blue:status  ) out lo
 gpio-110 (                    |w1                  ) in  lo
 gpio-166 (                    |cd                  ) in  lo


gpiochip1: GPIOs 352-383, parent: platform/1f02c00.pinctrl, 1f02c00.pinctrl:
 gpio-362 (                    |nanopi:green:pwr    ) out hi

So now w1 uses gpio-110 but i still can't find it on pinout

Share this post


Link to post
Share on other sites

PD14 equals GPIO110 ...

But, effectively, according to schematic of NanoPi-NEO, since header has only 24 pins, the PD14 is not there unlike many other boards.

You can use PG11 (GPIO203) or PA6 (GPIO6) instead, but you need to decompile overlay, edit to change the pin, and recompile it.

Share this post


Link to post
Share on other sites
11 hours ago, martinayotte said:

PD14 equals GPIO110 ...

But, effectively, according to schematic of NanoPi-NEO, since header has only 24 pins, the PD14 is not there unlike many other boards.

You can use PG11 (GPIO203) or PA6 (GPIO6) instead, but you need to decompile overlay, edit to change the pin, and recompile it.

Thank you, solved.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0