How to make 'STM32F4xx DIY'?

Post here first, or if you can't find a relevant section!
Post Reply
myksj1105
Posts: 54
Joined: Sun Jun 18, 2023 11:35 am

How to make 'STM32F4xx DIY'?

Post by myksj1105 »

How to make 'STM32F4xx DIY'?

hello. Nice to meet you.
1. I want to make 'STM32F4xx DIY'.
2. I want to obtain materials such as schematics and bootloaders.
3. Is it possible to get a well-organized 'url' address? help.
by fpiSTM » Mon Aug 28, 2023 8:37 am
Hi, you can access to several schematics of Nucleo F4 and also refers to datasheets to see what is recommended components for some featres: example external oscillators.
Ex:
https://www.st.com/en/evaluation-tools/ ... -resources
Go to full post
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: How to make 'STM32F4xx DIY'?

Post by fpiSTM »

Hi, you can access to several schematics of Nucleo F4 and also refers to datasheets to see what is recommended components for some featres: example external oscillators.
Ex:
https://www.st.com/en/evaluation-tools/ ... -resources
myksj1105
Posts: 54
Joined: Sun Jun 18, 2023 11:35 am

Re: How to make 'STM32F4xx DIY'?

Post by myksj1105 »

@fpiSTM

Thank you for leaving a reply.
1) I was able to find the circuit for 'F1'.
2) No circuit found for 'F4'.
Can you check?
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: How to make 'STM32F4xx DIY'?

Post by fpiSTM »

Schematics are available within the link I provided before. Don't know why you didn't get it.
https://www.st.com/resource/en/schemati ... ematic.pdf

For each Nucelo or Disco boards you got the schematics.
ag123
Posts: 1653
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: How to make 'STM32F4xx DIY'?

Post by ag123 »

Adafruit makes a good STM32F405 board as well
https://www.adafruit.com/product/4382
it is small and fast and has lots of ram and flash
lots of tutorials etc for it circuit python etc, and no less mentions of stm32duino
https://learn.adafruit.com/adafruit-stm ... er-express

micropython make some quite similar boards, different processor for this one
https://store.micropython.org/product/PYBLITEv1.0

and you can always purchase a nucleo board from ST
https://www.st.com/en/evaluation-tools/ ... 401re.html
https://www.st.com/en/evaluation-tools/ ... 411re.html
https://octopart.com/search?q=nucleo+f4 ... SD&specs=0
https://octopart.com/search?q=nucleo+f4 ... SD&specs=0

if you are new to this platform, it is easier to get started with pre-made boards, and that those mentioned are well made, moderate costs and runs well.
myksj1105
Posts: 54
Joined: Sun Jun 18, 2023 11:35 am

Re: How to make 'STM32F4xx DIY'?

Post by myksj1105 »

@fpiSTM
@ag123
Thanks for your reply.

Core: https://github.com/rogerclarkmelbourne/Arduino_STM32
Are there any boards that work with the ‘core’ above?
Does the board you recommended have to run on a different core?
ag123
Posts: 1653
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: How to make 'STM32F4xx DIY'?

Post by ag123 »

that core (libmaple) is deemed a 'community core' these days, both cores can be used with nearly any (only F1 and F4 - for the 'libmaple' core) stm32 mcus

what you need to do is to make a variant
https://github.com/rogerclarkmelbourne/ ... 4/variants
for 'official' stm core
https://github.com/stm32duino/Arduino_C ... 28board%29
a simple way is to copy a variant folder and files into a new folder and experiment with it after that update boards.txt as like the existing entry and you get the new entry on the menu.
STM32F4 are quite similar and the variants mostly work for other boards (e.g. you can even select one and try), but you need to check the crystal frequency it should be practically the same as that for the intended board. otherwise, you need to re-configure the PLL multipliers in source codes in the variant.

and for 'official' STM core, the wiki is here
https://github.com/stm32duino/Arduino_Core_STM32/wiki

And if you use the 'official' STM core
https://github.com/stm32duino/Arduino_Core_STM32
https://github.com/stm32duino/Arduino_Core_STM32/wiki

Nucleo boards are supported
https://www.st.com/en/evaluation-tools/ ... 401re.html
https://www.st.com/en/evaluation-tools/ ... 411re.html

as well as is that Adafruit stm32f405 feather (directly supported, the variant is in the core direct select from menu) (this chip is expensive as it has 1 Meg flash and 512k sram and runs fast, it runs micro python and circuit python in addition and probably many other stuff (e.g. some drones use it).
https://www.adafruit.com/product/4382
https://learn.adafruit.com/adafruit-stm ... er-express

and others
https://github.com/stm32duino/Arduino_C ... 2f4-boards
e.g. some from WeAct
https://github.com/WeActStudio/WeActStu ... iSTM32F4x1
some from Olimex
https://www.olimex.com/Products/ARM/ST/
some from Micropython
https://store.micropython.org/category/featured

if you bother to search the 'online flea markets' e.g. Aliexpress or Ebay or Amazon, there are more, but that some of them may require manually making a new variant. mostly because it use a different (HSE) crystal frequency. that include various '3d printer' boards, many (FDM) 3d printers run on stm32 these days.
myksj1105
Posts: 54
Joined: Sun Jun 18, 2023 11:35 am

Re: How to make 'STM32F4xx DIY'?

Post by myksj1105 »

@ag123

Thank you for your kind explanation.
Post Reply

Return to “General discussion”