When guests cover every little detail it’s really useful, everyone else just assumes that we already know the 42 mouse clicks they did to get from A to B
@GreidiAjalik2 жыл бұрын
What a great video! It was pleasure to collaborate with you and thank you so much for having me on your channel!
@RobertFeranec2 жыл бұрын
Thank you very much Greidi for helping me with this video.
@vincei42522 жыл бұрын
Thanks for participating. Very much appreciated!
@TheProlificScribbler2 жыл бұрын
I am working as an intern in one company and i was assigned task with stm32. Although even after going through documnetations i was unable to figure out the concepts. Then luckily i found this wonderful tutorial. It was very very useful and informative. Thanks a lot @greidi Ajalik and @robert feranec for bringing out this video. I would like to tune up for more such videos related to stm32.
@Sid-po5yt Жыл бұрын
We need a second part for this! Hands down one of the best beginner tutorials out there. Thank you for the effort Robert!
@xOWSLA3 ай бұрын
Totally!
@stevenbroshar7948 Жыл бұрын
I applaud the questions from Robert. You asked several questions that I was wondering about. The presenter knows this stuff so well that he doesn't know what a novice doesn't know.
@rahuls7039 Жыл бұрын
Robert is like that intelligent kid who knows it all and is just helping the teacher convey every piece of information to all the kids... This is an excellent video for explaining every step... Thank You @Robert Feranec and @Greidi Ajalik for this beautiful video. 😇
@redmist4963 Жыл бұрын
For real, he knows all the necessary questions to make
@nomadic_rider422 жыл бұрын
An Interrup can to two things: cause software to execute via an interrupt handler (if the interrupt is enabled) and cause some peripheral to do something (like triggering a timer). An Event doesn't cause the interrupt handler to run, but can cause some peripheral to do something.
@faisaltariq_artist2 ай бұрын
Thank you very much. This was extremely helpful and detailed. Any beginner with STM32 can get up and running in no time with this tutorial.
@nikosant032 жыл бұрын
What a great tutorial for beginners!!! Thank again for your effort and your time!! Please upload more STM32 firmware-based tutorials explring maybe more peripherals or low-power design techniques (I liked the point mentioning the value of suspend and resume tick) :)
@mostafaabdelaziz23165 ай бұрын
This is one of the best tutorials I have ever seen, it is really simple and easy for beginners to understand it.
@vrjb1002 жыл бұрын
Compilers will optimize code generated and remove dead code from include files etc. So it's correct to include the string.h file. Only the call to strlen will be included, because that one is really called. Include files define prototype of functions, so the compiler can do type checking and thus detect programming errors at compile time.
@ediahmadfauziserbhaneka99462 жыл бұрын
Dude, this is the only video that works. Thanks for posting!
@bahjatmurrad80087 ай бұрын
Honestly one of the best videos i've seen on STM32
@daft46825 ай бұрын
This is one of the best tutorials ever. Thank you so much for putting this together. Excellent starting point.
@michalorek195Ай бұрын
Thank you for this video, it was very useful - the STM IDE looks quite messy at first contact, and here everything is explained in detail and you know where the names of functions and variables came from.
@elecrain Жыл бұрын
Perfect content for learning the stm32. Thanks for the detailed explanations, we are waiting for second part !!
@marc_montalvez7 ай бұрын
I think this is the best tutorial that I have seen in my life
@benhorton19435 ай бұрын
As someone starting with STM32 and microcontrollers in general, this was invaluable... makes it feel way less impossible to learn
@kbgaminghd75047 ай бұрын
The amount of respect i have for this guy
@kaihorstmann27832 жыл бұрын
You can use the built-in ST-Link for custom boards. The debug pins are available on header pins on the ST-Link of the Nucleo board. Here you need to disconnect the Nucleo MCU from the debugger. The purpose for the cuts in the Nucleo PCB is actually breaking or cutting off the ST-Link part from the Nucleo, and keep using the ST-Link as stand-alone device.
@davidjablonski39962 жыл бұрын
That's invaluable advice! That was the only solution for me, when all cheap ST-Link copies failed.
@uncommonsensor Жыл бұрын
wow neat
@davidjablonski39962 жыл бұрын
Great video. Especially your humility with things you don't know about is outstanding and rare these days! Maybe some video on a modern RTOS like Zephyr OS as a follow-up?
@xOWSLA3 ай бұрын
Robert, I love how excited you get when the LED is turned on and off with the interrupt button click. :D 1:01:45
@lucienrapilly64072 жыл бұрын
Thanks guys! Part 2 anytime? It would be awesome!
@mitjakobler2 жыл бұрын
From today, after 10 year design hardware(AD13-AD22), i will start software for my DIY project. Thanks for video. ;)
@Fubar123412 жыл бұрын
Thank you Guys, as a slow old duffer I really found this tutorial Very Useful.
@johnpark3138 Жыл бұрын
This is an excellent tutorial for learning about programming microcontrollers. Thanks you Robert!
@achrafeleuch30402 жыл бұрын
very very helpful and comfortable to watch, it feels like we are with you in the conversation and it's making us concentrate a lot better :D thanks a lot
@vincei42522 жыл бұрын
@Robert you're a mind reader! Very cool. I just bought an STM32H745 discovery board. I installed CubeIDE but the initial complexity of what you need to do next when you start is stopped me in my tracks. I understand the complexity because of all the different (hundreds?) of STM32 variants but it still leaves you with initial sticker shock.
@aitorsierra2 жыл бұрын
@Robert Feranec: Do you intend to make a video explaining how to design drivers (sensors) I2C, SPI using STM32?
@desaoaraujo2 жыл бұрын
Just a small correction, you can program another MCU using the ST-Link that's integrated in the Nucleo board, you just need to remove a couple of jumper shunts and you can connect your board via the SWD header.
@Graham_Wideman2 жыл бұрын
To clarify, you're addressing the question that Robert asked at 43:15
@TheDrJHo Жыл бұрын
Absolutely, I used the nucleo on-board st-link to program an smt32f334 on my custom pcb. Remove jumpers on nucleo and connect custom pcb via jumper cables.
@xOWSLA3 ай бұрын
THE video I needed. Lovely. Thanks guys!
@KarthikArumugham4 ай бұрын
Fantastic video for getting started with STM32 programming-thanks, Greidi & Robert! I'd love to see a similar tutorial on working with RTOS, particularly FreeRTOS, NuttX, or ChibiOS. Could you consider making one?
@hernameplz65062 жыл бұрын
This is absolutely amazing! Walk us through each step! Pls do more like this! Thanks
@therealdorsch Жыл бұрын
Great Video! Thanks for the good explanations and details :)
@kamigordonian4 ай бұрын
Best beginner tutorial for stm32 cube ide ... Thanks fellows
@arneweber7875 Жыл бұрын
Thanx a lot, the tip at 40:42 to update ST-Link solved my Problem
@therealb8882 жыл бұрын
Your videos are always such a high quality resource of knowledge!
@superdau2 жыл бұрын
*You can use the programmer part of a nucleo board to program other STMs on other boards (including your own custom one).* The SWD interface is available on pins and there are jumpers there as well to "disconnect" the main MCU. If you want you can even cut off the programmer part. There's a prerouted slot and only three small tabs connecting the two boards. Score them with a knife and break it apart. Both parts will still work, but you'll obviously have to manage the connections to the programming interface of the main MCU yourself, as well as the rest like connection to power, the right UART pins, the external oscillator aso. The original "ST links" are already exceptionally cheap for a programmer (props to ST for that). But you can have even cheaper ones (~3€) on your favorite ecommerce platform for cheap stuff ;) . I wouldn't start out with those, to avoid problems (though I never had any, but just to be safe). They even update through the same firmware flasher tool. But be aware that the more recent ones don't use an STM32F1 anymore but a GD32F1. That's a Chinese version of an STM32 with a few slight differences. So unless the firmware for the programmer hits one of these differences the GD32F1 should be fine.
@desaoaraujo2 жыл бұрын
The bootleg programmers from China are not working anymore with ST software - they detect the fake chips and won't let you use it properly.
@TongweiZhang8 ай бұрын
Amazing video, thank you!!! I am a beginner and i find this video really helpful!
@skateboardinglatvia2 жыл бұрын
The hardest part of STM32 programming is getting the STM32 you want
@matt_3132 жыл бұрын
I'll never forget in 2019 when DigiKey had nearly every STM32 ic in stock by the thousands. It seemed so normal.
@JosefKopal2 жыл бұрын
More like get any STM in these days ......
@thenextproblem80012 жыл бұрын
Have literally 850pcs with wrong order. İf you interested i can share it with you
@JosefKopal2 жыл бұрын
@@thenextproblem8001 which one please ? (part number)
@thenextproblem80012 жыл бұрын
@@JosefKopal stm32l011k4
@justadude8716 Жыл бұрын
This is a really deep step by step for beginners, I'd argue this is something you should watch only after you stumble through the blink LED and read pin projects.
@spaidory874 Жыл бұрын
I found it fine tbh
@karm00n29 Жыл бұрын
i am depressed i dont get 80% of what theyre talking about lmao im new i only did arduino starter projects in which the code was nowhere near as complicated
@Josuah967 ай бұрын
@@karm00n29same as you bro. Bro please can you share how to learn this stm32 as a beginner
@felixfigueroa2 жыл бұрын
Wow, what good news this initiative .... excellent way to start and masterful introduction..god job 👌
@imrichmorvay22272 жыл бұрын
Robert excelent video!!! Len tak dalej.
@RobertFeranec2 жыл бұрын
Dakujem
@yabool20012 жыл бұрын
Super! Waiting for UART receiving part.
@КотУченый-ч2щ2 жыл бұрын
The best channel about programming stm32 is NR.electronics.
@bobdalah8374 Жыл бұрын
The capacitor C15 and R30 are not for filtering a signal, they give time to clock system to start before the level of reset pin become high to start the microcontroller.
@sandrainthesky1011 Жыл бұрын
Well done! This was very valuable for first time Cube IDE users (like me)
@ThePing982 жыл бұрын
happy to see some software stuff in your channel , thank you
@returncode0000 Жыл бұрын
I want to check embedded programming on ARM/STM32 starting with a Nucleo board. Whereever this journey will take me, should I develop on Windows or Mac with STM32CubeIDE? I’ve heared that the industry standard for developing on ARM is Windows most tools, drivers etc).
@nambot Жыл бұрын
Cool! very useful video for getting started with nucleo board. Thanks for making this video
@pochuanpeng1729 Жыл бұрын
Very helpful, thanks. Please consider have 2nd episode step by step instructions to use I2C ( or multiple I2Cs) on STM32.
@michaelo2lАй бұрын
I tend to use underscore or camel case in file names/paths primarily to prevents known issues arising from the Windows OS back in the days... I should note, "softwares" is not a word, software is both singular and plural, it's not a Count noun...
@bartek1532 жыл бұрын
That was very useful Robert. thanks for that!
@Frisky05632 жыл бұрын
I learn so many from you both great to see G
@jozefsoucik311510 ай бұрын
like your videos and questions. cca 31:00 BTW ... examples are against workflow of STM32 IDE. Because code is generated mostly by setting in IOC.
@byatse30132 жыл бұрын
yes yes it is really useful thank you from Mongolia
@ge440 Жыл бұрын
Very nice video, we need second part.
@Elisabethodje-e6g Жыл бұрын
Thank you for the explanation. Really great video for beginners
@Fixaj Жыл бұрын
thanks too much, like Matrix movie I have learned STM32 now.
@ds-dronebike2 жыл бұрын
Absolute perfect. I start with STM32 dome months ago, like transfer from pic32 platform. Will you create any tutorial about SAI or I2S and DSP? I’m interested of sound applications with using STM32H7 and DSP instructions.
@nikhilchitroda98862 жыл бұрын
waiting for more such video playlist. thanks !
@rogerhusarik2 жыл бұрын
Examples can be found in the repository - C:\Users\YourUserName\STM32Cube\Repository\STM32Cube_FW_G4_V1.4.0\Projects\NUCLEO-G431KB\Examples\GPIO\GPIO_IOToggle
@powerconversionlimited4013 Жыл бұрын
Nice one, thank you!
@EgranoАй бұрын
Thank you very much!! Very good video!
@zaferaltun Жыл бұрын
So helpful, thank you for your effort.
@arisk42 жыл бұрын
24:11 can someone explain how uint8_t hello = "Hello"; works? How can Hello be stored in 8 bits?
@uncommonsensor Жыл бұрын
Maybe the 8 bits point to the array's starting address?
@arisk4 Жыл бұрын
@@uncommonsensor yeah that makes sense. I am not used in programming like that. I would declare it as a string. Is there any difference? Which is better?
@uncommonsensor Жыл бұрын
@@arisk4 Well I'm more familiar with C++, but it does use C strings, which are just arrays of bytes terminated by a 0. Also, arrays typically just point to a location in memory, and then depending on what type of array it is, it will know how to access each element in the array depending on the size of its type, and it's index. I'm not sure if that is what is going on here, but it was just an assumption. Maybe the marks the end of the array somehow
@jalilbiad8656 Жыл бұрын
Second Part is needed !
@VoidShell12311 ай бұрын
Agreed
@nazariimoroz6216 Жыл бұрын
Robert was not learning, he was making sure Greidi isn't making a mistake or misleading the viewers the entire video XD
@patrickrichard65562 жыл бұрын
good work king, love you
@payloh_33282 жыл бұрын
THANK YOU I needed this
@zerocool300211 ай бұрын
Hello, I am new to the world of STM32, do you recommend programming it from visual studio code, or better from cubeIDE?
@mohammed_saeedzayat14182 жыл бұрын
Thanks for the course. However, I wonder if I can use the STM32 Cube IDE environment as exactly real life does for the blinking led first example as a simulation.
@tedina722 жыл бұрын
Best Author
@ahmetbingol2966 Жыл бұрын
Thanks for the great content !
@ric_nhut Жыл бұрын
I will give you a bunch of thanks for this video
@ValiRossi Жыл бұрын
Fantastic video. Thanks!
@paulpichler50892 жыл бұрын
20:00 you can undo it inside the clock configuration window
@marcosethais72 жыл бұрын
do you have plans to take the stm32mp157 course in schematic and pcb?
@B1063N5 ай бұрын
Useful. Thanks!
@klausehrhardt4481 Жыл бұрын
Question: all this hall/cmsiss setup config is alteady multitheading?
@mehmetacar58812 жыл бұрын
It's perfect Tutorial. Thanks A lot.
@arunasadeepa1767 Жыл бұрын
Another great tutorial😍😍, I just don't understand how the LED turned off when using interrupt coz there wasn't any code line as i saw, can someone tell me how.
@polatech-tipps Жыл бұрын
Hey, can somebody help me i have a problem, i dont understand why hello World is not displayed on the screen. I have been following each step and all is good (STM32 is connected, code is good...) but on the console is nothing. Have somebody a solution ? Thanks :/
@welldonehuang9133 Жыл бұрын
thanks for your guidance, very useful.
@_.ah7Ай бұрын
where can i download the user manual for my specific board coz i cant seem to find it
@christiankoch46272 жыл бұрын
LIN Bus tutorial would ne nice!
@thorstenfricke32573 ай бұрын
@to all: Hi why are stm32 debuggers and stm32 arduino boards so cheap compared to microship? Are arm cortex of Microship dead?
@yaswanthcdac8 ай бұрын
sir, why they give double underscore what is the significance of that
@jayroldlangcay57627 күн бұрын
Where Can I access the pinout and configuration of the STM32?
@PrexoQmindАй бұрын
Thank you very much!
@rajendrailager8281 Жыл бұрын
After Project explorer my ioc file will not be able to see in the leftside window. Please let me know
@Tezza12010 ай бұрын
I'm not a professional programmer or anything but I did learn a big thing about libraries. I didn't know if it's included, the whole thing is added. I thought the IDE was smart enough to only compile what was used in the library. So does this mean if you wanted to use just strlng() from string.h....you'd have to copy that string.h library as your own and delete everything that's not needed to save on program size?
@engineerrehman68216 ай бұрын
How to connect LED and relay operation with STM ?
@Fnta_discovery2 жыл бұрын
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 😢
@kanchanagangadaita74427 ай бұрын
Which cable is to be used for connecting with PC?
@nickskywalker2568 Жыл бұрын
I've got the F746G and I am struggling to find which pin I should activate for the led, anyone can help?
@raghudevisetti9382 Жыл бұрын
Is there any processor (instruction) simulator for STM32 MCUs on CubeIDE?
@ediahmadfauziserbhaneka99462 жыл бұрын
It worked. Thanks a lot
@nassershehadeh4661 Жыл бұрын
Could you guys do a tutorial for simulating stm32 processors in Proteus? I am new to this type of development and simulating is cheaper and more practical than buying and testing
@thronex4741 Жыл бұрын
i cant find the STM32F407VET6 development board in the STM32CubeIDE what can i do? Is there a way to add it?
@nomannosher89288 ай бұрын
sometimes issue comes in st board and we dont know reasons why this happened.