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

  Рет қаралды 27,095

Phil’s Lab

Phil’s Lab

Күн бұрын

Пікірлер
@ATwice291
@ATwice291 Ай бұрын
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 Ай бұрын
Haha yeah, those beginnings are tough :D
@xxbatman69xx98
@xxbatman69xx98 Ай бұрын
@@PhilsLabI’m still in those beginning days. Everything is hard
@colingale
@colingale Ай бұрын
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 Ай бұрын
I’m having flashbacks just reading this. Things have changed a lot and at the same time very little in 25 years.
@vincentnguyen8083
@vincentnguyen8083 Ай бұрын
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 Ай бұрын
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 Ай бұрын
Thank you very much! Greetings from Germany :)
@AbelsonIngara
@AbelsonIngara Ай бұрын
​@@PhilsLabreceived with applause. keep on educating.
@oliverer3
@oliverer3 Ай бұрын
I swear you are in my walls! I was struggling with this less than a week ago!
@PhilsLab
@PhilsLab Ай бұрын
👀
@izlizaguirre
@izlizaguirre Ай бұрын
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 Ай бұрын
Well, I'm very glad to hear that the videos have been helpful :)
@marek_ryn
@marek_ryn Ай бұрын
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.
@casualnoises2808
@casualnoises2808 Ай бұрын
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.
@arthurswanson3285
@arthurswanson3285 Ай бұрын
Stm32 is the family, Phil is the maestro.
@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!
@gosdeCarrer
@gosdeCarrer Ай бұрын
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).
@EmbeddedEnigma
@EmbeddedEnigma Ай бұрын
always happy to see get notification from phil's lab.
@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!
@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!
@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.
@Ferreira019760
@Ferreira019760 Ай бұрын
Lovely video. Sometime in the future I personally would like to see a touchscreen for a similar application.
@PhilsLab
@PhilsLab Ай бұрын
Many thanks! Touch screen part is definitely to come with this this display and PCB.
@kiprof4350
@kiprof4350 Ай бұрын
Thank you Phil! Absolutely loved this tutorial! The explanations were clear and easy to follow :)
@PhilsLab
@PhilsLab Ай бұрын
Many thanks for your support :)
@thekaduu
@thekaduu Ай бұрын
Thanks. Always nice to watch your videos.
@PhilsLab
@PhilsLab Ай бұрын
Many thanks!
@Wil_Bloodworth
@Wil_Bloodworth Ай бұрын
Wow. That was awesome!
@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?
@pixelrancher
@pixelrancher Ай бұрын
Fantastic breakdown. Thank you.
@PhilsLab
@PhilsLab Ай бұрын
Many thanks!
@BoernTilStede
@BoernTilStede Ай бұрын
No way! I just ordered a pcb with fort stm32 and ili9488 display though using a ffc/fpc connector.
@PhilsLab
@PhilsLab Ай бұрын
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!
@patrickrostami
@patrickrostami Ай бұрын
Great job again😊
@PhilsLab
@PhilsLab Ай бұрын
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 Ай бұрын
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...).
@fritzbender5916
@fritzbender5916 Ай бұрын
Waiting for the first flight video 😅
@markhofmeister702
@markhofmeister702 Ай бұрын
EXACTLY what I needed. Thanks! What happened with PCBWay?
@brendandurkan3605
@brendandurkan3605 Ай бұрын
Wow perfect timing! Needed this
@PhilsLab
@PhilsLab Ай бұрын
Glad to hear that!
@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 Ай бұрын
Thank you, Bernard - one of the next videos will build on this with LVGL.
@myetis1990
@myetis1990 Ай бұрын
great job as always, thank you phil.
@PhilsLab
@PhilsLab Ай бұрын
Thank you!
@СергейГород_ко
@СергейГород_ко 28 күн бұрын
28:28 3ed 👍
@kevinperillo
@kevinperillo Ай бұрын
10/10 I like your well engineered projects 😄There are, unfortunately, far too few of them!
@PhilsLab
@PhilsLab Ай бұрын
Thanks you very much!
@engdarwish8308
@engdarwish8308 Ай бұрын
Wonderful !, Love it
@PhilsLab
@PhilsLab Ай бұрын
Thank you!
@frankhatchett4our
@frankhatchett4our Ай бұрын
In here from Houston, TX
@СергейГород_ко
@СергейГород_ко 28 күн бұрын
22:50 2nd 👍
@tariqjameel6862
@tariqjameel6862 29 күн бұрын
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
@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
@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.
@andrewlloydwebber2616
@andrewlloydwebber2616 Ай бұрын
Thanks for the video!
@PhilsLab
@PhilsLab Ай бұрын
Thanks for watching!
@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!
@jcd2diablo100
@jcd2diablo100 Ай бұрын
Hello ... Great content as always ... why the schematics not present in the Interactive designs ?!
@maharshisorathiya3205
@maharshisorathiya3205 Ай бұрын
Stm32F407 also has FMC
@СергейГород_ко
@СергейГород_ко 28 күн бұрын
31:31 extra 👍 of all!
@glynnmason8205
@glynnmason8205 Ай бұрын
thats a great video thanks
@PhilsLab
@PhilsLab Ай бұрын
Thank you, Glynn!
@solosolo6833
@solosolo6833 11 күн бұрын
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
@perceptron9834
@perceptron9834 Ай бұрын
Do you also plan to make video tutorials about the quad copter? :)
@PhilsLab
@PhilsLab Ай бұрын
Definitely!
@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 Ай бұрын
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 Ай бұрын
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!
@sachinkumar-eb9mt
@sachinkumar-eb9mt Ай бұрын
Hi sir. How are you?
@PhilsLab
@PhilsLab Ай бұрын
I'm alright, thanks - how are you? :D
@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 Ай бұрын
In Altium and KiCad, in the text options you can select the 'inverted' option.
@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.
@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
@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
@lars123mc
@lars123mc Ай бұрын
Timing couldn't be greater as I'm designing an RC controller with an interface for my student project!
@PhilsLab
@PhilsLab Ай бұрын
Awesome, I hope all goes well with your project!
@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.
@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 KZbin.
@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!
@tamaseduard5145
@tamaseduard5145 Ай бұрын
👍🙏❤️
@9782ravi
@9782ravi Ай бұрын
please make course on udemy
@schecher_1
@schecher_1 Ай бұрын
Warte mal... Phil´s Lab kommt aus Deutschland? Dat rall Ich erst jetzt.
@PhilsLab
@PhilsLab Ай бұрын
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 Ай бұрын
Vielen Dank! Bin zweisprachig aufgewachsen, in England auch zur Schule/Uni gegangen - daher ist das etwas 'getarnt' :)
@niwo2045
@niwo2045 Ай бұрын
Is here anyone who has experience with STM32 and MIPI displays?
@Cosmic-Robotics
@Cosmic-Robotics Ай бұрын
mind reader
STM32 USB SD Card Mass Storage Device Tutorial - Phil's Lab #148
27:27
SPI Hardware & PCB Design - Phil's Lab #134
33:22
Phil’s Lab
Рет қаралды 30 М.
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,5 МЛН
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 6 МЛН
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 17 МЛН
STM32H7 ADC + DMA + Timer Firmware Tutorial - Phil's Lab #138
35:22
STM32 + LCD TFT = Display Any Data
17:28
Nick Electronics
Рет қаралды 19 М.
Why is Arduino Not Widely Used in Industry?
3:28
Orieka.O.S.E
Рет қаралды 8 М.
3 engineers race to design a PCB in 2 hours | Design Battle
11:50
Predictable Designs
Рет қаралды 427 М.
Linux Kernel 6.12 | This is Historic
1:07:22
Maple Circuit
Рет қаралды 77 М.
Why did Raspberry Pi make their own SSD?
12:58
Level 2 Jeff
Рет қаралды 252 М.
2-Layer PCB Design Tips - Phil's Lab #137
32:27
Phil’s Lab
Рет қаралды 50 М.
Reverse engineering the circuit that revolutionized delay effects
44:55
Every Home needs this Upgrade! (Night-Time Stairs)
13:03
GreatScott!
Рет қаралды 367 М.
Today's Console Pick 🔥
0:11
Gleb POV
Рет қаралды 1,3 МЛН
Durability test of Galaxy Note 8 vs S24 Ultra 😁 #galaxynote8 #s24ultra #iphonexr
0:28
Samsung® telefonlara dair herşey
Рет қаралды 28 МЛН
Это ЛУЧШИЕ Смартфоны 2024 Года. Недорого и Качественно
15:23
Thebox - о технике и гаджетах
Рет қаралды 129 М.
Как подключить магнитолу?
0:51
KS Customs
Рет қаралды 2,2 МЛН