USB-PD over STM32G0 in default current mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-20 1:59 AM
Hello,
I'm testing USB Power Delivery (in dula role power) over STM32G0.
I used ST wiki guide : https://wiki.st.com/stm32mcu/wiki/Introduction_to_USB_Power_Delivery_with_STM32
It's works except for a specific case :
- STM32G0 is configured in DRP-Source with PDO 5V/2A
- I connect to it a Sink which required 5V/3A
- Then the Source can provide this power
- In this case, I would like that USB power works at default current (500mA)
- Unfortunatly, it doesn't work and USB-PD power negociation restarts indefinitely
Is there a way to correct that ?
- Labels:
-
STM32G0 Series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-20 2:58 AM
Hello @Vvedr.11
Have you tried this wiki? STM32StepByStep:Getting started with USB-Power Delivery Sink - stm32mcu used with NUCLEO-G071RB
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-20 3:01 AM
No, Because I want a Dual Role Power device.
I used this one : https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Getting_started_with_USB-Power_Delivery_Dual_Role
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-20 10:03 AM
I hope this helps !
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-21 2:10 AM
Unfortunately not.
My issue is to control current provide and not Voltage settings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-21 9:09 AM
Hi again @Vvedr.11
You need to use UCPD monitor hardware components to measure and control the current for further investigation. Controlling current involves voltage settings. You should check your PDOs in the file usbpd_pdo_defs.h, if you have activated the utility (_GUI_INTERFACE switch), in the STM32CubeMonitor-USBPD 'Port Configuration/SINK Capabilities' tab. It's possible that your operational current is too high for what your source can provide. You may need to adjust the PDOs to match the capabilities of your source and sink.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-28 12:44 AM
I checked with STM32CubeMonitor-USBPD and data confirmed that Sink asks more current than Source can provide.
In my application, I design only the Source and it's mandatory to limit it to 5V/2A. I can't adjust Sink capability because any USB-C device can be connect to it.
In the case where the Sink asks more current than Source can provide, I want limit current to legacy 500mA. but I don't know how to do that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-28 2:01 AM
Hi again @Vvedr.11
Unfortunately, the request may be rejected because the current request is too high compared to the source capabilities.
For further support, It would be helpful to have the protocol trace see here
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.
