Taking a look at STM32G0 series
Re: Taking a look at STM32G0 series
a ready-made board is much more convenient for sure. a minimalist board has its own appeal too.
Re: Taking a look at STM32G0 series
a 'minimalist' board is more like a module, hence all the pins are up to one to assign.
i'd think stm32g030f6 is a decent chip for 'minimalist' boards as the 'adapter pcb's are readily available.
the larger TSSOP/QFN 32 or 48 pin ones are somewhat more challenging, while adapter boards are available, many of them used a 'square' outline of 2.54 pitched pins, that basically rule out placing directly on a breadboard, and rather often one may want to have the HSE crystal permanently affixed and maybe a usb connnector etc. For those, i'd guess it'd be 'better' to use pre-designed PCBs e.g. pill style boards etc.
i'd think stm32g030f6 is a decent chip for 'minimalist' boards as the 'adapter pcb's are readily available.
the larger TSSOP/QFN 32 or 48 pin ones are somewhat more challenging, while adapter boards are available, many of them used a 'square' outline of 2.54 pitched pins, that basically rule out placing directly on a breadboard, and rather often one may want to have the HSE crystal permanently affixed and maybe a usb connnector etc. For those, i'd guess it'd be 'better' to use pre-designed PCBs e.g. pill style boards etc.
Re: Taking a look at STM32G0 series
qfn is beyond my soldering skills. never tried tssop48. tssop32 is doable for me.
Re: Taking a look at STM32G0 series
I just found out that there is this STM32G031 chip that has considerably more features than the STM32G030.
I'm ordering some F8 versions to try on.
One downside with those TSSOP20 pacakages: they don't have OSC_OUT pins so the use of an external crystal is not an option for those chips. But their HSI is quite accurate out of the box.
I'm ordering some F8 versions to try on.
One downside with those TSSOP20 pacakages: they don't have OSC_OUT pins so the use of an external crystal is not an option for those chips. But their HSI is quite accurate out of the box.
Re: Taking a look at STM32G0 series
nice find, it seemed the main things are some low poewer LPUART and low power timer utilities.
my main fuss is that it still has 8 kB sram, while adequate for 'light weight' apps, could become an issue with 'fatter' kernels.
have not tried stm32duino with either yet
my main fuss is that it still has 8 kB sram, while adequate for 'light weight' apps, could become an issue with 'fatter' kernels.
have not tried stm32duino with either yet
Re: Taking a look at STM32G0 series
I'm used to coding on chips with ram measures in bytes .
So 8kb is more than enough for me.
32kb flash is a sweet spot as well. My base code comes in at 4 to 8KB so plenty of space left for applications.
Will report back when I get my hands on them.
So 8kb is more than enough for me.
32kb flash is a sweet spot as well. My base code comes in at 4 to 8KB so plenty of space left for applications.
Will report back when I get my hands on them.
Re: Taking a look at STM32G0 series
STM32G030 and STM32G031 might be the same chip.
STM32G031 has a (32-bit) TIM2, while STM32G030 does not. However, this code blinks an led on STM32G030. Yes, TIM2 works on STM32G030 where it is not supposed to have a TIM2.
haven't tried other peripherals but would be surprised if they don't work.
STM32G031 has a (32-bit) TIM2, while STM32G030 does not. However, this code blinks an led on STM32G030. Yes, TIM2 works on STM32G030 where it is not supposed to have a TIM2.
Code: Select all
if (TIM2->CNT > F_CPU / 2) { //has enough time passed?
TIM2->CNT = 0; //if so, reset tim2 counter
led_flp(); //flip our led
}
Re: Taking a look at STM32G0 series
I can also confirm that LPTIM1 and LPTIM2 both work on STM32G030, inspite of the fact that neither shows up in the datasheet
Re: Taking a look at STM32G0 series
cool to find the 'extra' timers and LP timers
Re: Taking a look at STM32G0 series
LPUART1 exists on STM32G030 - not supposed to
I think STM32G030 is the same chip as STM32G031. Not complaining here.
I think STM32G030 is the same chip as STM32G031. Not complaining here.