GPIO1_IO05 pin set high at boot

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

Did you like my answer?

:+1: :-1:


The GPIO1_IO05 pin is likely set high during the boot process due to default configurations in the bootloader (u-boot) or the ATF (Arm Trusted Firmware). This behavior is common in embedded systems where GPIO pins may default to a high state unless explicitly configured otherwise. To avoid this, you can:

  1. Modify Bootloader Configuration (u-boot): Adjust the GPIO initialization code in u-boot to explicitly set GPIO1_IO05 to low during the early stages of the boot process. This can typically be done by adding specific commands in the bootloader source code or configuration files.

  2. Adjust ATF Settings: Review and modify the ATF settings to ensure that GPIO1_IO05 is initialized to low during the boot sequence. This may involve changing the default state of the GPIO pin in the ATF source code or configuration files.

  3. Device Tree Overlays: If applicable, use device tree overlays to set the GPIO pin state appropriately during the boot process.

By making these changes, you can ensure that the pin is set low before the motor driver is activated, thus eliminating the unwanted “jump” behavior.

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

Controlling the peripheral in IMX8 with M4 core.