Getting Started with STM32 and Nucleo Part 1: Introduction to STM32CubeIDE and Blinky - Digi-Key

  Рет қаралды 448,683

DigiKey

DigiKey

4 жыл бұрын

We’re kicking off a new video series! This time, we create a set of tutorials around getting started with the STM32 ARM microcontrollers. To begin, we go over the STM32 naming convention for its processors and introduce the Nucleo development boards.
The STM32 series is based on the ARM Cortex architectures. Specifically, we’ll be looking at the STM32 Arm Cortex-M microcontrollers. To make life easier, we’ll be using STMicroelectronics’ official Nucleo development boards (the Nucleo-L476RG in particular).
In this video, we install the STM32CubeIDE and write a simple C program that blinks an LED. We will be using ST’s Hardware Abstraction Layer (HAL) to make controlling pins easier and code more portable. Finally, we briefly look at how to use the built-in step-through debugger with STM32CubeIDE.
Related Items
497-15881-ND - NUCLEO-L476RG www.digikey.com/product-detai...
497-15980-ND - NUCLEO-F042K6 www.digikey.com/products/en/d...
WRITTEN TUTORIAL
If you would like to see the steps performed in this video in written form along with the code, please see the tutorial here: www.digikey.com/en/maker/vide...
ADDITIONAL RESOURCES
Related Projects www.digikey.com/maker/search-...
Download STM32CubeIDE: www.st.com/en/development-too...
STM32 HAL documentation (click on family from graphic and then Resources tab) : www.st.com/en/embedded-softwa...
Maker.io - www.digikey.com/en/maker
Digi-Key’s Blog - TheCircuit www.digikey.com/en/blog
Connect with Digi-Key on Facebook / digikey.electronics
And follow us on Twitter / digikey

