Moving to STM32, noobs ask for help on selecting chip
Posted: Fri Mar 26, 2021 3:23 pm
Hi, I'm designing a new circuit using an STM32 instead of the AVR.
I've had a Nucled dev board for years... I got it like 8 years ago!
That said, I'm interested in designing something simple to start with but I cannot find a good starting point.
I've seen that there are idfferent bootloaders, cores etc.
My plan for now is to create a some sort of RTC just to start handling soemthing more than GPIOs.
Using the web mbed is quite easy but I would like to better understand how a good approach on thoose chips is.
Back in time there were none, and the core was not well documented, I remember that only CubeMX was the way to go and there was a lot of missing documentation on how to setup the build envoroment if you don't had bought the IDE + SDK.
My project beeing emulating a RTC chip hould have the following HW functions:
IRQ pin when an alarm is triggered.
SCK output of the LSE clock.
And I2C slave to communicate with a master.
SW side I just want to set the time and read it and add alarm that trigger the IRQ pin.
That said I don't completly uderstand why some chips HAVE MCO and other not. Some chips with more flash/ram does not have it or it can driven only from PLL/HSE.
Does you think that creating something similar is easy?
How hard is to port it between chips? My dev board is a STM32F4 but my final plan it to use a STM32F0.
I dont get how to compare chips that looks so similar to me, like:
STM32F030C8
STM32F070CB
STM32F051C8
Anyway looks like that there is no Value line chip that have MCO with the MUX able to witch to the LSE clock and a decent quantity of flash the STM32F030C8 was perfet but no LSE output.
My current dev board is a Nucleo F401re.
Regards,
hitech95.
I've had a Nucled dev board for years... I got it like 8 years ago!
That said, I'm interested in designing something simple to start with but I cannot find a good starting point.
I've seen that there are idfferent bootloaders, cores etc.
My plan for now is to create a some sort of RTC just to start handling soemthing more than GPIOs.
Using the web mbed is quite easy but I would like to better understand how a good approach on thoose chips is.
Back in time there were none, and the core was not well documented, I remember that only CubeMX was the way to go and there was a lot of missing documentation on how to setup the build envoroment if you don't had bought the IDE + SDK.
My project beeing emulating a RTC chip hould have the following HW functions:
IRQ pin when an alarm is triggered.
SCK output of the LSE clock.
And I2C slave to communicate with a master.
SW side I just want to set the time and read it and add alarm that trigger the IRQ pin.
That said I don't completly uderstand why some chips HAVE MCO and other not. Some chips with more flash/ram does not have it or it can driven only from PLL/HSE.
Does you think that creating something similar is easy?

How hard is to port it between chips? My dev board is a STM32F4 but my final plan it to use a STM32F0.
I dont get how to compare chips that looks so similar to me, like:
STM32F030C8
STM32F070CB
STM32F051C8
Anyway looks like that there is no Value line chip that have MCO with the MUX able to witch to the LSE clock and a decent quantity of flash the STM32F030C8 was perfet but no LSE output.
My current dev board is a Nucleo F401re.
Regards,
hitech95.