© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
DevHeads IoT Integration ServerDIIS
DevHeads IoT Integration Server•2y ago•
4 replies
Dtynin

GPIO Pin Configuration Error for DHT22 on AVR32UC with Zephyr OS

@Dark AI Earlier, I added the pinmux settings and ensured they were included in the board's DTS file. The updated configuration looked like this:
&pio {
    pinmux_dht22: pinmux_dht22 {
        pins = <AVR32_PIN_PB02 GPIO_FUNC>;
    };
};

&gpio0 {
    status = "okay";
    dht22_pin: dht22_pin {
        gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
    };
};
&pio {
    pinmux_dht22: pinmux_dht22 {
        pins = <AVR32_PIN_PB02 GPIO_FUNC>;
    };
};

&gpio0 {
    status = "okay";
    dht22_pin: dht22_pin {
        gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
    };
};

Despite these changes, I’m still encountering the same error when configuring the GPIO pin.
DevHeads IoT Integration Server banner
DevHeads IoT Integration ServerJoin
The DevHeads IoT Integration Server accelerates technology engineering by helping pro devs learn, share and collaborate.
2,984Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to Resolve GPIO Pin Configuration Failures for DHT22 Sensor on AVR32UC with Zephyr OS?
DevHeads IoT Integration ServerDIISDevHeads IoT Integration Server / 🪲-firmware-and-baremetal
2y ago
How to Resolve DHT22 Sensor Driver Binding Issue with Zephyr OS on AVR32UC?
DevHeads IoT Integration ServerDIISDevHeads IoT Integration Server / 🪲-firmware-and-baremetal
2y ago
How to Fetch and Display Data from DHT22 Sensor on AVR32UC with Zephyr OS?
DevHeads IoT Integration ServerDIISDevHeads IoT Integration Server / 🪲-firmware-and-baremetal
2y ago
How Can I Consistently Handle Sensor Data Read Failures on AVR32UC with Zephyr OS?
DevHeads IoT Integration ServerDIISDevHeads IoT Integration Server / 🪲-firmware-and-baremetal
2y ago