switching to f401 and maybe f411 is partly to overcome the 20k sram hard limit. as the 'bigger' stm32f103 e.g. stm32f103rb or re series after all cost more.ozcar wrote: Wed Mar 17, 2021 7:27 pm I have what is probably a lifetime supply of F103 blue and black pills. That is not saying much really, as so far in my lifetime I've only used about 1.5 of them. Truth be known, for the sort of things I do, lowly AVR based Nanos or Pro Micros are all I need.
Some time ago I got a couple of F303CC black pills, thinking that a bit more RAM, the FPU, DACs and OPAMPs must surely be useful for the small increase in cost. Then I spied F411CE some-shade-of-black pills and I just had to get a couple of those. They have provision for a SPI flash chip to be added - my SMD soldering skills are practically non-existent, but on a good day I could maybe manage to do that. So perhaps you could say I have switched to the F411, but I have yet to find a real use for them (or the F303s).
i figured that f401 / f411 pill boards happen to be convenient and that 64k sram is plenty more compared to 20k on stm32f103c8. and in addition stm32f401 has an fpu and 'ART' accelerator (on chip cache). app runs quite a bit faster on stm32f401 vs stm32f103c8
some benchmarks like the adafruit ili9341 lcd graphics test would give an idea of how much 'better' it is
https://github.com/ag88/Adafruit_ILI934 ... nd-results
it doesn't look 'a lot' but that every different benchmark shows an improvement, and running various other sketches feels faster as well
one of those things i ran out of sram for is when using stm32f103c8 pill boards as a 'web server', connected across to esp8266 (esp-01) module
e.g. https://www.instructables.com/Getting-S ... 66-ESP-01/
the idea that you can show a web, say the led and you can 'blink' the led clicking the button on the web is still an attractive idea.
and obviously there are more, e.g. a 'web' oscilloscope using stm32's adc, the ideas go on
the trouble is all these 'web servers' are extremely ram hungry and no matter how much ram there is i'd guess it'd never be enough.
just that 64k still feels much breather vs 20k sram
for the f303 i've got one piece gathering dust as well, is its 5 msps x 4 adc giving a max sample rate of 20 msps quad interleaved.
then it is also one of those chips that has in addition comparators and op amps built into it. very much a 'analog' stuff chip.
in the same way i've not played much with that
one of those postbag stuff that may be worth considering is these spi psram
https://lcsc.com/product-detail/RAM_Lyo ... 61881.html
https://www.aliexpress.com/item/1005001958882492.html
https://www.aliexpress.com/item/4000164056594.html
i've one of these similar one soldered on the f401cc black pill board at the spi1 pads below
they kind of give an extra 8 MB of 'ram storage' (not quite memory) for these tiny mcus