Пікірлер: 177
@user-wj5qd5fy1n
@user-wj5qd5fy1n 2 жыл бұрын
Definitely the best intro into stm32, which I have ever seen. Simple explanation, straight to the point. You are the man!
@MegaMaheshsharma
@MegaMaheshsharma 4 жыл бұрын
Thanks Shawn, found it very helpful to get started. That portion on getting HAL document gave a good head-start. I was quickly able to create blinky on my Nucleo-144 board.
@iforce2d
@iforce2d 4 жыл бұрын
An exceptionally well put together video, thanks!!
@marbles3662
@marbles3662 2 жыл бұрын
Wow , you nailed it , great tutorial , I love the way you kept it brief and effective.
@electronichome1153
@electronichome1153 Жыл бұрын
No idea how I missed this course 3 yrs ago.... Thanks Shawn!
@stm3252
@stm3252 3 жыл бұрын
Frankly, It's the best tutorial how to start with stm32 microcontrollers. Thank very much for this video!
@ymp175
@ymp175 3 жыл бұрын
Woah this is one of the best tutorial videos I have seen! I absolutely love the step-by-step style, it is great for us newbies who get overwhelmed by all those options and buttons in the software. Thank you so much!
@asura-2467
@asura-2467 3 жыл бұрын
Sir, thank you for the guidance. For absolute beginners like me this video was too helpful.
@pedrosena2499
@pedrosena2499 3 жыл бұрын
Excellent tutorial! I just have been working in a project using exactly the methods that Shawn presents, but I've got to many troubles in the begining. Congrats Shawn! Your tutorial is completely clear and combine the theory and practice very well!
@georgehowell2848
@georgehowell2848 3 жыл бұрын
Great video, not too fast and not too slow, staight to the point and covers a load of stuff. Brilliant, definitely one of the best I've seen. Intro music is quite loud compared to speech but minor point.
@johnfornehed5503
@johnfornehed5503 Жыл бұрын
Wow! Good job! Wish I'd watched this earlier. Thank you for publishing this video. So much, to the point, in a short video.
@dibraniuk
@dibraniuk 3 жыл бұрын
super lesson! thank you so much! I spent a ton of time until i found this great tutorial.
@interestingengineering291
@interestingengineering291 2 жыл бұрын
exceptional intro duction to this topic. I love you guys
@Fubar12341
@Fubar12341 2 жыл бұрын
Super Tutorial, Well presented and as an Old Duffer I particularly like the written version as well ! Thanks
@satviksharma3722
@satviksharma3722 3 жыл бұрын
This was absolutely great!! Thanks a lot!!
@lubos4639
@lubos4639 2 жыл бұрын
Clear as a bright day fantastic video.
@spacewolfjr
@spacewolfjr 4 жыл бұрын
You are a legend Shawn! I have a STM32 F4 Discovery collecting dust in my stash so this is a great opportunity to get back to using it. Thanks!
@ShawnHymel
@ShawnHymel 4 жыл бұрын
Woohoo! I'm curious to know how the Discovery boards compare to the Nucleo.
@DiegoEfe
@DiegoEfe 4 жыл бұрын
Same here! I don't even know when and why I bought the STM32 F4 Discovery.
@ovalwingnut
@ovalwingnut 3 жыл бұрын
Outstanding 👍😎 "I'm hooked"! 💙❤💚💛💜
@SemionCobileanschii
@SemionCobileanschii 4 жыл бұрын
Thank you!!! I'm switching from AVRs to ARM - you're like a light in the dark
@noweare1
@noweare1 4 жыл бұрын
Only downside is that you may have trouble finding libraries in the stm world compared to the avr (arduino)
@paulrudman1349
@paulrudman1349 4 жыл бұрын
Very helpful and really well done.
@slip0n0fall
@slip0n0fall 3 жыл бұрын
These are excellent videos - STM needs to take a page from your playbook.
@thierrybeaulieu4403
@thierrybeaulieu4403 2 жыл бұрын
10:20 is the most important section that there is. I've struggle so much with libraries and not understanding where to find the right documentation. Thanks!
@SaieenTwist
@SaieenTwist Ай бұрын
Really great tutorial and still valid now in 2024.
@GameAssetsGarden
@GameAssetsGarden 3 жыл бұрын
Great tutorial! Thanks for sharing.
@bertbrecht7540
@bertbrecht7540 3 жыл бұрын
So much info packed into 14 minutes. Thanks! I would love a tutorial on single chip programming using CUBE ID. If this could include soldering the chip onto a breakout board or using an adapter, that would be awesome. Nucleo's and Black Pills are great but I would love to buy just the chip and move forward from there.
@zetaconvex1987
@zetaconvex1987 3 жыл бұрын
Thanks. A very nice introduction.
@judeagwoko2698
@judeagwoko2698 Жыл бұрын
Awesome! thanks for this great video.
@Obamjur
@Obamjur 4 жыл бұрын
Great presentation, the best I found so ever on web about this STM32Cube IDE 1 Subscribed !
@Pompelli
@Pompelli 4 ай бұрын
BRO HAS SAVED MY LIFE
@carlosruizmora3111
@carlosruizmora3111 4 жыл бұрын
I've been learning STM32. It can be a bit scary at the first time, but you need to remember that this is the real stuff: this is the kind of systems used in the industry to create the products we buy. I just love STM32. It is the most friendly ARM Cortex-M platform I know for newbies to learn to code for 32 bit MCUs.
@ShawnHymel
@ShawnHymel 4 жыл бұрын
Agreed! There is a bit of a steep learning curve, but once you find your way around the IDE and HAL (or CMSIS or whatever abstraction layer you decide to use), it becomes much easier.
@Asyss_Complex
@Asyss_Complex 4 жыл бұрын
Do you know some good books to learn how to program this microcontroller?
@Nocturnes1984
@Nocturnes1984 Жыл бұрын
Im just starting to learn C# at school and we will be using this next semester. It looks scary idd…
@heemangshuchattopadhyay9859
@heemangshuchattopadhyay9859 8 ай бұрын
Can i have your email id
@SandhanSarma
@SandhanSarma 4 жыл бұрын
Great Tutorials , as always! Kindly make a playlist for the stm32 series.
@dariocardajoli6831
@dariocardajoli6831 4 жыл бұрын
Just read the datasheet lol
@nataliawebster1841
@nataliawebster1841 3 жыл бұрын
Dario Cardajoli lió
@TheEd101288
@TheEd101288 2 жыл бұрын
Thank you so much for this tutorial
@David-yp9oz
@David-yp9oz 4 жыл бұрын
Thank you so much for this and the one you did for I2C. This is the gold standard for how these concepts should be explained. Will you be doing more in the future? Really looking forward to that. Especially if you did one for SPI and RTOS. Thank you!
@ShawnHymel
@ShawnHymel 4 жыл бұрын
Glad you liked them! A super basic intro to RTOS is next, but no plans for SPI. If these few do well enough, I might try to do more STM32 stuff (as I'm really enjoying the platform). Additionally, I'd love to dig deeper into FreeRTOS, but it's not on the list at the moment.
@Factory400
@Factory400 4 жыл бұрын
Digikey is one of the few of my vendors that actually provides real value to the customer. This is a good example. Most others are just order taking middlemen that add cost.......
@ParswaNathTheo
@ParswaNathTheo 2 жыл бұрын
Very Helpful. Thanks.
@qorje
@qorje 3 жыл бұрын
Thanks, very helpful!
@nicholasrazo9438
@nicholasrazo9438 4 жыл бұрын
He looks like Phil Lester mixed with Bill Nye. Great video btw!
@embeddedmicrocontroller
@embeddedmicrocontroller 3 жыл бұрын
Really good work
@jdarnell123
@jdarnell123 5 ай бұрын
Excellent and very clear video Shawn! I liked and subscribed. 🙂 Not to be corny, but this is a really exciting time. I finished my EE senior design project a long time ago using a Motorola 68HC11. Good Lord, the things we can do now... and for dirt cheap! Keep rockin' the great content!
@andruss2001
@andruss2001 2 жыл бұрын
Nice video. Thanks! 👍
@Graham1904
@Graham1904 Жыл бұрын
The best tutorial
@nicoladellino8124
@nicoladellino8124 4 жыл бұрын
Nice video, TNX👍
@undercrackers56
@undercrackers56 Жыл бұрын
I really enjoy and appreciate your videos Shawn. Would you consider making a video to explain the differences between ARM devices (M3, M5, etc.). Thank you.
@chan270
@chan270 3 жыл бұрын
Very Helpful.
@lenninlc
@lenninlc 4 жыл бұрын
STM32 always ♥️
@d3stinYwOw
@d3stinYwOw 4 жыл бұрын
Great video, as always! For all people interest, STM32CubeIDE is based on Eclipse IDE, which can be used to program STM32 chips, too. GNU MCU Eclipse is the best plugin for ARM programming in Eclipse IDE and derivatives :)
@ShawnHymel
@ShawnHymel 4 жыл бұрын
Thanks! I believe the "Mastering STM32" book uses the GNU MCU Eclipse IDE and has you build the STM32 toolchain around it. The only thing that's a pain is having to use CubeMX as a separate software (if you wish to use it at all).
@d3stinYwOw
@d3stinYwOw 4 жыл бұрын
@@ShawnHymelYou can use packages from GNU MCU Eclipse project like compiler to build your tool chain easily :)
@mikefrith8862
@mikefrith8862 4 жыл бұрын
@@d3stinYwOw How does CubeIDE compare with CubeMX?
@mikefrith8862
@mikefrith8862 4 жыл бұрын
Nevermind, missed that comment from Shawn.
@Bianchi77
@Bianchi77 2 жыл бұрын
Nice video, thanks :)
@forestxu8369
@forestxu8369 2 жыл бұрын
great! thanks!
@iancu_de_hunedoara
@iancu_de_hunedoara 2 жыл бұрын
Pure genius
@Yankee14ed
@Yankee14ed 4 жыл бұрын
Thanks for the awesome video, Shawn! One request I have for a video tutorial I'd like to see, is how to move from a development board to a custom production board, while still maintaining the ability to flash, debug, and develop new code. That's something I always find challenging and confusing, even having done it at work with microcontrollers from several different manufacturers. It would be a fun extension of the excellent KiCad tutorials you made last year! Anyhow, thanks for the great video tutorial, as always.
@ShawnHymel
@ShawnHymel 4 жыл бұрын
Good to know, I'll keep it in mind! I've found that board standup with STM32 to be pretty straightforward. I've been working on a custom STM32 breakout board to learn as well. The schematic is here (if you'd like to take a look at it): github.com/ShawnHymel/YAS-0/blob/master/Hardware/STM32F070_Breakout/STM32F070_Breakout.pdf I just broke out the SWD pins to some headers. From there, you can just attach an ST-LINK to program it (5 pins): www.digikey.com/product-detail/en/stmicroelectronics/ST-LINK-V2/497-10484-ND/2214535 www.digikey.com/product-detail/en/adafruit-industries-llc/2548/1528-1982-ND/6827110 So, getting it to debug and run code like a Nucleo has been pretty easy. However, I've not found a good way to upload compiled code in a production-like manner. I believe there is a separate STMicro program to make that happen, but I haven't dug into it much.
@robertparenton7470
@robertparenton7470 2 жыл бұрын
Thank You!
@dinesh_damodar
@dinesh_damodar 4 жыл бұрын
explained very clearly. please share videos on stm32wb series microcontroller for bluetooth data transmission.
@tommyyhli
@tommyyhli 4 жыл бұрын
Thank you so much 🙏 I have no idea there is a HAL manual
@minilotofacile1
@minilotofacile1 Жыл бұрын
muito bom , voce e um genio , muito obrigado
@nguyenphuc-vu6qu
@nguyenphuc-vu6qu Жыл бұрын
thanks😊
@ianknight4013
@ianknight4013 3 жыл бұрын
Just got my NUCLEO-L432KC today, this video makes getting into it and the STM32CubeIDE real easy, thank you... Much better that the ST Intro video, oh that terrible music, which elevator company did they get it from :-)
@Hermaeus7
@Hermaeus7 3 жыл бұрын
Nucleo 144 - you must call HAL_GPIO_Init(port, &init_structure) before you can use the pin.
@noon1117
@noon1117 3 жыл бұрын
He looks like a grown-up Young Sheldon 😁
@ramymagdy3482
@ramymagdy3482 2 жыл бұрын
nice work, detailed yet simple. is the DK iot studio part coming soon?
@chepel5663
@chepel5663 3 жыл бұрын
Muy bueno.
@bertbrecht7540
@bertbrecht7540 4 жыл бұрын
So excited to get started. The Nucleo-L476RG is sold out. Any suggestions for a substitute? I like the low power and 1mb flash.
@deno265
@deno265 2 жыл бұрын
If anyone encounter the problem like I did, where it doesn't get switched to debug perspective ( at 13:07 ), solution is to get the stm32cubeprogramer from st site and do the full chip erase.
@kitKat-by6kk
@kitKat-by6kk 3 жыл бұрын
i find the nucleo 32/64/144 kit naming convention, generally reflects the amount of physical pins, and hence a gauge to the IO available....
@fenderrexfender
@fenderrexfender 4 жыл бұрын
f401re is a nice board
@sixsunss8032
@sixsunss8032 3 жыл бұрын
the opening music always remind me of family guys
@rgopinath8841
@rgopinath8841 3 жыл бұрын
ty
@CookiePepper
@CookiePepper Жыл бұрын
Nucleo and ST-LINK are the best.
@ulissesazevedoleitao153
@ulissesazevedoleitao153 3 жыл бұрын
Very nice presentation!!! But I have had some problems with following the tutorial. When I load the configuration of my board (STM32F401RE) it does not show the predefined port like in the video. So there is no LD2 connected to PA5. What is wrong? Have I missed any installation step?
@The2Coolest2
@The2Coolest2 3 жыл бұрын
Wonderful. The debugger connection just keeps getting lost when I run the project and so no LED blinking occurs. Of course, why should I expect anything to go right on the first go. Whatever. Edit: So in Debug mode I saw the program would stop inside the MX_ETH_Init(); call, I couldn't keep sitting there through the step through process in it (was taking forever) to see why, so I commented it out. Now my board can blink. I'm using the STM32F746 Nucleo-144
@praveenraj7983
@praveenraj7983 3 жыл бұрын
good
@gizmoguyar
@gizmoguyar 4 жыл бұрын
These are really great tutorials. Clear and easy to follow, but not extremely drawing out and verbose like many other. I'm starting to learn the STM32 family as the next step of faster microcontrollers after AVR. However I'm confused as to why there needs to be so much complexity and overhead in the code. Libraries upon libraries calling other libraries. Layers and layers deep. It seems to result in extremely slow code. The whole reason I'm moving to STM32 is because many of my projects require very fast executing code. For example, using HAL_GPIO_TogglePin as shown in this video produces a maximum frequency of about 800 kHz. For a 72 MHz processor (in my case), this seems really slow. Especially when it's trivial on an 16 MHz ATMega to toggle an output pin at over 2 MHz. I've also compared the speed of calculations (dividing and multiplying uint16_t, etc.) and it seems like there's little to no gain over a 16 MHz AVR processor. Is there a way to cut through all these layers of abstraction and just get down closer to the bare processor?
@ShawnHymel
@ShawnHymel 4 жыл бұрын
Yes, the HAL libraries can be quite bloated. They make things a little easier to use and code more portable among the STM32 chips. However, as you've noticed, all that abstraction has a cost. The "purest" way to interact with the chips is to perform direct register reads and writes. You'll need to study each chip's datasheet to learn about its specific registers. For example, here is "blinky" on an STM32-F070CB (note that it does not include the system clock setup, which you would still need to do prior to this code): // Registers volatile uint32_t *AHB1_RCC = (uint32_t*)0x40021000; volatile uint32_t *RCC_AHBENR = (uint32_t*)((void*)AHB1_RCC + 0x14); volatile uint32_t *GPIOC_MODER = (uint32_t*)0x48000800; volatile uint32_t *GPIOC_ODR = (uint32_t*)((void*)GPIOC_MODER + 0x14); // Bits const uint8_t IOPCEN = 19; // GPIO Port C clock enable const uint8_t MODER13_0 = 26; // GPIO port mode register pin 13, bit 0 const uint8_t MODER13_1 = 27; // GPIO port mode register pin 13, bit 1 const uint8_t ODR13 = 13; // Output data register pin 13 // Connect peripheral to AHB1 bus *RCC_AHBENR |= (1
@sefalibhakat143
@sefalibhakat143 3 жыл бұрын
👍👍
@DownhillAllTheWay
@DownhillAllTheWay 4 жыл бұрын
I bought a Nucleo-H743ZI2 and follwed your instructions faithfully, but I couldn't get Blinky working. It would compile OK, but when I tried to run it, it said "Debug has encountered a problem. Error in final launch sequence: Error launching GDB server. Session terminated" On advice from the ST community, I used OpenOCD as a debugger instead of GDB. It's working now - I can blink an LED. On the ST Community forum, it turned out I wasn't the only one with the same error - and the same solution.
@Fnta_discovery
@Fnta_discovery Жыл бұрын
Hi dear. I’d love you to give the manner or advice so that I can understand STM32 because when I see a code HAL I panicked suddenly. Best regards 😢
@boubalex5846
@boubalex5846 4 жыл бұрын
would you like to make more videos about STM32?
@Ray-ej3jb
@Ray-ej3jb 3 жыл бұрын
HI Shawn, can't find the answer to this, the end of the board which has the STLink section on, can this be broken/snapped off and used as a standalone programmer for a custom board?
@gabrielcabrerasanchez1542
@gabrielcabrerasanchez1542 2 жыл бұрын
Thanks for the video, I have a question for you, i have a nucleo-f429zi, when i did al the steps in the video my nucleo board don't do anything, but when I program it in Keil Studio on line, yes it's functional, Do you know why i have that problem?
@TheObeze
@TheObeze 3 жыл бұрын
If we are to blink the led not on the board would the procedure be the same? I am trying, but I can't seem to get it to work
@Ariel-fe5yq
@Ariel-fe5yq 4 жыл бұрын
Hi, I am following this tutorial and I have a problem: When I try to debug I get this messege: "Error in initializing ST-LINK device. Reason: (4) No device found on target." If I try to debug again i get this messege: " localhost:61234: The system tried to join a drive to a directory on a joined drive." what should I do? thanks.
@nishith.vpoojary3486
@nishith.vpoojary3486 3 жыл бұрын
At 13:07 instead of the switch box, I get "No ST-LINK detected! Please connect ST-LINK and restart the debug session." error box. What should I do??
@petermoller6230
@petermoller6230 3 жыл бұрын
as a new beginner I feel so lost haha but that's where everyone begins right?
@tobiask8490
@tobiask8490 3 жыл бұрын
great series, but unfortunatelly not working for me ☹️ I have the same nucleo board L476RG and cube IDE running on mac and when I start debugging I get: Waiting for debugger connection... Debugger connected Debugger connection lost. Shutting down... I tried adding "monitor flash mass_erase" to initializations commands, but it didnt help. Also every time I try to Run it, my HDD gets 1,28 GB less free space, which is very strange as the cube IDE folders keep the same size 🤯 . Any suggestions what to try with such a weird behaviour?
@Dan-fk7vg
@Dan-fk7vg 2 жыл бұрын
3:00 Look at that stock level.
@mhdsbk
@mhdsbk 3 жыл бұрын
Can I use nuclio for image recognition
@Nocturnes1984
@Nocturnes1984 Жыл бұрын
I learned C# at school....what language should I pick at start? C++?
@theblackdouglas4772
@theblackdouglas4772 2 жыл бұрын
Can you do a video for the same board but using a 16X2 LCD with it?
@zxcvbnmqwertyuioasdf
@zxcvbnmqwertyuioasdf 2 жыл бұрын
Hi, when I try to debug the code as he teaches in 12:55 the IDE says "NO ST-LINK detected". I am with my board conected to my USB port. Someone knows how to fix this problem?
@athapapa22
@athapapa22 Жыл бұрын
Hey, very good job. I am using stm32f769i disco but nothing happens when I run the code! I have used GPIOJ,GPIO_PIN_5 in my case! Any thoughts?Thanks
@stevergr9039
@stevergr9039 3 жыл бұрын
Thanks for your Tutorials! However I followed step by step and as we go into debug mode @13:10 I get an error saying: ‚arm-none-Sabine’s-geb.exe stopped working‘. Can you guys help me out on this one? Thanks a lot guys
@MrSeanMatton
@MrSeanMatton 3 жыл бұрын
Same... Running windows 8 and getting arm-none-eabi-gbd.exe on download/debug. Did you ever find a solution?
@drumrocket99
@drumrocket99 2 жыл бұрын
Any idea why I configure everything fitting to my Nucleo F429ZI board and the LED's still don't toggle? The code compiles and gets uploaded without any problems
@walterhynson2898
@walterhynson2898 2 жыл бұрын
you forgot all about the "stlink" driver which must be installed before you plug in the board...also the board you show does not have a usb socket the board has a ST LINK which talks to the board...your lectures are great please keep them going and rem us arduino folk like to see led arrays spitting out characters ,tft panels bright and sensors giving informationand if you can please explain how to use Arduino libraries with the STM boards thanks
@ethanpigou3496
@ethanpigou3496 2 жыл бұрын
How do you download this stlink driver?
@noweare1
@noweare1 4 жыл бұрын
ST provides chm files which are hyperlinked documentation. Much better than the pdf files.
@curlybracket
@curlybracket 3 жыл бұрын
I want to ask you if you know the solution to stm32cubeide Not available for download
@hamiltongao7702
@hamiltongao7702 2 жыл бұрын
Thanks for your amazing video. However, I've encountered a problem right after I choose debug as stm32 application. STMicroelectronics ST-LINK GDB server. Version 6.0.0 Copyright (c) 2021, STMicroelectronics. All rights reserved. Starting server with the following options: Persistent Mode : Disabled Logging Level : 1 Listen Port Number : 61234 Status Refresh Delay : 15s Verbose Mode : Disabled SWD Debug : Enabled InitWhile : Enabled Waiting for debugger connection... Debugger connected Waiting for debugger connection... Shutting down... Exit. How can I fix this problem, thanks!
@TeamEnFil
@TeamEnFil 11 ай бұрын
I've gone through the steps for setting up my development board, but when I click the sections such as Connectivity I immediately see conflicts. Different parts of it are in conflict, how have they left it in this state if I've selected the board?
@pawelp.340
@pawelp.340 3 жыл бұрын
one very important notice: STM32 IDE DOES NOT ACCEPT national letters in folders names. Will fail in various moments, so move your installation, workspace and firmware locations to simple short (maybe 8chars) folders. Or maybe there's workaround but I don't know any yet.
@elakeee2921
@elakeee2921 3 жыл бұрын
how can we Read and extract the uploaded code from STM32F405RGT6 ? And need to upload to another chip
@Hybrid.Robotics
@Hybrid.Robotics 2 жыл бұрын
I keep losing the configuration panel when I am writing code. How can I get that panel back? I need to know how I can get the configuration tool back. Is it in a different perspective?
@DownhillAllTheWay
@DownhillAllTheWay 4 жыл бұрын
At 8:09, I can't understand the relevance of the 840MHz clock boasted by the STM32H743. I can't see how that is derived in the clock diagram. Can somebody please explain it? Is there any part of the chip that runs at that speed, or is it the sum of 64MHz to each of 13 peripherals?
@metamaverick
@metamaverick 3 жыл бұрын
The clock tree for each STM32 variant is (sometimes/often) different. This means different PLL multipliers and dividers may be present on one variant while not present on another. I am not sure where you found 840MHz as far as I know the max core clock for the STM32H743 is 480MHz...maybe you just have a typo. But to address your comment, it is in fact a core/system clock which can then be used to also derive other clock frequencies for peripherals. So with this faster core clock your code will execute faster leaving time for other tasks to be handled if needed.
@DownhillAllTheWay
@DownhillAllTheWay 3 жыл бұрын
@@metamaverick Woops - 840/480 MHz - I must be numerically lysdexic. My comment was 6 months ago, and although I still haven't really got started, I had got past the 480 MHz query. I got back to the chip again last night, and I'm intending to do some work on it. Watch this space - if you have a lot of patience.
@rajaniyer6840
@rajaniyer6840 3 жыл бұрын
Save option is not showing for me. What should I do?
마시멜로우로 체감되는 요즘 물가
00:20
진영민yeongmin
Рет қаралды 26 МЛН
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 13 МЛН
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 49 МЛН
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 100 МЛН
Simulating the Evolution of Rock, Paper, Scissors
15:00
Primer
Рет қаралды 540 М.
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
STM32 Blue Pill vs Black Pill Microcontroller Boards
18:31
Gary Explains
Рет қаралды 135 М.
STM32 Guide #1: Your first STM32 dev board
12:12
Mitch Davis
Рет қаралды 199 М.
STM32 Guide #4: Generated Code, HAL, and Bare Metal
26:20
Mitch Davis
Рет қаралды 77 М.
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,6 МЛН
Опять съемные крышки в смартфонах? #cmf
0:50
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 5 МЛН