cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with USB Data Transfer and Battery Charging on STM32U575ZI

Subject: WhatsApp Image 2024-11-11 at 10.20.16_4a2d1309.jpgWhatsApp Image 2024-11-11 at 10.20.16_fe1aa7e3.jpgWhatsApp Image 2024-11-11 at 10.19.41_86b6247a.jpgWhatsApp Image 2024-11-11 at 10.19.41_f5d9b51f.jpg

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 with STM32U575I-EV we are getting same result.

Could you please advise on how to configure the X-NUCLEO-DRP1M1 and enable DMA on Nucleo board STM32U575ZI?

0 REPLIES 0