ang Posted August 2, 2025 Posted August 2, 2025 (edited) Is there any CLI image new or old that already supports PPS? I'm not having progress using the default overlay (pps-gpio) or a custom one. Edited August 2, 2025 by ang 0 Quote
Guest Posted August 3, 2025 Posted August 3, 2025 Please use Zero2, not Zero3, and use my DTS overlay, you can find it in other posts. 0 Quote
Guest Posted August 3, 2025 Posted August 3, 2025 Here: https://forum.armbian.com/topic/28425-spi-problem-with-orange-pi-3-lts/#findComment-222557 0 Quote
Guest Posted August 8, 2025 Posted August 8, 2025 This is my config, maybe it will help you a little. use UART5 to attach a GPS module, PPS connect to PC11 /boot/armbianEnv.txt overlay_prefix=sun50i-h616 overlays=uart5 user_overlays=pps-gpio param_pps_pin=PC11 /etc/default/gpsd # Devices gpsd should collect to at boot time. # They need to be read/writeable, either by user gpsd or the group dialout. DEVICES="/dev/ttyS1" # Other options you want to pass to gpsd GPSD_OPTIONS="-n -G" # Automatically hot add/remove USB GPS devices via gpsdctl USBAUTO="false" /etc/chrony/conf.d/gpstime.conf # for GPSD refclock SHM 0 refid GPS precision 1e-1 offset 0.120 delay 0.2 # for GPSD PPS , worka refclock PPS /dev/pps0 refid PPS allow all pps-gpio.dts: /* * PPS-GPIO for H616 * * for Zero2, use PC9 * for Zero3, use PC11 * for Zero2W, use PI5, not success * * feiyao@me.com */ /dts-v1/; /plugin/; / { compatible = "allwinner,sun50i-h616"; fragment@0 { target = <&pio>; __overlay__ { pps_pins: pps_pins { pins = "PC11"; /* Zero3 */ function = "gpio_in"; }; }; }; fragment@1 { target-path = "/"; __overlay__ { pps@0 { compatible = "pps-gpio"; pinctrl-names = "default"; /* pinctrl-0 = <&pps_pins>; */ gpios = <&pio 2 11 0>; /* PC11 @ Zero3 */ status = "okay"; }; }; }; }; build and install pps-gpio.dts: sudo armbian-add-overlay pps-gpio.dts 0 Quote
Recommended Posts
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.