cancel
Showing results for 
Search instead for 
Did you mean: 

Can we use any STM32 Nucleo board to customize STUSB4500 NVM settings?

BHan.1
Associate II

Hi,

I'm trying to configure my STUSB4500 by following the STSW-STUSB002 quick start guide.

I have everything ready except for the NUCLEO-F072RB board.

Instead, I have Nucleo-H743ZI2 and the STM32F769 Discovery board, but I'm pretty sure I can't just drag and drop the F072RB board binary to my boards.

Is there a way to tweak the binary or create a new binary to work on Nucleo-H743ZI2 or the STM32F769 Discovery board?

I can buy the Nucleo-F072RB for $15, but if I could use my current boards, it will be great.

Thank You

1 ACCEPTED SOLUTION

Accepted Solutions
Gregory Go.
Senior II

Hello,

The GUI for STUSB4500 (STSW-STUSB002) only works with Nucleo-F072RB board.

But there is a way to program the STUSB4500 with any STM32-Nucleo-board, by using the software example to program the NVM memory of STUSB4500:

STSW-STUSB004 : NVM customization library for STUSB4500

https://www.st.com/content/st_com/en/products/embedded-software/evaluation-tool-software/stsw-stusb004.html

Steps:

1/ Port the NVM customization library for your STM32 version.

(By default the example is compiled for STM32F072RB)

2/ Use the STUSB4500 GUI offline to generate a customization file

3/ Run the ported STM32 firmware with the generated file, to flash the STUSB4500

View solution in original post

5 REPLIES 5
Gregory Go.
Senior II

Hello,

The GUI for STUSB4500 (STSW-STUSB002) only works with Nucleo-F072RB board.

But there is a way to program the STUSB4500 with any STM32-Nucleo-board, by using the software example to program the NVM memory of STUSB4500:

STSW-STUSB004 : NVM customization library for STUSB4500

https://www.st.com/content/st_com/en/products/embedded-software/evaluation-tool-software/stsw-stusb004.html

Steps:

1/ Port the NVM customization library for your STM32 version.

(By default the example is compiled for STM32F072RB)

2/ Use the STUSB4500 GUI offline to generate a customization file

3/ Run the ported STM32 firmware with the generated file, to flash the STUSB4500

Hello Greg,

Thanks for the answer.

Just a follow-up question. When we do use the Nucleo boards to set STUSB4500, the STSW-STUSB002 guide picture shows only SCL and SDA connections to the Nucleo board.

0693W000007BRVuQAO.pngDoes "EVAL-SCS001V1 must be supplied through USB connector" mean I have to connect a separate 5V power supply to the STUSB4500 board or I have to jump power from the Nucleo board to the STUSB4500?

The information on the page is a little confusing.

Thank you

Both ways shall work.

Supplying through USB connector means to supply Vdd with 5V from Vbus.

Indeed the picture only shows the I2C connection, but not the Power connection.

Yes, The EVAL-SCS001V1 board requires to be power supplied to be able to program the STUSB4500. 

You can power the board by providing 5V to VDD, either from the USB-C cable, or by wiring direclty the VDD pin to a 5V source (from the Nucleo board for example).

The easiest way is to connect a USB-C power supply to EVAL-SCS001V1 board (the eval board has a USB-C connector).

Thank you Winfred, Greg,

I tried connecting the Nucleo-F072RB SDA, SCL, GND to my custom board, but the tool is giving me the I2C Read error. error number: -2.

I'm assuming this error is caused when the Nucleo board can't read the data from the STUSB4500.

My board is almost identical to the EVAL-SCS001V1 board,​ and there's external 4.7k I2C pull up resistors to 3.3V.

Do the I2C lines have to be pulled up to 5V?

I attached my schematic for your reference.

0693W000007ELukQAG.jpg0693W000007EM4QQAW.jpg