#10 ARM Microcontroller Tutorial - USART Initialization Part 1
Вставка
- Опубліковано 2 лип 2024
- Purchase my new book: Arm Microcontroller Programming and Circuit Building Volume 1
amzn.to/3LFRaU5
How to set the clock speed to 48MHZ:
• #8 ARM Microcontroller...
Introduction to USART:
• #4 ARM Microcontroller...
In this video, I explain how to initialize the USART serial communication protocol for the ARM STM32 microcontroller.
Solder Paste: amzn.to/3tBEoPH
Hot Air Rework Station: amzn.to/3qu9aYw
Soldering Iron (inexpensive with lots of features): amzn.to/3wz0pR6
Soldering Iron (Weller, my favorite): amzn.to/3uqkbLR
Rosin Core Solder: amzn.to/3JBCc05
Solder Wick: amzn.to/3tAiUCC
Solder Flux Rosin Paste: amzn.to/36JTDwE
Awesome Needle Nose Pliers: amzn.to/3L92vuN
Knipex Pliers (one of the best tools that I own): amzn.to/3D7MWkn
ARM Kits: newbiehack.com/Categories/ARM
Links to the software:
STM32CubeIDE: www.st.com/en/development-too...
STM Studio: www.st.com/en/development-too...
STM32CubeMonitor: www.st.com/en/development-too...
Parts you will need in your prototyping environment:
Kits to get you up to speed quickly:
newbiehack.com/Categories/ARM
If you already have the microcontroller, here are some breakout boards to use:
64 pin - amzn.to/3rUXeiq
48 pin and others - amzn.to/3IVkC6D
STM-Link V2 Programmer:
newbiehack.com/categories/new...
amzn.to/3IIZlgj
Prototyping Breadboards:
newbiehack.com/categories/new...
amzn.to/3o2Nh1g
Resistor Assortment Kit:
amzn.to/3H4R3ii
Solid core hook-up wire 22 AWG:
amzn.to/3IDGinA
amzn.to/3g5TKUJ
LEDs and Displays:
newbiehack.com/Categories/LCD...
amzn.to/3Az1zf7
Trimmer potentiometers:
newbiehack.com/Categories/Pot...
amzn.to/3H6q067
The Dynamixel servo I will be using in the USART videos:
amzn.to/35s3qHl
Microfarad Capacitor Assortment:
amzn.to/32BIX1G
Capacitors on Newbiehack.com:
newbiehack.com/Categories/cap...
Electrolytic Capacitor Assortment:
amzn.to/33TtLxt
The cheap oscilloscope that I use (because it's cheap and will work all of the projects in these tutorials): amzn.to/2rSHnBa
A better oscilloscope and the one I would recommend: amzn.to/2qizK5M
The brand of the multimeter that I use and the one I recommend: amzn.to/2qicUez - Фільми й анімація
There is a lot of information in this video that is explained in more detail in my book: amzn.to/3LFRaU5
Great sponsor! I am already subscribed to the digital version. You could not choose a better one!
I hope Elektor will watch your video and be inspired to publish more content targeting stm32 (and featuring your channel!)
On a side note, it would be nice if you could cover the error management. I recently tried to react on error by blinking a red LED but it is more complicated than I expected. The type of error trigger different error and some HAL functions are not behaving as expected. it has to be done on a case-to-case basis. How critical is the error, how critical is the application, what is the application's safe mode if any etc etc. It is also very much depends on your watchdog setting.
Great video as usual !
Thanks!! The error subject is a great one to address. I will think about how to describe the error conditions and how to expose that as an output of some sort.
i love your structured and easy to understand way of explaining things
Thank you!!
I just made a donation to the channel. It's not much, but I wanted you to know that we appreciate your hard work.
Keep it up!
Thanks!
OMG, thank you so much!! I am grateful for the donation!!
Great video, in your great explanation you close a lot of corners for me, thank you very much
You're welcome.
Please check out Elektor magazine!! They are truly my favorite magazine. I've subscribed to them for many years and I still get excited to receive their magazines in the mail. This is one publication that I hope will never die by the internet. Get the gold membership, you won't regret your purchase.
www.elektormagazine.com/buildyourcnc-elektor
The coupon code is: ELEKxBYCNC valid until April 30, 2022
Really like your clear explanations of register based programming. I'm sure you know this, but I believe the speed settings have more to do with power consumption and affect the rise time of the signal and therefore EMI/crosstalk on traces.
And a fan of Elektor for a long time.
Yep. Thanks.
Great instructional video. Thanks alot for sharing. I like to see the registry settings approach you are following to set peripherals and configuration. Is this better than doing the same setup over the GUI in CubeIDE which generates the code automatically?
I am showing both in separate videos. There are advantages to both, but generally you have more control with register code.
for some reason this vides was not in my youtube notification although I had subscribed with bell notification. Very strange.
That's not good. I hope UA-cam fixes this.
@@PatrickHoodDaniel yes. BTW, thanks for keep posting nice content.
I subscribed to Elektor. But what about the circuit books? Are they available in PDF format? I couldn't find any on the Elektor website.
They do provide CDs with their past issues. They also have books titles 307 and the like that have 307 circuits and explanations. It's like a forest Mims book on steroids. I'm not sure if they have that in digital format.
is there any specefic reason why you are not using ".ioc" file for defining port purpose? and not using HAL codes?
I do. I show all the methods to do this. I show this in separate videos in this series.