Skip to main content
Visitor II
March 25, 2021
Solved

I want to power the STM32MP157 card by the + 5V of the CN2 connector to integrate the card on a motherboard of a control system. The card does not boot if power is supplied from CN2.

  • March 25, 2021
  • 2 replies
  • 1455 views

Only the power supply via USB C CN6 allows booting with detection of the presence of voltage on GPIO PA5 and PA4. Is there a way to modify this control mode and be able to boot with a CN2 power supply? Is it possible to modify the FW so as not to read the two GPIOs ? Thank for help.

    This topic has been closed for replies.
    Best answer by PatrickF

    Hi,

    I think removing this property in uBoot Device Tree would be enough.

     		st,adc_usb_pd = <&adc1 18>, <&adc1 19>;

    See https://wiki.st.com/stm32mpu/wiki/How_to_configure_U-Boot_for_your_board#Config_node

    Regards.

    2 replies

    PatrickFAnswer
    Technical Moderator
    March 26, 2021

    Hi,

    I think removing this property in uBoot Device Tree would be enough.

     		st,adc_usb_pd = <&adc1 18>, <&adc1 19>;

    See https://wiki.st.com/stm32mpu/wiki/How_to_configure_U-Boot_for_your_board#Config_node

    Regards.

    PFUMA.1Author
    Visitor II
    March 26, 2021

    Thanks !