2026-04-07 11:13 PM - last edited on 2026-04-07 11:50 PM by Peter BENSCH
Hi everyone,
I saw that ST give a C driver for STUSB4500 and even have a binary to test the 4531 on some boards.
Can ST provide a C library for this chip ?
Thanks.
2026-04-23 11:17 AM
Hi,
No one to assist on this?
Thanks
2026-04-27 8:08 AM
Dear Hamady,
There is not such C code example for STUSB4531.
You should find all the needed information in the on-line Application Notes.
Do not hesitate to describe what you intend to do.
As a remind, the STUSB4531 works as a standalone for "standard" use case, I2C communication is required only if you want to extend its capabilities using the Hybrid mode.
Best regards,
2026-04-27 8:55 AM
Hi thanks
M'y main goal is to put in NVM the bit USB_COMM_CAPABLE to 1 to enable data communication on USB devices . Also set max pdo voltage to 30V max beacause our hardware can't handle 42V
Also i'm coming from STUSB4500 that showed a lot of hardware issue (4 board with chip dead /5) we have copied the scematic from ev board . Internally do you have seen issue with STUSB4500 that have been fixed with 4531 ?
Thanks
2026-04-29 2:44 AM
Dear Hamady,
For NVM access, you can refer to the Application Note AN6388 : https://www.st.com/resource/en/application_note/an6388-how-to-read-or-to-write-stusb4531-nvm-content-stmicroelectronics.pdf
Note that for EPR range (from 20V to 48V), external HV protection and supervision are required as STUSB4531 AMR=28V.
Concerning STUSB4500, no failure or weakness have ever been arisen from the field, and it has been deployed by millions of units ! I just saw the other thread opened in ST community by valentinescott03, I will dig into it.
Regards.