cancel
Showing results for 
Search instead for 
Did you mean: 

STUSB4531 driver

Hamady
Senior

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.

4 REPLIES 4
Hamady
Senior

Hi,

No one to assist on this?

Thanks

Didier HERROUIN
ST Employee

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,


In order 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.
Hamady
Senior

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

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.


In order 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.