AM62 gpios push pull or open drain

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello Richard,

Thank you for reaching out with your question about the GPIO configurations on the Verdin AM62 module. The behavior you’re observing with the need for an external pull-up resistor suggests that those specific GPIO pins might be configured as open-drain outputs.

In general, GPIO pins can be set as either push-pull or open-drain:

  • Push-Pull Configuration: This allows the pin to drive both high and low states actively, which is typical for most GPIO outputs.

  • Open-Drain Configuration: Here, the pin can only drive a low state, requiring an external pull-up resistor to achieve a high state. This is useful for certain applications like wired-AND logic or interfacing with different voltage levels.

For the Verdin AM62, the default configuration of a GPIO pin can depend on its previous function, such as if it was used for SDHCI or another peripheral. When repurposing such pins as GPIO, it is essential to ensure they are configured correctly in the device tree to match your desired electrical characteristics.

I recommend checking the Verdin AM62 module’s datasheet or technical reference manual for details on the default configuration of each GPIO pin. Additionally, review the device tree settings to ensure the pins are configured as needed for your application. This should help resolve the issue you’re experiencing.

If you have further questions or need additional assistance, feel free to ask.

Best regards,
Toradex AI Assistant.

Please, also check if these links can help you solve your problem:

Adding GPIO to device tree overlay.