STM32 + LCD Display (FMC) Firmware Tutorial - Phil's Lab

Поделиться
HTML-код
  • Опубликовано: 18 дек 2024

Комментарии • 122

  • @ATwice291
    @ATwice291 2 месяца назад +27

    watched the video and remembered my first days at work. STM32F7 + QSPI Flash + FMC SRDAM + LTDC RGB888 7" Display + TouchGFX = several weeks before anything started working 😅everything is so easy in the video

    • @PhilsLab
      @PhilsLab  2 месяца назад +10

      Haha yeah, those beginnings are tough :D

    • @xxbatman69xx98
      @xxbatman69xx98 2 месяца назад +5

      @@PhilsLabI’m still in those beginning days. Everything is hard

    • @colingale
      @colingale 2 месяца назад +3

      mine was stm32f4, it was a bricked and locked 3d printer display, erased it, wrote new bootloader+ ported a competing fw to the device which is upset the oem who then open up the fw to ge on o/s band wagon, failed and now do compatible device for the other "maker", win for reverse engineering and open source :-)

    • @rallymax2
      @rallymax2 2 месяца назад +2

      I’m having flashbacks just reading this. Things have changed a lot and at the same time very little in 25 years.

    • @vincentnguyen8083
      @vincentnguyen8083 2 месяца назад +2

      I remember setting up QSPI XiP on an STM32H750 a few years back, took a whole month to even understand how to start haha 😂

  • @AbelsonIngara
    @AbelsonIngara 2 месяца назад +17

    Thank you Phillip Salmony, I am always up to date with your educational videos from Kenya. I have learned a lot, I am really grateful🙏💪

    • @PhilsLab
      @PhilsLab  2 месяца назад +3

      Thank you very much! Greetings from Germany :)

    • @AbelsonIngara
      @AbelsonIngara 2 месяца назад

      ​@@PhilsLabreceived with applause. keep on educating.

  • @oliverer3
    @oliverer3 2 месяца назад +20

    I swear you are in my walls! I was struggling with this less than a week ago!

  • @izlizaguirre
    @izlizaguirre 2 месяца назад +4

    I can never repay you for all the headaches you've helped me avoid these past couple of years, thank you so much😭😭

    • @PhilsLab
      @PhilsLab  2 месяца назад +1

      Well, I'm very glad to hear that the videos have been helpful :)

  • @casualnoises2808
    @casualnoises2808 2 месяца назад +2

    Very interesting tutorial on using an LCD in parallel mode with the STM32H743, thanks a lot Phil. I am just designing a EuroRack module with a touchscreen. Your clear explanation comes at just the right time! Thx!

    • @PhilsLab
      @PhilsLab  2 месяца назад

      Thank you - Eurorack with a touchscreen sounds like a cool project!

    • @casualnoises2808
      @casualnoises2808 2 месяца назад

      @@PhilsLab I hope so indeed. I learned a lot from your tutorials on pcb design and the STM32 mcu family. It was thanks to you that I started PCB design, thank you very much.

  • @arthurswanson3285
    @arthurswanson3285 Месяц назад

    Stm32 is the family, Phil is the maestro.

  • @marek_ryn
    @marek_ryn 2 месяца назад +2

    This small uC is very powerful. I manage to port and run Quake on it :)

    • @KofiAsare0
      @KofiAsare0 Месяц назад

      Actually amazing! The origins of the hacky 0x5F3759DF.

  • @EmbeddedEnigma
    @EmbeddedEnigma 2 месяца назад

    always happy to see get notification from phil's lab.

  • @andrefigueiredo4511
    @andrefigueiredo4511 2 месяца назад

    Thank you, I was just studying about this few weeks ago and was struggling a lot. Your videos help me a lot!

    • @PhilsLab
      @PhilsLab  2 месяца назад

      Awesome, glad to hear that, Andre!

  • @thekaduu
    @thekaduu 2 месяца назад

    Thanks. Always nice to watch your videos.

    • @PhilsLab
      @PhilsLab  2 месяца назад

      Many thanks!

  • @bsodmike
    @bsodmike 2 месяца назад

    Fantastic master class as always Phil, absolutely love your educational content. This is definitely giving me ideas. I've been working on a stackable baseboard design with FPC connectors, but I think I want to use a dupont header as well leaving the FPC connectors as an option. Reason is during the prototyping phase, the FPCs alone will invariably need breaking out again, at additional cost etc.

    • @PhilsLab
      @PhilsLab  2 месяца назад

      Thank you very much, Mike! Good luck with your project!

  • @edgerokoth7234
    @edgerokoth7234 2 месяца назад

    Phil I am so grateful for your educational content. Im currently on #127, #128, and you are such a billionaire when it comes to hardware engineering teaching. Im still enjoying your free courses, then hopefully advance to the fedevel courses. much blessings

    • @PhilsLab
      @PhilsLab  2 месяца назад

      Thank you very much, Edger - I'm amazed you watched nearly all of the videos!

  • @patrickrostami
    @patrickrostami 2 месяца назад +2

    Great job again😊

    • @PhilsLab
      @PhilsLab  2 месяца назад +1

      Thank you, Patrick!

  • @kiprof4350
    @kiprof4350 2 месяца назад

    Thank you Phil! Absolutely loved this tutorial! The explanations were clear and easy to follow :)

    • @PhilsLab
      @PhilsLab  2 месяца назад

      Many thanks for your support :)

  • @Wil_Bloodworth
    @Wil_Bloodworth Месяц назад

    Wow. That was awesome!

  • @pixelrancher
    @pixelrancher 2 месяца назад +1

    Fantastic breakdown. Thank you.

    • @PhilsLab
      @PhilsLab  2 месяца назад +1

      Many thanks!

  • @nahomamde8353
    @nahomamde8353 Месяц назад

    This is exactly what I've been looking for thank you! Do you ever plan on exploring the new graphics engine they have on the stm32u5g9 chips?

  • @brendandurkan3605
    @brendandurkan3605 2 месяца назад

    Wow perfect timing! Needed this

    • @PhilsLab
      @PhilsLab  2 месяца назад

      Glad to hear that!

  • @Ferreira019760
    @Ferreira019760 2 месяца назад

    Lovely video. Sometime in the future I personally would like to see a touchscreen for a similar application.

    • @PhilsLab
      @PhilsLab  2 месяца назад +1

      Many thanks! Touch screen part is definitely to come with this this display and PCB.

  • @frankhatchett4our
    @frankhatchett4our 2 месяца назад

    In here from Houston, TX

  • @myetis1990
    @myetis1990 2 месяца назад

    great job as always, thank you phil.

  • @СергейГород_ко
    @СергейГород_ко Месяц назад

    28:28 3ed 👍

  • @engdarwish8308
    @engdarwish8308 2 месяца назад +1

    Wonderful !, Love it

    • @PhilsLab
      @PhilsLab  2 месяца назад +1

      Thank you!

  • @markhofmeister702
    @markhofmeister702 2 месяца назад

    EXACTLY what I needed. Thanks! What happened with PCBWay?

  • @СергейГород_ко
    @СергейГород_ко Месяц назад

    22:50 2nd 👍

  • @СергейГород_ко
    @СергейГород_ко Месяц назад

    31:31 extra 👍 of all!

  • @sam42j
    @sam42j 2 месяца назад

    fantastic video.♥
    first time i used a tft lcd i didnt know there were many protocols and just assumed all lcd displays and libraries support parallel and SPI. was an adventure to get it working (turns out it only supported parallel interface). had to try out many libraries and edit them to get it to work. there was no proper documentation for that display i picked up since at the time i chose the cheapest option. like i found multiple contradicting infos about it and its touch support.

    • @PhilsLab
      @PhilsLab  2 месяца назад

      Thank you! Yeah, the first time is quite daunting.

  • @jcd2diablo100
    @jcd2diablo100 2 месяца назад

    Hello ... Great content as always ... why the schematics not present in the Interactive designs ?!

  • @gosdeCarrer
    @gosdeCarrer 2 месяца назад +1

    I have started to use VSCode with the new official extension from ST, instead of the CubeIDE. It works very well. What is important, CubeMX, is the same. Configure everything, save and it updates the code. But edit and build with VSCode, flash and also debug. So far is very stable, (I don't know if there's still something not 100% covered). CMake is an advantage also, to adjust the build and all paths, instead of many mouse clicks in the old IDE. And the editor is much better and agile, IMO, (I have worked many years with Eclipse).

    • @PhilsLab
      @PhilsLab  2 месяца назад

      Interesting - I haven't tried that myself, but may give that a go sometime. So far, despite some 'oddities' I'm actually quite happy with the standard Eclipse set-up and haven't had a reason to change (yet).

  • @fritzbender5916
    @fritzbender5916 Месяц назад

    Waiting for the first flight video 😅

  • @andrewlloydwebber2616
    @andrewlloydwebber2616 2 месяца назад

    Thanks for the video!

    • @PhilsLab
      @PhilsLab  2 месяца назад

      Thanks for watching!

  • @bernardmarx6705
    @bernardmarx6705 2 месяца назад

    This is great, I'm just starting with lvgl, I hope you'll explain how to configure it within Cube Ide.

    • @PhilsLab
      @PhilsLab  2 месяца назад +2

      Thank you, Bernard - one of the next videos will build on this with LVGL.

  • @MSP_TechLab
    @MSP_TechLab 2 месяца назад

    28:30 I know that it heavily debated question, but I still can't understand why so many developers are so lazy to add a comment to their library.
    And yes, author of the lib has a beautiful post with pretty good explanation of configuration, but in any case something like "//start address of fmc memory" will give a little bit more direction of search.

  • @workethicrecords5901
    @workethicrecords5901 2 месяца назад

    Excellent video.
    Speaking of all this memory stuff, I would LOVE to see a video in ST's XIP implementation on the H7 series. I've been diving in a wrestling with the provided templates, but it does seem very opaque, and ST doesn't have a lot of good documentation on the system.

    • @PhilsLab
      @PhilsLab  2 месяца назад +1

      Thank you! QSPI/XiP stuff is definitely on my list of videos to make, as the ST documentation isn't terribly good (especially when trying to use OSPI as QSPI as well...).

  • @solosolo6833
    @solosolo6833 Месяц назад

    Thanks for your teaching Phillip.
    May I ask, how should i obtain the value of bytes per line and bytes per pixel on the photo.c file

  • @domoledlight
    @domoledlight День назад

    Thanks a lot for your tuto i have learn a lot i am working on stm32h750 i have a question about fmc 24 bit why i don't have the option in cube ide config window?

  • @kevinperillo
    @kevinperillo 2 месяца назад

    10/10 I like your well engineered projects 😄There are, unfortunately, far too few of them!

    • @PhilsLab
      @PhilsLab  2 месяца назад

      Thanks you very much!

  • @Helal_Tech
    @Helal_Tech 2 месяца назад

    Hi, Phil. I always see in your designs the silkscreen section have solid square silkscreen and the word is written as a hollow in solid silkscreen. Could you tell us how you make it?

    • @PhilsLab
      @PhilsLab  2 месяца назад +1

      In Altium and KiCad, in the text options you can select the 'inverted' option.

  • @maharshisorathiya3205
    @maharshisorathiya3205 2 месяца назад

    Stm32F407 also has FMC

  • @perceptron9834
    @perceptron9834 2 месяца назад

    Do you also plan to make video tutorials about the quad copter? :)

    • @PhilsLab
      @PhilsLab  2 месяца назад +1

      Definitely!

  • @mukha521
    @mukha521 2 месяца назад

    LCD display 😂
    Thank you for your work!👍

    • @PhilsLab
      @PhilsLab  2 месяца назад

      I know.. had to put both in the video title, as otherwise it also looks weird :D

  • @BoernTilStede
    @BoernTilStede 2 месяца назад +1

    No way! I just ordered a pcb with fort stm32 and ili9488 display though using a ffc/fpc connector.

    • @PhilsLab
      @PhilsLab  2 месяца назад +1

      Awesome - I hope all goes well with your PCB!

    • @BoernTilStede
      @BoernTilStede 2 месяца назад

      @@PhilsLab Thanks! doing multiFX pedal for bachelors project B). All the videos has really helped me with a lot of inspiration!

  • @platin2148
    @platin2148 2 месяца назад

    Uhh this looks nice, i choose to punish my self though and did go with MIPI DSI and seem to struggle with interfacing the panel. Driver for it would actually be open source as in is Kernel Mainline. It seems to use the SD2828 and a extra GD32 which apparently is the only thing they use for the display no DBI?
    Using the all new ESP32p4 for it..

    • @PhilsLab
      @PhilsLab  2 месяца назад

      I've yet to try MIPI DSI with STM32s, as I haven't really had a reason to do so.. Let me know how you get on!

  • @glynnmason8205
    @glynnmason8205 2 месяца назад

    thats a great video thanks

    • @PhilsLab
      @PhilsLab  2 месяца назад

      Thank you, Glynn!

  • @shahinhaque95
    @shahinhaque95 2 месяца назад

    Out of curiosity, Have you delved into Zephyr RTOS at all? I'm a huge fan, allows me to have the same code across different boards with different MCUs

    • @PhilsLab
      @PhilsLab  2 месяца назад

      I've been meaning to with the NRF chips - but haven't found a reason to use them in a project yet unfortunately.

  • @PeterPolycarp-ci3bh
    @PeterPolycarp-ci3bh 2 месяца назад

    Hi Phil Salmony, thanks for all you do. Your videos have helped me alot.
    I'm sorry for asking, but why did you delete your video on EMC and SI.

    • @PhilsLab
      @PhilsLab  2 месяца назад

      Thank you! I'm in the process of remaking and improving that video :)

    • @PeterPolycarp-ci3bh
      @PeterPolycarp-ci3bh 2 месяца назад

      Thanks, Phil. I'm working on becoming a professional pcb designer and firmware developer.
      I hope I become finacially buoyant to buy your course one day

  • @prajwalnataraj964
    @prajwalnataraj964 8 дней назад

    How do you acquire components for your custom PCB?

  • @CraigHollabaugh
    @CraigHollabaugh 2 месяца назад

    Excellent video including going with 'old school' 8080/6800 parallel interface using the FMC. How 1970s of you. I've never seen such a complete coverage in our SPI/I2C world. My question is, did you figure out this byteswap fix before or after you had boards made? Thanks Phil.

    • @PhilsLab
      @PhilsLab  2 месяца назад

      Haha thank you, Craig. I had previously implemented this on other MCUs (e.g. U5s) and naively assumed the procedure would be the same. Had the PCBs in hand and then found out that this remap is needed - but luckily it was an easy fix.

    • @CraigHollabaugh
      @CraigHollabaugh 2 месяца назад

      @PhilsLab lucky yes, Ive been down multi-day rabbit holes like this and it sucks.

    • @CraigHollabaugh
      @CraigHollabaugh 2 месяца назад

      @@PhilsLab lucky yes (3000 pages), I've been down this multi-day rabbit hole and it's not good for schedule.

  • @tariqjameel6862
    @tariqjameel6862 Месяц назад

    Thanks for great videos,i have 1 request ,please reduce the price for mix signal harware design course ,maybe less then 50 dollars so students can easily afford that .Thankyou

  • @danielpihlquist2664
    @danielpihlquist2664 2 месяца назад

    Hey! Thanks you so much, really good stuff!
    What's your take on using an CC2500 instead of something like an ESP32 and ESP-NOW? (Asking because I'm myself using a CC2500 for a project, and I feel that I would receive this question should I try to sell it...)

    • @PhilsLab
      @PhilsLab  2 месяца назад

      Thanks! The CC2500 has a few benefits for this application, e.g. low-level/direct comms (compared to WiFi/BT), extended range, lower power consumption, latency, etc. In my eyes far more suitable for this drone/controller application.

    • @danielpihlquist2664
      @danielpihlquist2664 2 месяца назад

      @@PhilsLab Nice, thank you!

  • @billyjoe3309
    @billyjoe3309 2 месяца назад

    Would be truly awesome if you could design an embedded device like this one but that can also recieve videofeed from the drone!

    • @PhilsLab
      @PhilsLab  2 месяца назад +3

      I agree - that's definitely on my list of things to build! Once this is fully up and running, I'll aim to make a revision with some FPV-style video.

    • @billyjoe3309
      @billyjoe3309 2 месяца назад

      @@PhilsLab I can assure you it will be a MUCH appreciated video. It may even give you the most views. Reason is that there is no such solution out there yet. Lots of DIY projects exist, but sending high quality video to a microcontroller that handles the feed and also able to overlay graphics, that's not an easy task.
      I'm thinking sort of a "DJI-style DIY project" if you know what I mean. We all know that DJI has some serious technology.
      Very much looking forward to see where this series of videos takes you. I believe it will be a huge success on your channel!

    • @PhilsLab
      @PhilsLab  2 месяца назад +1

      Thanks - agreed it's not trivial! Should be a few fun videos to make and a cool project overall.

    • @billyjoe3309
      @billyjoe3309 2 месяца назад

      @@PhilsLab I got a little excited so I did some research which I wanna give to you.
      The STM32 processor you have probably has some nice way of getting a camera signal, but if not then here's a solution.
      Drone cameras use composite video, atleast the ordinary stuff. No idea what DJI uses, they're on a different level.
      So from the drone camera transciever, you get a composite video stream that you can then feed to a ADV7280, which will then give you 8-bit parallel output which you can feed into the STM32.
      You'll be running LVGL which has "lv_canvas" which is a very simple and smart way of taking that camera feed (which is now in a buffer) and "connecting" that buffer together with LVGL. Making you able to do overlays and even move the video feed on screen around (drag) if you'd want to.
      Hope this helps. I look forward to the next video!

  • @sachinkumar-eb9mt
    @sachinkumar-eb9mt 2 месяца назад +5

    Hi sir. How are you?

    • @PhilsLab
      @PhilsLab  2 месяца назад +1

      I'm alright, thanks - how are you? :D

  • @ucnguyenhoang8891
    @ucnguyenhoang8891 2 месяца назад

    Hi Phillip Salmony, Which of your courses will cover all of this content?

    • @PhilsLab
      @PhilsLab  2 месяца назад

      What do you mean by 'all of this content'? The flight controller and RC controller will be covered on the channel.

    • @ucnguyenhoang8891
      @ucnguyenhoang8891 2 месяца назад

      @@PhilsLab I mean which of your courses in your educational website will cover this content. I want to learn from beginner

  • @EdwinFairchild
    @EdwinFairchild 5 дней назад

    Right click on your project and Select Close None Related Projects , lol it wont delete them from the project view, but make eclipse use up less ram

  • @mkenya_engineer
    @mkenya_engineer 2 месяца назад

    Could you do one for BLDC motor controller with FOC based on STM32

    • @PhilsLab
      @PhilsLab  2 месяца назад

      At some point, yes - in the meantime, TI has an excellent series of videos on FOC on RUclips.

  • @aaaaa-ct1vn
    @aaaaa-ct1vn 7 дней назад

    RGB LCD can drive?

  • @saifUllah-q4e1c
    @saifUllah-q4e1c День назад

    can i get the full schematic, ty for the vid if no anyway

    • @saifUllah-q4e1c
      @saifUllah-q4e1c День назад

      I am idiot i found it thank you for the vid

  • @lars123mc
    @lars123mc 2 месяца назад

    Timing couldn't be greater as I'm designing an RC controller with an interface for my student project!

    • @PhilsLab
      @PhilsLab  2 месяца назад +1

      Awesome, I hope all goes well with your project!

  • @tamaseduard5145
    @tamaseduard5145 2 месяца назад +1

    👍🙏❤️

  • @schecher_1
    @schecher_1 2 месяца назад

    Warte mal...
    Phil´s Lab kommt aus Deutschland?
    Dat rall Ich erst jetzt.

    • @PhilsLab
      @PhilsLab  2 месяца назад +1

      Yep, aus Heidelberg :)

    • @schecher_1
      @schecher_1 2 месяца назад

      @@PhilsLab Grüße aus dem Münsterland.
      Krass, ich höre eigentlich jeden Deutschen heraus, der Englisch spricht.
      Aber bei Ihnen habe ich alles erwartet, nur nicht aus Deutschland.
      Abgesehen davon sind die Videos grandios :D
      Schamanten Abend noch.

    • @PhilsLab
      @PhilsLab  2 месяца назад +1

      Vielen Dank! Bin zweisprachig aufgewachsen, in England auch zur Schule/Uni gegangen - daher ist das etwas 'getarnt' :)

  • @9782ravi
    @9782ravi 2 месяца назад

    please make course on udemy

  • @niwo2045
    @niwo2045 2 месяца назад

    Is here anyone who has experience with STM32 and MIPI displays?

  • @Cosmic-Robotics
    @Cosmic-Robotics 2 месяца назад

    mind reader