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

Поділитися
Вставка
  • Опубліковано 22 лис 2024

КОМЕНТАРІ • 116

  • @ATwice291
    @ATwice291 Місяць тому +25

    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  Місяць тому +9

      Haha yeah, those beginnings are tough :D

    • @xxbatman69xx98
      @xxbatman69xx98 Місяць тому +5

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

    • @colingale
      @colingale Місяць тому +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

      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

      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 Місяць тому +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  Місяць тому +3

      Thank you very much! Greetings from Germany :)

    • @AbelsonIngara
      @AbelsonIngara Місяць тому

      ​@@PhilsLabreceived with applause. keep on educating.

  • @izlizaguirre
    @izlizaguirre Місяць тому +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  Місяць тому +1

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

  • @oliverer3
    @oliverer3 Місяць тому +18

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

  • @casualnoises2808
    @casualnoises2808 Місяць тому +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  Місяць тому

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

    • @casualnoises2808
      @casualnoises2808 Місяць тому

      @@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.

  • @marek_ryn
    @marek_ryn Місяць тому +2

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

    • @KofiAsare0
      @KofiAsare0 29 днів тому

      Actually amazing! The origins of the hacky 0x5F3759DF.

  • @arthurswanson3285
    @arthurswanson3285 Місяць тому

    Stm32 is the family, Phil is the maestro.

  • @bsodmike
    @bsodmike Місяць тому

    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  Місяць тому

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

  • @edgerokoth7234
    @edgerokoth7234 Місяць тому

    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  Місяць тому

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

  • @vbcoder42
    @vbcoder42 Місяць тому

    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  Місяць тому

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

  • @gosdeCarrer
    @gosdeCarrer Місяць тому +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  Місяць тому

      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).

  • @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?

  • @andrefigueiredo4511
    @andrefigueiredo4511 Місяць тому

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

    • @PhilsLab
      @PhilsLab  Місяць тому

      Awesome, glad to hear that, Andre!

  • @markhofmeister702
    @markhofmeister702 Місяць тому

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

  • @Ferreira019760
    @Ferreira019760 Місяць тому

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

    • @PhilsLab
      @PhilsLab  Місяць тому +1

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

  • @bernardmarx6705
    @bernardmarx6705 Місяць тому

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

    • @PhilsLab
      @PhilsLab  Місяць тому +2

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

  • @jcd2diablo100
    @jcd2diablo100 Місяць тому

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

  • @pixelrancher
    @pixelrancher Місяць тому +1

    Fantastic breakdown. Thank you.

  • @Wil_Bloodworth
    @Wil_Bloodworth 29 днів тому

    Wow. That was awesome!

  • @patrickrostami
    @patrickrostami Місяць тому +2

    Great job again😊

    • @PhilsLab
      @PhilsLab  Місяць тому +1

      Thank you, Patrick!

  • @workethicrecords5901
    @workethicrecords5901 Місяць тому

    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  Місяць тому +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...).

  • @thekaduu
    @thekaduu Місяць тому

    Thanks. Always nice to watch your videos.

  • @EmbeddedEnigma
    @EmbeddedEnigma Місяць тому

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

  • @solosolo6833
    @solosolo6833 9 днів тому

    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

  • @BoernTilStede
    @BoernTilStede Місяць тому +1

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

    • @PhilsLab
      @PhilsLab  Місяць тому +1

      Awesome - I hope all goes well with your PCB!

    • @BoernTilStede
      @BoernTilStede Місяць тому

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

  • @platin2148
    @platin2148 Місяць тому

    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  Місяць тому

      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!

  • @kiprof4350
    @kiprof4350 Місяць тому

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

    • @PhilsLab
      @PhilsLab  Місяць тому

      Many thanks for your support :)

  • @frankhatchett4our
    @frankhatchett4our Місяць тому

    In here from Houston, TX

  • @fritzbender5916
    @fritzbender5916 29 днів тому

    Waiting for the first flight video 😅

  • @brendandurkan3605
    @brendandurkan3605 Місяць тому

    Wow perfect timing! Needed this

    • @PhilsLab
      @PhilsLab  Місяць тому

      Glad to hear that!

  • @Helal_Tech
    @Helal_Tech Місяць тому

    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  Місяць тому +1

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

  • @engdarwish8308
    @engdarwish8308 Місяць тому +1

    Wonderful !, Love it

  • @myetis1990
    @myetis1990 Місяць тому

    great job as always, thank you phil.

  • @tariqjameel6862
    @tariqjameel6862 27 днів тому

    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

  • @CraigHollabaugh
    @CraigHollabaugh Місяць тому

    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  Місяць тому

      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 Місяць тому

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

    • @CraigHollabaugh
      @CraigHollabaugh Місяць тому

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

  • @maharshisorathiya3205
    @maharshisorathiya3205 Місяць тому

    Stm32F407 also has FMC

  • @PeterPolycarp-ci3bh
    @PeterPolycarp-ci3bh Місяць тому

    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  Місяць тому

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

    • @PeterPolycarp-ci3bh
      @PeterPolycarp-ci3bh Місяць тому

      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

  • @kevinperillo
    @kevinperillo Місяць тому

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

    • @PhilsLab
      @PhilsLab  Місяць тому

      Thanks you very much!

  • @СергейГород_ко
    @СергейГород_ко 25 днів тому

    28:28 3ed 👍

  • @andrewlloydwebber2616
    @andrewlloydwebber2616 Місяць тому

    Thanks for the video!

    • @PhilsLab
      @PhilsLab  Місяць тому

      Thanks for watching!

  • @danielpihlquist2664
    @danielpihlquist2664 Місяць тому

    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  Місяць тому

      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 Місяць тому

      @@PhilsLab Nice, thank you!

  • @perceptron9834
    @perceptron9834 Місяць тому

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

  • @mukha521
    @mukha521 Місяць тому

    LCD display 😂
    Thank you for your work!👍

    • @PhilsLab
      @PhilsLab  Місяць тому

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

  • @СергейГород_ко
    @СергейГород_ко 25 днів тому

    22:50 2nd 👍

  • @shahinhaque95
    @shahinhaque95 Місяць тому

    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  Місяць тому

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

  • @ucnguyenhoang8891
    @ucnguyenhoang8891 Місяць тому

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

    • @PhilsLab
      @PhilsLab  Місяць тому

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

    • @ucnguyenhoang8891
      @ucnguyenhoang8891 Місяць тому

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

  • @СергейГород_ко
    @СергейГород_ко 25 днів тому

    31:31 extra 👍 of all!

  • @glynnmason8205
    @glynnmason8205 Місяць тому

    thats a great video thanks

    • @PhilsLab
      @PhilsLab  Місяць тому

      Thank you, Glynn!

  • @lars123mc
    @lars123mc Місяць тому

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

    • @PhilsLab
      @PhilsLab  Місяць тому +1

      Awesome, I hope all goes well with your project!

  • @MSP_TechLab
    @MSP_TechLab Місяць тому

    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.

  • @billyjoe3309
    @billyjoe3309 Місяць тому

    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  Місяць тому +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 Місяць тому

      @@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  Місяць тому +1

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

    • @billyjoe3309
      @billyjoe3309 Місяць тому

      @@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!

  • @mkenya_engineer
    @mkenya_engineer Місяць тому

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

    • @PhilsLab
      @PhilsLab  Місяць тому

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

  • @sachinkumar-eb9mt
    @sachinkumar-eb9mt Місяць тому +5

    Hi sir. How are you?

    • @PhilsLab
      @PhilsLab  Місяць тому +1

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

  • @tamaseduard5145
    @tamaseduard5145 Місяць тому +1

    👍🙏❤️

  • @schecher_1
    @schecher_1 Місяць тому

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

    • @PhilsLab
      @PhilsLab  Місяць тому +1

      Yep, aus Heidelberg :)

    • @schecher_1
      @schecher_1 Місяць тому

      @@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  Місяць тому +1

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

  • @9782ravi
    @9782ravi Місяць тому

    please make course on udemy

  • @niwo2045
    @niwo2045 Місяць тому

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

  • @Cosmic-Robotics
    @Cosmic-Robotics Місяць тому

    mind reader