Skip to main content
Associate II
August 21, 2026
Question

How to program an EVLSPIN32G0B2 ?

  • August 21, 2026
  • 6 replies
  • 78 views

Good morning, 

 

I’m trying to build a project based on EVLSPIN32G0B2 evaluation board.

I’m trying to establish a connection between the board and the STM32CubeProgrammer.

Checking the electrical scheme, I saw that the USB connector on the evaluation board is connected to the port PB6 and PB7 (pins 45 and 46 of the SPIN32G0B2) which are the wires of an I2C port.

 

Do I need any interface ?

What’s the secret for a working connections ?

 

Thanks

Stefano

 

P.S. there’s another post on the same argument I wrote few days ago.

I can’t delete it, can a moderator delete it for me ? It is useless. Thanks.

 

6 replies

Karl Yamashita
Principal
August 21, 2026

I just looked at the schematic and the USB connector connects to the built-in ST-Link (STM32F103CBT6), not to PB6 and PB7 on STSPIN32G0B2. The VCOM on the ST-Link is connected to PB6 and PB7 which should be configured as U(S)ART.

STM32CubeProgrammer should be able to connect to the STSPIN32G0B2 as is. 

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
MHoll.2
Senior III
August 22, 2026

The Usb is “only” connected to the integrate ST-LINK (STM32F103), not the SOM. To programm the SOM, you need to use the USB port, connected to the PC, this will give you the possibilty to program via the (virtual) COM Port or the ST-LINK debug port (SWIO/SWCLK) using the firmware present in the ST-LINK on board. (sellecting UART or ST-LINK).

_Stefano_Author
Associate II
August 24, 2026

Good morning,

 

I checked again and it doesn’t work.

 

Here is what’s happening

Note: the bicolor led on the board is always red, maybe this is an indicator that ST-LINK is not ready ?

 

Thank you

Stefano

 

 

Karl Yamashita
Principal
August 24, 2026

In STM32Cube Programmer, you’re connecting as UART. You need to connect by ST-LINK and program the bin, hex or elf file using SWD.

From the schematic, the boot pin on the STSPIN32G0B2 has no boot button so you can’t use the built-in system bootloader. You have to program by ST-LINK SWD.

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source