STM32 Programming Tutorial for Custom Hardware | SWD, PWM, USB, SPI - Phil's Lab #13

  Рет қаралды 349,530

Phil’s Lab

Phil’s Lab

Күн бұрын

Пікірлер: 459
@PhilsLab
@PhilsLab 4 жыл бұрын
New hardware and PCB design course on mixed-signal embedded systems just released! ⏵Course content: www.phils-lab.net/courses ⏵Course sign-up: phils-lab-shop.fedevel.education
@AmaDoXX
@AmaDoXX 4 жыл бұрын
Thank you very much for you videos! Helps me a lot!
@spyral98
@spyral98 4 жыл бұрын
Definatelly would really like to see some of the more fancy stuff. Thanks for the videos!!
@bahtiyar.bayram
@bahtiyar.bayram 4 жыл бұрын
Can you write firmware without hal library?
@bobdole27
@bobdole27 4 жыл бұрын
What would i need if i wanted to program a chip itself ,with no board?
@cheesecake667
@cheesecake667 4 жыл бұрын
Rtos would be awesome! Also check out micro-ROS.
@RohitSardessai
@RohitSardessai 4 жыл бұрын
This channel is just fantastic. I've always wanted to learn this stuff and this is one of the finest resources I've stumbled upon. It's easy to find beginner tutorials like Arduino programming but when you get beyond that it becomes harder and harder to find good content and resources.
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you so much, Rohit! Yeah, it's hard to find resources that cover 'the middle ground' for STM32s, so I hope I can make some more videos on that.
@suvapillay9358
@suvapillay9358 4 жыл бұрын
Mate, you're gonna groom alot of engineers with all this content. Essentially, helping people earn their way in the world. God bless you. Take care, and Thank you.
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you, Suva!
@frankbose544
@frankbose544 3 жыл бұрын
your stm32 videos are hands down the best on KZbin keep up the great work sir
@artrock8175
@artrock8175 3 жыл бұрын
Agreed! On a scale of 1 - 10, Phil takes his tutorials to an 11! (Spinal Tap Reference).
@chihebsabri691
@chihebsabri691 4 жыл бұрын
Keep up the good work. The best detailed tutorials ever. Never get bored I can watch your videos for hours 😍
@PhilsLab
@PhilsLab 4 жыл бұрын
Awesome, thank you very much Chiheb!
@davidbrooks8621
@davidbrooks8621 3 жыл бұрын
Phil, you have excellent presentation ability on topics that are on a different level and it is rare to see such a thing. The video is excellent and professional and shows all the basic steps to get started. I'm sure everyone will also be happy to see how DMA is enabled and how RTOS is used. Your contribution to amateurs, students and beginning engineers around the globe is unquestionable.
@PhilsLab
@PhilsLab 3 жыл бұрын
Hi David, Thank you so much for your very kind words. I'm glad to hear that this video has been helpful - thanks again!
@stm3252
@stm3252 3 жыл бұрын
The best stm32 tutorial on KZbin! Hands down!!
@billyjoe3309
@billyjoe3309 4 жыл бұрын
I completely love your videos. Please continue these STM32 videos!
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you very much! More STM32 videos to come :)
@billyjoe3309
@billyjoe3309 4 жыл бұрын
@@PhilsLab Actually working on my first STM board, it's very complex with lots of functions. Using a STM32F7 driven by a LiPo with a high end display. Goal is smooth UI and handheld. I have never used STM32 stuff before so I'm new to the Cude software and your videos are really helping allot!
@clamper5363
@clamper5363 4 жыл бұрын
As someone getting into this your videos have been one of my greatest resources, thank you so much for creating this awesome content!
@PhilsLab
@PhilsLab 4 жыл бұрын
My pleasure, thank you very much for watching! Really glad to hear that. Let me know if there's anything in particular you'd like to see in future videos :)
@danielcox7872
@danielcox7872 2 жыл бұрын
Amazing tutorial Phil! No wasted time, just clear and complete explanations. On the downside, now engineering managers are going to expect that we can crank out a complete project in 38 minuets.
@hedeus
@hedeus 4 жыл бұрын
Please keep this videos coming. I'm learning such great things, that I couldn't find online before you! It's really rare to find someone who explains everything slowly, bit by bit(pun intended😅). Thank you!
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you! Very glad to hear that. Will definitely be keeping the videos coming! :)
@BM-jy6cb
@BM-jy6cb 4 жыл бұрын
Another top video -thanks for posting. Having recently decided to get back into microcontrollers (I'm 8051/8bit PIC vintage!) I'm a bit overawed with how far things have come. It's more akin to programming a full blown computer but with access to the peripherals than a "traditional" microcontroller. Now I'm feeling very old!
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you very much! Indeed, it's crazy how much you can get for so little money these days. ST has now even introduced the STM32MP1, which combines a MPU running embedded Linux with an MCU in one package for under 10 EUR for the cheapest one. Pretty crazy!
@vinamarora7049
@vinamarora7049 4 жыл бұрын
This is some really high quality content/tutorial!
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you very much, Vinam!
@tonyfremont
@tonyfremont 4 жыл бұрын
This is awesome, especially with the long tutorial on making a PCB. I struggled so much trying to figure out how to program and debug a cheap blue pill board. I couldn't find a straightforward tutorial on getting started. I spent countless hours trying to figure out what I needed to program and debug with stlink. Thanks again.
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you, glad it helped out! Yeah, it takes a while to figure this stuff out - but definitely worth it in the end.
@saemipp
@saemipp 3 жыл бұрын
Hello Phil I usually never write comments on KZbin videos, but I just really wanted to let you know that I really enjoyed this one. I've never even touched an STM32 (i know my way around C but thats it) and I've sat here for the entire time just being amazed of how well you explained everything, even though it looks quite complicated. This video motivated me to now order such a board and maybe play around with it a little. So thank you for that!!
@PhilsLab
@PhilsLab 3 жыл бұрын
Thank you very much, Samuel! Very glad to hear that these videos have been helpful. Hope all goes well with your new board :)
@ambient3708
@ambient3708 4 жыл бұрын
Its here and at Ben Eater's channel that I get content that very few give/or dish out properly, great staff!
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you very much!
@pjotrmuis7284
@pjotrmuis7284 4 жыл бұрын
Absolutely an amazing video! This really gives a boost in the right direction when you want to know more about designing a standalone sensor or control unit. I really hope you also want to make a video about how to deal with ADC and write the data to the flash memory. Again really helpful Phil!!
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you, Pjotr! Yes, I'll be making quite a number of videos relating to the firmware of this board. Next one is on DMA and FreeRTOS! :)
@pjotrmuis7284
@pjotrmuis7284 4 жыл бұрын
@@PhilsLab awesome!!!
@ansible9340
@ansible9340 4 жыл бұрын
Started playing around with stm32f3discovery with rust, I am really into embedded right now and this is quality content
@PhilsLab
@PhilsLab 4 жыл бұрын
Awesome, thank you!
@aswinvt
@aswinvt 4 жыл бұрын
Great video... I would really like to see the entire board populated and in full functionality. Hope to see that soon. Keep up this awesome work..
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you! Yes, I'm planning on using this board for the next few videos with the functions combined.
@10e999
@10e999 4 жыл бұрын
While more advance subject is more my cup of tea, I really appreciate what your doing. This would have help me a lot when I was beginning.
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you! Yeah, just trying to cover the basics before moving on to actually implementing something useful (and more advanced) :)
@10e999
@10e999 4 жыл бұрын
@@PhilsLab Yes. I saw your last video using FreeRTOS and DMA. Those are definitely more advance ^^ Looking forward seeing more RTOS-driven software design.
@kulaniscap
@kulaniscap 6 ай бұрын
Can't recall when my eyes have been so glued to my screen. Awesome Channel, awesome video.
@rikilshah
@rikilshah 4 жыл бұрын
Great video. Very few people go this way to explain things in a simple and detailed way. Expect more content from you!
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you, Rikil! More content to come very soon :)
@pnjunction5689
@pnjunction5689 4 жыл бұрын
Another great video! Thanks a lot! Inspired by your STRF video, I recently designed a really tiny board with the STM32L0 and the NRF24. I'm really amazed by the quality JLCPCB delivers for only a few bucks. Also debugging the STM32 appears to be much faster than the PIC microcontrollers I used in the past.
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you very much! That's awesome, did you get the boards already? Yeah, it's amazing how inexpensive assembled PCBs are with them - I just wish that they'd start offering assembly for 6-layer PCBs soon..
@pnjunction5689
@pnjunction5689 4 жыл бұрын
@@PhilsLab Yes, got the boards last week. They look great, but only had time to roughly test the SPI communication and turn on the transmitter in CW test mode. Unfortunately, I have to prioritize paid projects :-) Assembled 6-layer PCB would allow for some very interesting designs!
@FedePantalonesGordos
@FedePantalonesGordos 4 жыл бұрын
@@PhilsLab what kind of great projects do you have in mind, involving 6-layer PCBs? 👀
@skrya1248
@skrya1248 4 жыл бұрын
Awesome video! I hope this will be a whole video series. The topic is not covered well on the internet yet, so I think the community welcomes it nicely!
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you very much! Yeah, hoping to show the basics of writing firmware and then to build up to actually implement something 'useful'!
@vovanikotin
@vovanikotin 4 жыл бұрын
This is the most clear and simple explanation on stm32 MCU! Waiting for quaternion math on IMU calculation routine. Thanks!
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you! Sensor fusion video coming soon! :)
@koro-koro4977
@koro-koro4977 4 жыл бұрын
Salute for your work and dedication. Thank you so much Phil's Lab..
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you!
@markday3145
@markday3145 4 жыл бұрын
A really nice overview! I'm going to go back and watch your earlier videos.
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you, Mark!
@diehardmetalhead3797
@diehardmetalhead3797 4 жыл бұрын
This is gold!! What are the next steps? Which topics you wanna cover?
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you very much! I'd like to make a video on RTOS + DMA and then a couple videos on things such as real-time FIR/IIR filter implementation, extended Kalman filtering, etc.
@Shiniiee
@Shiniiee 4 жыл бұрын
@@PhilsLab That would be SWEET!
@trannhiem1639
@trannhiem1639 4 жыл бұрын
@@PhilsLab Hey Phil Thank youuuuuuuu for your great video again that so exciting to hear you will make some videos about RTOS, could you also cover some video about CMSIS FreeRTOS?
@marcorademan8433
@marcorademan8433 4 жыл бұрын
@@PhilsLab I am very excited for this! Since I study electronic engineering, it's very difficult obtaining such high quality YT resources as yours on slightly more advanced topics.
@fp2634
@fp2634 4 жыл бұрын
@@PhilsLab woow. Looking forward to seing those vidéos
@sidharthap
@sidharthap 3 жыл бұрын
Yes please, more STM32CubeIDE C-programming tutorials !
@PhilsLab
@PhilsLab 3 жыл бұрын
More to come! :)
@rondlh20
@rondlh20 13 күн бұрын
Very well explained, the best I've seen, thanks!
@ScuffedCircuits
@ScuffedCircuits 3 жыл бұрын
Great tutorial. It was tutorials just like this that helped get me into electronics a few years back.
@ryno9732
@ryno9732 2 жыл бұрын
I really want to get into the electronics and this software design. This is such a good video and so well explained. But hell i am confused, lost and amazed all at the same time lol
@diggleboy
@diggleboy 4 жыл бұрын
Phil, your videos are absolutely amazing and very educational. I'm looking to exclusively use the STM32 for my client's projects because of the low cost, high performance and lots of support online. Your video show that I'd be making the right decision to use the STM32 microcontroller series with the ST-LINK/V2 programmer for in-circuit debugging, break points and single stepping through my embedded software code. Thanks for your videos and tutorials.
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you very much! I'm very glad to hear that. Yeah, before settling with the STM32 line of MCUs, I had a pretty long look around for the best MCU manufacturer (in my eyes). Just the fact that things like CubeIDE, HAL, etc. exist made the choice pretty clear to me. Also, the fact that the debugger is so much cheaper than most debuggers available.. Hope all goes well with your STM32 designs! :)
@clarkster1588
@clarkster1588 4 жыл бұрын
@@PhilsLab If I remember they make an isolated and a non-isolated programmer. Do you have a recommendation?
@sumitmamoria
@sumitmamoria 4 жыл бұрын
Excellent video. I wish there could be a long tutorial series for using STM32Cube software with a more complete set of peripherals.
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you, Sumit. More videos on programming STM32 MCUs to come this month! :)
@mashurshalehin4972
@mashurshalehin4972 4 жыл бұрын
Hey Phill. Great video. I am learning a lot. Please make a video on USB bootloader and firmware upgrading through USB if you get time.
@buildthinx
@buildthinx 4 жыл бұрын
best channel for pcb boards!
@cs2dsb
@cs2dsb 4 жыл бұрын
You can force USB to re-enumerate by pulling the USB data lines low for 100ns. You will have to reconfigure the gpio pins of course which is a bit annoying but it's easier than fiddling with cables. I believe it's called a "Single ended zero" in the USB literature.
@viswadeepkopalli6160
@viswadeepkopalli6160 4 жыл бұрын
Have been searching for content like this for a while now thank you for taking the time to provide such an amazing content .
@PhilsLab
@PhilsLab 4 жыл бұрын
Awesome, well thank you for watching! :)
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist 4 жыл бұрын
Great video, nice to see some one reading the data sheets this seems to be a lost art. Proper embedded firmware design being talked through. well worth the time to watch.
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you very much! Yeah, I try to write the drivers from the firmware as opposed to just copying from another source. Not sure how other people do it though!
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist 4 жыл бұрын
@@PhilsLab You hear a lot of "I’ll wait until a library is available"
@zeeshaniqbal7823
@zeeshaniqbal7823 3 жыл бұрын
Very nice, deep and clear overall tutorial. Right now I am learning MC such as STM32 and this gives me goosbump to interact with boards. Could you please also make a series or a video regarding basic concept of Hardware Design Engineer. I am making my career in this field. When I making circuits then so much confused about the components which are connected with ICs and other components. Thanks and appreciated..
@PJElliot
@PJElliot 4 жыл бұрын
Fantastic video!! It was very informative.
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you, Peter!
@PJElliot
@PJElliot 4 жыл бұрын
@@PhilsLab Have you done any STM32 boards with an Ethernet interface? If so, how easy was it to get going?
@bahadr4331
@bahadr4331 4 жыл бұрын
Vielen Dank für diese Video. Eine sehr gut beschriebene tutorial. Thanks Phil.
@PhilsLab
@PhilsLab 4 жыл бұрын
Danke fürs Zuschauen! :)
@luancerilio
@luancerilio 4 жыл бұрын
Hi Phil! Thank you for share with us this nice and really good presented video. I'm excited to see a RTOS running on this board. Also it would be awesome if you make a board using STM32 interfacing with a Sub-GHz transceptor and some sensors to create a generic IoT node.
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you, Luan! RTOS + DMA should feature in the next video :) I'm afraid I'm not much of an IoT guy myself so am planning on doing a couple of other videos first - hopefully all of interest however!
@soufiane_krem
@soufiane_krem 5 ай бұрын
Thank you for providing this valuable guide on STM32 programming !
@papademarco
@papademarco 4 жыл бұрын
Hi Phil. Great video. the 40min more productive of my weekend. thanks so much for sharing your knowledge.
@PhilsLab
@PhilsLab 4 жыл бұрын
Awesome, thank you, Mauricio!
@cpuchip
@cpuchip 4 жыл бұрын
I just found your videos last week! Thank you for putting them together. You're empowering us to make our own boards and program them too! Definitely not as scary as I originally thought. I'd love to seem more fancy stuff, like using DMA and an external ADC board design design. Or High Speed USB phy on an stm32f405. I'm working on reverse engineering some hardware and will need to make my own board to fit an existing enclosure, so your videos are perfectly timed for my needs thanks!
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you very much for watching! Very glad that you found my channel. The new firmware video covers a bit of DMA stuff. Definitely would like to make a video on interfacing an STM32 via DMA with an external codec as well.
@cpuchip
@cpuchip 4 жыл бұрын
@@PhilsLab i already watched it, and even followed along with a nucleo f411re board. I haven't ordered one of your f405 little brains yet. But I plan too once I save a little. I hope to finish my design for my gpio dma project first so I can order both at the same time with JLCPCB.
@abhishekreddy2425
@abhishekreddy2425 4 жыл бұрын
Love the stuff you are teaching here... So glad that I discovered your channel!
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you very much for watching, Abhishek!
@JessieKropp
@JessieKropp 4 жыл бұрын
Great timing. I just recently got a few of the WEACT modules. Great video and really helped me understand CubeIDE. Thank you.
@PhilsLab
@PhilsLab 4 жыл бұрын
Very glad to hear that, thanks for watching, Jessie!
@edisonphoenix3303
@edisonphoenix3303 4 жыл бұрын
You are VERA LEVEL BRO! So Awesome! A lot of love from my team!
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you very much!
@voytechj
@voytechj 4 жыл бұрын
Great project! One thing to do it better would be controlling light intensity in a nonlinear scale (gamma corrected). Human eye has a logarithmic response curve ~ x^1/2.2, so in range from 0 to 100 value 22 is perceived as a half. If power function pow(x, 2.2) (x in 0.0..1.0) is too slow you can use approximation: y=0.8*x^2 + 0.2*x^3 with max error < 1% or y=x^2 with max error 3.5%
@StigBSivertsen
@StigBSivertsen 4 жыл бұрын
Super video! I've been so busy learning atmega328 chip so I haven't had the time look into STM yet but I really want to learn STM32 mcu's so this was perfect.
@PhilsLab
@PhilsLab 4 жыл бұрын
Awesome, yeah I think it's well worth getting into STM32 MCUs. So many doors open (so to speak) when you make the jump!
@MrZomhad
@MrZomhad 4 жыл бұрын
Super informational video, thank you very much! Excited to see what's coming in the future, cheers!
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you very much! :)
@nerosy2341
@nerosy2341 4 жыл бұрын
Grate work ! Keep on going, your videos are helping me so much in my graduation project, Thanx for your efforts :D
@PhilsLab
@PhilsLab 4 жыл бұрын
Awesome, thank you - very glad to hear that! :)
@seifeddineboughanmi8473
@seifeddineboughanmi8473 4 жыл бұрын
Absolutely an amazing video! I suggest to make a tutorial for the CAN BUS interface.
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you! Yes, CAN is definitely on my list of things to make a video on.
@TheCalvinSkinner
@TheCalvinSkinner 4 жыл бұрын
@@PhilsLabWhat's the relative cost of your board in comparison to STM's dev boards?
@variogenesis
@variogenesis 4 жыл бұрын
I really enjoy watching it, thank you Phil!
@PhilsLab
@PhilsLab 4 жыл бұрын
That's great to hear, thank you!
@mouradmkhakh8903
@mouradmkhakh8903 4 жыл бұрын
Very interesting. Thank you it was very helpful and informative for me, a newbie comming from Avr 8bits.
@PhilsLab
@PhilsLab 4 жыл бұрын
Awesome, thank you for watching!
@rasmusg1407
@rasmusg1407 4 жыл бұрын
Really Cool project, really well explained and presented as usual. Great work! :D
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you, Rasmus :D
@HardFault0x00
@HardFault0x00 4 жыл бұрын
Great work! I'm using cubeIDE too and that's very convenient IDE to work with because the cubeMX hasbeen integrated, and can use dark mode lol BTW i'm waiting for section where the mcu interact with ext spi flash, it would be interesting! Keep it up!
@PhilsLab
@PhilsLab 4 жыл бұрын
Awesome, thank you! Yeah, CubeIDE is just really convenient to work with. Thanks for the suggestion, will aim to make a video with that in it!
@DonQuichotteLiberia
@DonQuichotteLiberia 4 жыл бұрын
Excellent video, thank you! You are insanely productive.
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you very much!
@marcinwitkowski2981
@marcinwitkowski2981 4 жыл бұрын
This is what i wanted to see !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Great Video !!!
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you, Marcin!
@CB7CatalystH22a
@CB7CatalystH22a Жыл бұрын
Would you do a video, or have you done a video, explaining in more detail about how you test your new board for issues with voltage and current? I'm sure it's hard to condense so much into one video, I really appreciate the knowledge you share!!!
@PierfrancescoZuccato
@PierfrancescoZuccato 4 жыл бұрын
Your videos are great! I was looking exactly for this. Thanks
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you very much, very glad to hear that!
@arjunramesh6383
@arjunramesh6383 4 жыл бұрын
Yaay brother .Thankyou so much for the tutorial 👏👏👏❤
@PhilsLab
@PhilsLab 4 жыл бұрын
My pleasure, thanks for watching!
@arjunramesh6383
@arjunramesh6383 4 жыл бұрын
@@PhilsLab Eagerly waiting for more videos related to stm .Thanks for teaching .
@PriyankBolia
@PriyankBolia 4 жыл бұрын
Can you make a basic tutorial about using the IDE, and what all clock frequencies setting means, how to select proper pins, etc.
@PhilsLab
@PhilsLab 4 жыл бұрын
Hi Priyank, I'd think there's quite a lot of information on the internet regarding that, so probably not, sorry - I'd like to cover more advanced topics in future videos.
@marcorademan8433
@marcorademan8433 4 жыл бұрын
Would be great if you could also cover fancier stuff like SPI using DMA and perhaps cyclic analogue voltage sampling using DMA too
@PhilsLab
@PhilsLab 4 жыл бұрын
Yes, definitely have plans on making a video on how to set-up DMA!
@cpuchip
@cpuchip 4 жыл бұрын
@@PhilsLab that will be awesome to see! I'm trying to do gpio parallel in to circular fifo with DMA for a reverse engineering project on a broken calculator, so any DMA examples are great!
@wristocrat
@wristocrat Жыл бұрын
Beautiful board
@ToshiLab
@ToshiLab 3 жыл бұрын
Really great content. Detailed and well explained. Thanks!
@PhilsLab
@PhilsLab 3 жыл бұрын
Thank you very much!
@clouddev1136
@clouddev1136 4 жыл бұрын
Thanks for your nice explanation. That actually helps me a lot! Subscribed.
@PhilsLab
@PhilsLab 4 жыл бұрын
Awesome, thank you :)
@vanguard6937
@vanguard6937 4 жыл бұрын
Awesome video series, this really has helped me learn kicad and the fundamentals of designing PCBs with stm32 microcontrollers. In a future video, can you go over using a USB type C connector with an stm32?
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you, very glad to hear that! I haven't had the need for a type C connector + STM32 just yet, but maybe sometime in the future. :)
@avejst
@avejst 4 жыл бұрын
Thanks for sharing this victory walkthrough 👍😀
@PhilsLab
@PhilsLab 4 жыл бұрын
Haha thank you, Asger!
@adamrogers1044
@adamrogers1044 3 жыл бұрын
Awesome video. Great instruction and explanation. Thank you!
@PhilsLab
@PhilsLab 3 жыл бұрын
Thank you very much, Adam!
@fvgm
@fvgm 4 жыл бұрын
Nice video!! Great detailed explanation! Thanks again
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you for watching, Fernando!
@Sorenp-n5o
@Sorenp-n5o 4 жыл бұрын
Hi Phil, you should implement an RTOS for applications like this, its so much fun and really ups the system as a whole.
@PhilsLab
@PhilsLab 4 жыл бұрын
Hi Søren, More 'fancy' programming videos to come (incl. DMA, RTOS, etc.). This one was just to show how to quickly test a custom PCB.
@glynnmason8205
@glynnmason8205 4 жыл бұрын
hi that was a interesting video i've just got into stm32 micro-controllers so this is use full info look forward to seeing more of your videos
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you, Glynn!
@Liam-ey2gs
@Liam-ey2gs 3 жыл бұрын
Thank you so much for your time and effort
@PhilsLab
@PhilsLab 3 жыл бұрын
Thank you very much for watching, Liam!
@DarkPlaysThings
@DarkPlaysThings 3 жыл бұрын
As someone who started out developing in Java, seeing a C development environment in Eclipse is both strange yet pleasantly familiar.
@emregozkaya2630
@emregozkaya2630 4 жыл бұрын
Thank you so much Phil's Lab
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you for watching, Emre :)
@jonyjohan8958
@jonyjohan8958 4 жыл бұрын
this is more complicated than i thought but it's worth learning
@lohikarhu734
@lohikarhu734 4 жыл бұрын
have a look at LP5523 for RGB LEDs - it's a 9-channel driver, with built-in charge pump boost, so it can run up to 4.5 V on 6 of the channels, 3 channels connect to Vdd directly... has many interesting features, is very programmable for LED effects without CPU cycles, after programming and start. automatic temp compensation, channel grouping... very good to write drivers for, and you could find drivers for it on-line, as it was used in Nokia phones And, it's in a small package, about 2.7 x 2.7l
@AgentOffice
@AgentOffice 4 жыл бұрын
Insane chip and software
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you!
@Shinsei75
@Shinsei75 4 жыл бұрын
Мужик, да ты просто гений.
@PhilsLab
@PhilsLab 4 жыл бұрын
Большое спасибо, братан!
@MegaTraxxas
@MegaTraxxas 3 жыл бұрын
Thanks for this tutorial, it is really great for beginners.
@PhilsLab
@PhilsLab 3 жыл бұрын
Thank you!
@bastiaanschaap
@bastiaanschaap 4 жыл бұрын
Thank you for sharing Phil! All your videos are pure gold IMHO 👍🏻 Just a quick question: did you leave out the flash memory programming for a future video?
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you very much, Bastiaan! Yes, I left out a couple of things on this board for future videos, but planning on making them soon :)
@JayPatel-ce4jp
@JayPatel-ce4jp Жыл бұрын
If you have an STM32F3 Series Nucleo Board, you need to enable PG6 as it controls a pull-up resistor for a data + line, didn't realize until I read the documentation, all I did was toggle the pin in my setup, Also I realized that the bottom micro USB receptacle doesn't need power, I have a switchable on off set to off and the bottom USB port and it was still outputting to the virtual com port despite it being off.
@jimybobjim
@jimybobjim 3 жыл бұрын
Hi, could you please give a more in-depth explanation of how u configured the clocks?
@SiggyPony
@SiggyPony 4 жыл бұрын
That so cool :D I only worked with STM32 briefly, before I caught the build it all out of TTL bug lol.
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you! Well hope this video can get you back on the 'STM32-train' :D
@electromatic2014
@electromatic2014 4 жыл бұрын
Wow, im excited to see the driver for the flash memory!, will be waiting for it. Thanks for the interesting video
@PhilsLab
@PhilsLab 4 жыл бұрын
Will hopefully be doing that in a future video, thanks for watching!
@surajnvm
@surajnvm 3 ай бұрын
Hello sir! This is the first video which really made me understand STM32 programming and firmware creation. Even though the code syntax and language is not so comprehensible for me, as i understood learning C is going to be the first step after that do i have to learn embedded C programming? For understanding microcontrollers and different peripherals what should i do? Again thank you so much for the video ❤❤
@robertparenton7470
@robertparenton7470 3 жыл бұрын
Thank You! From Frisco Texas.
@wovada
@wovada 4 жыл бұрын
Thanks. This information is actuality
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you!
@NivagSwerdna
@NivagSwerdna 4 жыл бұрын
The Impedance match choice on JLPCB is not something I have ever noticed... I've never had problems but perhaps been lucky. I tend to keep my USB traces pretty matched length wise and sitting above a ground plane. Might have to watch your earlier video. Great content here... starting with any eco system is a big step and this will really help people.
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you for watching! Yeah, for USB FS it doesn't really matter to be honest. The signal/rise times are so slow that you can go pretty wild with routing before you get any problems.
@splinters_pinter
@splinters_pinter 3 жыл бұрын
Dude, this is really cool!!
@danhellgren5671
@danhellgren5671 4 жыл бұрын
Nice board! Is there a reason why you don't flood top and bottom layer with ground?
@impulse_ger
@impulse_ger 4 жыл бұрын
I like the video before watching it
@PhilsLab
@PhilsLab 4 жыл бұрын
Haha thank you!
@MrHeninsh
@MrHeninsh 4 жыл бұрын
Hi Phil! Top as always! A little bit boring to watching this video with out snacks! :D
@PhilsLab
@PhilsLab 4 жыл бұрын
Hi Jānis, Thank you! Haha snacks are always a good idea :D
@MrTada98
@MrTada98 4 жыл бұрын
The timer +1 thing is so that the 0 setting is not wasted. You obviously can't divide clock by 0. Offsetting everything by one is much easier than trying to explain people that 0 is not an option.
@rollandmaro8958
@rollandmaro8958 4 жыл бұрын
Thank you Phil.
@PhilsLab
@PhilsLab 4 жыл бұрын
My pleasure, thank you for watching!
@petermuller608
@petermuller608 4 жыл бұрын
That's a nice tutorial! However I would have preferred you using snprintf, since it's aimed at beginners. I don't even think I would have been more difficult to understand, since the usb transmit function also takes a buffer size
@PhilsLab
@PhilsLab 4 жыл бұрын
Thank you, Peter! Yeah, could've used snprintf - I guess I just used the first function that came into my mind. Just wanted to quickly get something out on the USB and show the CDC_Transmit_FS() function.
@baldebaldemord9588
@baldebaldemord9588 4 жыл бұрын
Sending data via USB VCP seems fairly easy. What I struggle with is reciving data from the PC. I need this since I want to controll the flow of my application from within a GUI on the PC side. I stumbled upon "CDC_Receive_FS". It seems to be some kind of Callback, that gets called whenever data is recevied via USB. I would like to use this in non Blocking mode, so the STM32 would do it's things until a new command is send by the user via PC. I don't have the hardware yet to test stuff (shoud arrive soon), so I'm just doing some research on the topic. It seems rather complicated. I would love a video from you about the topic!
@anandkachale5187
@anandkachale5187 4 жыл бұрын
Hey just a suggestion. I have been following the channel over 2 months i think. I have some experience with KiCad but in the initial days I really struggled. I think It would be a very nice idea to make a playlist of a kicad software course kind of video series. More about of learning KiCad.
Aesthetic PCB Design Tips - Phil's Lab #84
17:56
Phil’s Lab
Рет қаралды 87 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Extracting Firmware from Embedded Devices (SPI NOR Flash) ⚡
18:41
Flashback Team
Рет қаралды 604 М.
KiCad STM32 + RF + USB Hardware Design - Phil's Lab #5
44:01
Phil’s Lab
Рет қаралды 361 М.
STM32 Guide #2: Registers + HAL (Blink example)
30:02
Mitch Davis
Рет қаралды 222 М.
QFN PCB Design Tips & Tricks - Phil's Lab #144
37:13
Phil’s Lab
Рет қаралды 16 М.
Stepper Motors with Arduino - Controlling Bipolar & Unipolar stepper motors
50:22
KiCad 6 STM32 PCB Design Full Tutorial - Phil's Lab #65
1:40:06
Phil’s Lab
Рет қаралды 658 М.
Speedrunning 30yrs of lithography technology
46:07
Breaking Taps
Рет қаралды 1 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН