Why USB_H1_PWR/USBH_PEN is not set high at startup of WEC2013 on IMX6DL?

Hi everyone,

I am currently developing on Colibri iMX6DL with WEC2013 1.5

On this one, pin 129 (USBH_PEN) is used to enable the extenal power supply for USB

Why USB_H1_PWR/USBH_PEN is not set high automatically at startup of WEC2013 ?

In registry, I tried to insert “EnablePEN”=dword:1 in [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\HCD_HSH1] or [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\HCD_HSH2] without success

The only way we found is to set high by using our API (gpio.Gpio_ConfigureAsGpio /gpio.Gpio_SetDir Gpio_SetLevel ) .

Without API (crashed at startup) no usb keyboard no mouse

Are we missing something ?

Can anybody help us ?

Thanks in advance

Dear @RaphLa,

Could you use the Gpio boot config block settings feature to set default pin functionality and state?
It is documented here : https://developer.toradex.com/knowledge-base/gpio-config-block-settings#iMX6

Please let us know if it doesn’t help.