Skip to main content
Lead
March 24, 2024
Question

CC1 and CC2 - Do I need them for STM32MP157?

  • March 24, 2024
  • 1 reply
  • 1661 views

I'm going to build my own computer by using STM32MP157 and install OpenSTLinux onto it. 

The powering for STM32MP157 can be done via USB-C connection, but that requires an USB-C charger of 5 volts.

Can I skip that and only using a regular charger like 3.5 DC jack? I know that there are two pins that are connected to STM32MP157 processor. They are USB_PWR_CC1 and USB_PWR_CC2. They are connected to PA5 and PA4 at the processor.

Who is using these pins? Is it the OpenSTLinux? 

Do I really need them?

 

 

Skärmbild 2024-03-24 150039.png

This topic has been closed for replies.

1 reply

PatrickF
ST Employee
March 26, 2024

HI @DMårt 

CC1 and CC2 lines are used to detect the charger capabilities and uBoot will issue a message and blink red led.

This could be disabled in Device Tree if you are not using USB Type-C to power the board (or if you don't need such check).

See STM32MP157F-EV1 board for an example of 5V DC Jack power supply.

See also this rather old post on similar subject 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/211923

Regards

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent