Author Topic: STM32G0 that just won't connect  (Read 606 times)

0 Members and 1 Guest are viewing this topic.

Offline satyamfifaTopic starter

  • Regular Contributor
  • *
  • Posts: 65
  • Country: nl
STM32G0 that just won't connect
« on: February 01, 2024, 02:45:49 am »
Hey All,

I made my first STM32 board using STM32G0B1RE, it arrived today, since it's blank I expected the MCU to jump into bootloader and start the DFU, however this did not happen, MCU was not detected at all by the USB, I checked further and USB DP was not pulled high which was unexpected.

To check if the MCU has been entered the bootloader I check the UART TX and I2C SCK pins, and they are indeed high, indicating that MCU was indeed entered the bootloader. However, MCU is again not detected by UART.

Finally, I decided use another NUCLEO board as a programmer with the SWD interface, again, the MCU is not detected. I expect the SWD interface to work irrespective of bootloader.

Pulling up or down the BOOT0 makes no difference. I probed the board, and everything seems normal, voltages connections etc. I have 220 ohms series resistor on the SWD interface, which is little on the high side, but I don't think that should make a difference.

It just seems like MCU enters into bootloader, tries to initialize the peripherals, and just freezes. Only thing that seems to be working it the RESET pin, when it's pulled low all GPIOs go low.

Kind Regards,

Sparsh
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5914
  • Country: es
Re: STM32G0 that just won't connect
« Reply #1 on: February 01, 2024, 04:42:47 am »
Schematics?
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline satyamfifaTopic starter

  • Regular Contributor
  • *
  • Posts: 65
  • Country: nl
Re: STM32G0 that just won't connect
« Reply #2 on: February 02, 2024, 06:48:46 am »
Well, I made a blunder, as it turns out STM32G0R1BETx doesn't have the same pinnout as STM32G0B1RETxN even though both are LQFP64 package. Also I learnt that x at the end of part number can sometimes be a little misleading as I learnt the hard way.

But fortunately for me, I was able to make my board work by patching just one wire.

[ Specified attachment is not available ]
« Last Edit: February 02, 2024, 06:50:51 am by satyamfifa »
 

Offline Berni

  • Super Contributor
  • ***
  • Posts: 4957
  • Country: si
Re: STM32G0 that just won't connect
« Reply #3 on: February 02, 2024, 06:54:08 am »
Yep been bitten by that one too before.

Seams like ST really loves to make alternative pin outs for a chip designated by a letter way at the end of the partnumber where you might assume it just means a temperature range or reel package type or something irrelevant like that, but nope.

At least this one is reasonably consistent, i had a while section of IO pins shifted over due to an extra letter on the end of the partnumber.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf