Lesson #5 - STM32F4 MCU Schematic Design - PCB Design Mastery Course
Dario Fresu Electronics⚡️
Want to PASS EMC with your project? Go here: https://bit.ly/EMC-Design-Consulting
5th Lesson of the PCB Design Mastery Course Level: Intermediate
Full Course Playlist: https://youtube.com/playlist?list=PLHTs1gmA-RxUT8J8Axd0DexuyG8hKX6fk&si=Fq7St0kjdF0kXhBW
Get access to the Free Course Resources here: https://www.fresuelectronics.com/freebie-2
- IMPORTANT *
Before starting your schematics, make sure to set the grid appropriately! This is important because otherwise, when you try to verify the schematics at the end of the design, the software will give you errors, and you will have to fix each misalignment one by one.
Recommended grid: 1.27mm (0.05 in)
Microcontroller Circuit Design with KiCAD: From Schematics to Components
In this video lesson, we start by exploring the basic functions of KiCAD, and how to add bias circuits and necessary components such as bypass capacitors.
The tutorial dives into the more complex process of crafting the block that represents the Microcontroller Unit (M-C-U) in the circuit and discusses key considerations such as decoupling capacitors. The guide also demonstrates practical insights into selecting and implementing capacitors to ensure optimal power supply and signal stability. From configuring boot modes to constructing an NTC thermistor circuit and integrating a main power supply, the guide covers all key aspects of microcontroller circuit design.
Lesson's Chapters
00:00 Introduction to Schematics and KiCAD Basics 00:23 Using KiCAD's Basic Commands 02:41 Designing the Microcontroller Unit (MCU) Block 03:11 Understanding the Datasheet 04:15 Decoupling capacitors 05:20 Designing the Power Supply Scheme 06:14 Design Guidelines 12:04 Adding the VCAP capacitors. 13:28 Placing the ferrite bead to filter the analog section. 16:44 LCSC Components Distributor 18:08 Adding remaining Net labels 19:02 Adding the connectors 19:39 LEDs circuit 21:17 Designing the Servo Motor Connector 27:35 Conclusion and Final Review of the Schematic
Support Material
As you begin designing the schematics for your own project, you will need to select your own components.
You can find a helpful cheat sheet for this task in the resources folder below, look for the 'Component Mastery Guide' PDF file.
Here, you can find the LCSC component distributor:
Other distributors that I have reliably used for mass production are:
Feel free to choose your preferred one, but please be aware that some of the next steps will be linked to the LCSC supplier.
We will use this supplier to create fast footprints using simple tools.
Another online tool that you can use to choose your components distributor is Octopart:
Here, you can basically see where your chosen components are available from different distributors.
Free PCB Calculator Tool
Saturn PCB Toolkit: https://saturnpcb.com/saturn-pcb-toolkit/
This tool is immensely helpful for PCB design. If you are not familiar with it, you can explore it further.
Crystal Component:
https://www.lcsc.com/product-detail/Crystals_YXC-X50328MSB2GI_C115962.html
Datasheet for the crystal:
https://datasheet.lcsc.com/lcsc/2302201101_YXC-X50328MSB2GI_C115962.pdf
Choosing the right external capacitors for the crystal: https://blog.adafruit.com/2012/01/24/choosing-the-right-crystal-and-caps-for-your-design/
Here is how to use the Saturn PCB Calculator tool for selecting the external capacitors for the crystal:
Here you can find more information regarding the SWD interface for programming the device once developed.
https://www.st.com/resource/en/product_training/STM32G4-System-Debug_DBG.pdf ... https://www.youtube.com/watch?v=SKA1oV4JdIs
99403292 Bytes