Skip to main content
Associate
June 21, 2024
Solved

Cannot light up the LCD of STM32MPU135-DK

  • June 21, 2024
  • 1 reply
  • 1883 views
  • If the board power supply does not supply enough current (3A), the red LED indicates the issue following the rules below:

LED blinking mode Console message Boot process

TwiceWARNING 500mA power supply detected

Current too low, use a 3A power supply!

Continue and red LED stays ON
3 timesWARNING 1500mA power supply detected

Current too low, use a 3A power supply!

Continue and red LED stays ON
foreverERROR USB TYPE-C connection in unattached mode

Check that USB TYPE-C cable is correctly plugged

stop
foreverUSB TYPE-C charger not compliant with USB specificationstop

I confirm that my power supply supports 5V3A.

my log as follow:

Previous ADC measurements was not the one expected, retry in 20ms

********************************************************

*    WARNING 500mA power supply detected     *

*    Current too low, use a 3A power supply!        *

*******************************************************

 

 

 

 

Best answer by PatrickF

HI @tomcat 

current which could be provided by the supply is one thing, but the current capabilities exposed to the USB Type-C as per the standard matters.

I think you are using a Type-A -> Type-C cable. Please try an USB Type-C charger.

Alternatively, there is way to disable this check in the device tree.

Regards

1 reply

PatrickF
PatrickFBest answer
Technical Moderator
June 21, 2024

HI @tomcat 

current which could be provided by the supply is one thing, but the current capabilities exposed to the USB Type-C as per the standard matters.

I think you are using a Type-A -> Type-C cable. Please try an USB Type-C charger.

Alternatively, there is way to disable this check in the device tree.

Regards

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.NEW ! Sidekick STM32 AI agent, see here
tomcatAuthor
Associate
June 23, 2024

First of all, thank you for your reply!

I've tried using an USB Type-C charger, the result was the same.

--"Alternatively, there is way to disable this check in the device tree. "

--What can I do to  disable this check in the device tree?

PatrickF
Technical Moderator
June 24, 2024

HI @tomcat 

strange that an USB Type-C charger (with a Type-C <-> Type-C cable) does not work. There is probably some chargers not fully compliant with the standard (even if working with some phones, which could also use different way to detect capabilities like quick-charge).

To disable the check in the SW, see this post https://community.st.com/t5/stm32-mpus-boards-and-hardware/my-stm32mp157f-dk2-is-powered-by-5v-3a-psu-but-at-the-boot-up/m-p/211924/highlight/true#M472

It is related to STM32MP15-DK2, so definition is likely different as board is different, but it could probably help you.

Regards

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.NEW ! Sidekick STM32 AI agent, see here