2020-12-23 07:28 PM
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
Solved! Go to Solution.
2021-01-05 05:17 PM
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
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
2021-01-05 05:17 PM
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
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
2021-01-14 09:57 PM
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.
Does "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
2021-01-17 07:36 PM
Both ways shall work.
Supplying through USB connector means to supply Vdd with 5V from Vbus.
2021-01-18 06:01 PM
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).
2021-02-08 05:56 AM
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.