Loading 3D model… large boards can take a moment.
{:toc}
Reference Designs for STM32 in KiCad
These projects are designed as reference Design for copy subsheets and reuse wherever needed.
Ideally the board will allways the same (DevelBoard) modified to use the current chip. But as needed the reference design will be updated to use different elements, such as Ethernet, Can Bus, usb.
The Folders under this repository are defined to follow this standard:
.
├── [FAMILY]
│ ├── [LINE]
| | ├──Firmware
| | | └──[*] Platformio Code
| | ├──[CHIP]_[Board]
| | | └──[*] Kicad Project
| | └──README.MD
│ ├── [LINE] Other line
| | └── ...
| ...
│ └──PlatformIo
│ ├──install.sh
│ ├──[Board].json
| ├──[variantn].h
| ├──[variantn].cpp
| └── ... More boards and variants
└──[FAMILY] Other family
├──... More families
...
The folder estructure is based on the STM32 organization of theirs chips, this are based on families and lines. This relates to the name of the chip having the code `STM32FFLLCCCC' where F is the FamiliyCode, L the line and C the chip code.
| Terms | Descritpion | examples |
|---|---|---|
| Family | Stm32 Family | STM32F4, STM32G0 |
| Line | Stm32 Line name, chooses a model within the family | STM32F103, STM32G051 |
| Chip | Current Chip, defines package, ram, rom,... inside the line | STM32F103CBT8, STM32G051C8U6 |
| Firmware | Platform.io project for all boards on this family. Create envorinments for each | see notes |
[CHIP]_[BOARD] | Kicad Project of board | see notes |
| README.md | each line should have it's own document to explay all the boards, what the firmware does, and the compatible chips (testeds) | |
| PlatformIo | On this folder must be all the files to install the boards in PlatformIo. |
| b |
By default, and as far it is indicated by ST, all the chips with the same package are interchangeables, at least at pcb level. That means that the power pins are on the same posititions and the same for the io ones.
NOTE: Some lines/families needs some minor changes on power pins, but the io pins mantains the positions. Check datasheets
Tested chips, should be on the README.md file of the line.
NOTE: This applies to hardware, not at software. update the firmware accordiling
The firmware should be unique for the line and configured by environments on Platformio. In the case two firmwares are needed, then it will be explained on the README.MD.
The enviroments should be based on the "Generic" boards of platform.io with the defines for use the clock correctly. Even if it is based on another boards, (such as blackpill) in this cases it is correct to have two environments for that board (generic and the original board).
The environments must be explained on the README.md of the line.
The bare minimum firmware must have a blinking led and serial output (UART or USB). If the board has more components (CAN, ETH0,...) the firmware should select them by defines and have the component it's own set of files.
As stated before, there are compatible chips, cappable of drop-ons replacement. When a fully compatible chip is found, there is no need to copy all the board. But the folder for both chips must exists. When this case ocurrs, ensure that:
NOTE: Remebember that only applies to hardware, the new line must have it's own firmware, with the new chip environment.
The objective is to have a series of schemeatic pages to easily import onto new projects.
The main project must only contain:
Inside each sub page, one per functional component:
Good rules indicate to have all the conectors on the main page, but on this project we search to have a library of schematics ready to use, so it is better to have the required connectors on the same page of the functionality.
| Family | Line | Board | Status |
|---|---|---|---|
| F0 | STM32F030 | STM32F030K6T6 | tested, updated needed |
| F1 | STM32F103 | STM32F103C8T8 | Not implemented, tested old version |
| G0 | STM32G051 | STM32G051C8U6 | Only in design phase |
No comments yet. Be the first to ask about this board.