2024-11-11 10:55 PM - last edited on 2024-11-11 11:00 PM by SofLit
Hello,
I'm working with the STM32U575VGT6 as my primary MCU and need a USB-C DRP PD IC. I'm considering the TCPP03-M20 or STUSB1600AQTR. My question is, when the PD operates in sink mode (during charging), we intend to turn off all power supplies, including the MCU. Is it possible to use these ICs in sink mode without the MCU? Additionally, we need the PD to act as a source when external peripherals are connected to this board through USB-C.
2024-11-12 02:29 AM
Hi @NajeemSyed
Given your requirements, and as of the progress of certification of power delivery, I recommend using TCPP03 with STM32U5 MCU.
X-CUBE-TCPP V4 package, is certified for USB-PD 3.1, providing support for the latest USB Power Delivery specification. So, by leveraging the strengths of both the TCPP03-M20 and the STM32U5 MCU, you can achieve a robust and efficient power delivery solution.
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.
2024-11-13 05:15 AM
Subject: Issue with USB Data Transfer and Battery Charging on STM32U575ZI
Hello,
We are working on implementing a dual-role USB Power Delivery (USBPD) setup with an internal battery. The system is designed so that when an external charger is connected to the STM32U575ZI, it charges the internal battery. However, when the STM32U083RC (external device) is connected to the same USB port, the STM32U575ZI provides power to the STM32U083RC. This is the expected behavior for our application.
**Hardware Setup:**
We are using the TCPP03-M20 USB Type-C Power Delivery protection IC for dual-role power application, as outlined in this [ST link](https://www.st.com/en/protections-and-emi-filters/tcpp03-m20.html?ecmp=tt9470_gl_link_feb2019&rt=db&id=DB4442).
For testing purposes, we are using the X-NUCLEO-DRP1M1 expansion board and following the steps from this [video tutorial](https://www.youtube.com/watch?v=mJ4VX_2B6wE), which uses the STM32G071RBT.
However, we have encountered two main issues:
1. **X-NUCLEO-DRP1M1 options not appearing in STM32CubeMX for STM32U575ZI:**
We are unable to enable the X-NUCLEO-DRP1M1 options in STM32CubeMX for STM32U575ZI, as shown in the video tutorial (see attached picture).
2. **DMA configuration not available for STM32U575ZI:**
While the DMA options are available and configurable when using STM32G071RBT, they do not appear for STM32U575ZI. We are unable to enable DMA options for Nucleo board STM32U575ZI, as shown in the picture.
NOTE- same we tried with custom PCB we are getting same result.
Could you please advise on how to configure the X-NUCLEO-DRP1M1 and enable DMA on Nucleo board STM32U575ZI?
2024-11-14 03:01 AM
Dear NajeemSyed
X-NUCLEO-DRP1M1 are in Nucleo-64 form factor so it is dedicated to be plugged directly on a NUCLEO-G0xx or G4xx.
this is ony in this case that you can use the X-NUCLEO-DRP1M1 BSP.
Then in your case, you have to define required resources :
- I2C
- GPIO Out for Enable
- EXTI for FLAG
- At least 1 ADC Channel for Vbus
And in the X-Cube-TCPP software pack, "Platform settings" affect these resources to the application requirements.
The video is using STM32G0xx MCU in its example. This MCU is using DMA,
For STM32U5 go to the GPDMA page.
Best regards
Pascal