Instruction set

Post here first, or if you can't find a relevant section!
Post Reply
SkydiveB
Posts: 5
Joined: Thu Jul 07, 2022 10:30 am

Instruction set

Post by SkydiveB »

Hi folk,
i'm new to the STM32. I converted from the ATMEGA 2560. Is there anywhere a listing, documenttion about the instructions the STM is working on under the IDE. A pdf or book or something where the addons are described would be fine.

Many thanks Klaus :D
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: Instruction set

Post by ag123 »

for now it is here
https://github.com/stm32duino/wiki/wiki
https://github.com/stm32duino/wiki/wiki/API

many of other Arduino API works
https://www.arduino.cc/reference/en/

importantly, keep the specs sheets and user manual for your chip handy
e.g. stm32f103c8
https://www.st.com/resource/en/datashee ... f103c8.pdf
ref manual for stm32f103 series
https://www.st.com/resource/en/referenc ... ronics.pdf

spec sheet for stm32f401cc - it is the 'smallest' one, pretty representative of the f4xx series, better f4xx chips has more stuff some of them runs at 168 Mhz *fast* - e.g. stmm32f407, stm32f405
https://www.st.com/resource/en/datashee ... f401cc.pdf
ref manual for stm32f405/f407
https://www.st.com/resource/en/referenc ... ronics.pdf

and keep the schematics for your board handy
stm32s are *elaborate* mcus, you'd only need to review the ref manual to see it
as for the 'rest' there are a lot of books on stm32 programming, all it takes is some google searches around

for 'newbies' i'd recommend just go (straight) for a Nucleo stm32f401 or stm32f401 pill board.
this has more sram and flash and is faster than stm32f108c8 (even for the same Mhz) that used to be popular.
and that stm32f4xx has a built-in dfu boot loader.
Adafruit / Olimex / Micropython etc has a stm32f405 board which is much faster.
but for starting up, stm32f401 is well and good.
Post Reply

Return to “General discussion”