Page 1 of 1

Ubuntu 16.04 and PPS-GPIO

Posted: Thu Feb 15, 2018 5:25 am
by rgillan
Hi,
Have a Neo2 module we're trying to get PPS-GPIO support working. We see that there is an overlay sun50i-a64-pps-gpio.dts that defines PD4 as the GPIO pin, but as we gather this is not wired out on the Neo2. Does anyone know the procedure we need to follow to get a specific Neo2 available GPIO pin used as a PPS input?
Thanks in advance
Rob

Re: Ubuntu 16.04 and PPS-GPIO

Posted: Thu Feb 15, 2018 6:19 am
by rgillan
So digging in the Armbian docs it looks like there's experimental overlay support:

https://docs.armbian.com/Hardware_Allwinner_overlays/

Will post once working in case anyone else is interested. Going to add the following to /boot/armbianEnv.txt:

param_pps_pin = PA6
param_pps_falling_edge = 0 (which is the default, may not be needed)