2025-02-12 04:21 AM
Hello everyone,
I'm currently working on a USB Type‑C Power Delivery design using the STM32U575VGT6Q and the TCPP01‑M12. According to the TCPP01‑M12 datasheet and the example from the UM2581 STM32L5 Nucleo Board, the DB pin should be connected to a GPIO pin on the MCU.
The MCU provides two DB signals to properly indicate a dead battery condition. Can these signals be used and fed to the TCPP01‑M12 DB pin?
However, I cannot find any option in CubeMX to select or configure just one DB signal – it appears that this specific configuration is not available in the graphical interface.
Has anyone encountered this issue?
Should the second DB signal be connected together with the first one?
Should I leave it unconnected or tie it to a defined potential?
Is stacking of an external interrupt on the second DB signal a suitable workaround to use it for the FLT signal?
Thanks in advance for any help!
Solved! Go to Solution.
2025-02-17 12:54 AM
Hi @EniRot99
Well, not exactly! You won't need dead battery pins provided by the MCU peripheral (UCPD), since TCPP01-M12 protection handles it. For further information, check section 6.5 How to handle dead battery (DB) condition with the TCPP01-M12 in Datasheet.
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.
2025-02-12 06:22 AM
Hi @EniRot99
For this nucleo board, TCPP12 is responsible of Dead Battery feature.
However, as you mentioned, STM32L5 MCU provides two DB signals to feature a dead battery without protection (which is not highly recommended)
To implement the board setup on MX, you need to enable TCPP software package.
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.
2025-02-14 04:36 AM - edited 2025-02-14 04:37 AM
Hi @FBL
So do I understand it right, I don't need to use the mcu peripheral, since TCPP01-M12 handles it in this case?
In this case I connect the DB signal input from TCPP01-M12 with a pullup resistor to VBAT and is handles every thing by it self?
2025-02-17 12:54 AM
Hi @EniRot99
Well, not exactly! You won't need dead battery pins provided by the MCU peripheral (UCPD), since TCPP01-M12 protection handles it. For further information, check section 6.5 How to handle dead battery (DB) condition with the TCPP01-M12 in Datasheet.
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.