Taking a look at STM32G0 series

Anything not related to STM32
ag123
Posts: 1492
Joined: Thu Dec 19, 2019 5:30 am
Answers: 20

Re: Taking a look at STM32G0 series

Post by ag123 »

I've a feeling that these days some 'peripherals' are after all software, which is a reason we occasionally see a difference.
They are likely the same silicon.
dannyf
Posts: 314
Joined: Sat Jul 04, 2020 7:46 pm

Re: Taking a look at STM32G0 series

Post by dannyf »

got my G031 chips. Everything worked out fine.

Except timer2 prescaler update. TIM2/3/4 fall into the same group but their prescalers behave different. Earlier STM32 chips have a bug whereby you have to set the UG bit in the EGR register to force a prescaler update. That hasn't been true on recent chips, including G030/G031, except TIM2 whereby you have to manually force an update. Not necessary on any other timers on G030/G031.
dannyf
Posts: 314
Joined: Sat Jul 04, 2020 7:46 pm

Re: Taking a look at STM32G0 series

Post by dannyf »

I think STM32G030 is the same chip as STM32G031.
having played them for a while, they are not exactly the same :)

1. TIM2, LPTIM1/2, and LPUART work on G030. UID works on G030 too.
2. However, executing G031's pin assignment regime for LPUART locks up G030 - unable to restore comms with the chip. haven't found a way to recover from that.

So, something is different between those two.
Post Reply

Return to “Off topic”