Microcontroller on FPGA (Microblaze, UART, GPIO) - Phil's Lab

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ธ.ค. 2024

ความคิดเห็น • 107

  • @oleksiybondar4460
    @oleksiybondar4460 ปีที่แล้ว +85

    more FPGA/ZYNQ, please. You`re awesome!

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +12

      Thanks, Oleksiy - much more to come!

    • @sergeyp6941
      @sergeyp6941 ปีที่แล้ว +1

      @@PhilsLab with FIFO and flow controls and PCIE bus )

    • @AshishVerma_Awesome
      @AshishVerma_Awesome ปีที่แล้ว +2

      @@PhilsLab your videos are like steroids to my embedded life 😎

  • @shams350z
    @shams350z ปีที่แล้ว +15

    Thank you so much for your videos. I always got overwhelmed whenever I wanted to enter the microblaze arena but your video was so easy to follow.

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +1

      Thank you, Wahid - I'm glad to hear that!

  • @cheesepie4ever
    @cheesepie4ever ปีที่แล้ว +10

    Wish I had this video when I first started learning FPGA! I did a 1 year Xilinx FPGA internship but never used microblaze so I learned something here too. My team tried to direct me away from using block designs so much and to do everything in TCL and VHDL but it does seem extremely convenient especially if you just want to get to programming in C as soon as possible, Xilinx does have a lot of decent IPs available for free. There is also a very cool community for open sourced FPGA tools and IPs.
    Looking forward to more high quality FPGA content

    • @MatthewHoworko
      @MatthewHoworko ปีที่แล้ว

      Did they give any reasons for not using block designs?

    • @cheesepie4ever
      @cheesepie4ever ปีที่แล้ว +1

      @@MatthewHoworko block designs can be harder to integrate into a reproducible project build compared to just using HDL files, you can also see changes in a git history more obviously. However it can be awkward to work with xilinx IP without the block design, and it would be very difficult to work with Zynqs without it.

  • @shakaibsafvi97
    @shakaibsafvi97 ปีที่แล้ว +1

    @Phil's Lab: Always good to see your work videos. very very interesting.

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว

      Thank you, Shakaib!

  • @vladshmit
    @vladshmit ปีที่แล้ว +4

    Thanks for the video! That kind of topic is very rare on YT and a breath of fresh air through the ESP / Arduino tutorials!
    Would be great to see more videos about FPGA / CPLD and how to choose the right one for the application.
    In my case, I'm looking to build a welding machine as s side hobby project, just because why not, so now thinking of the right control hardware / sw

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +1

      Thank you very much, Vlad! There will be quite a few more FPGA videos to come.

  • @mofo78536
    @mofo78536 ปีที่แล้ว +1

    Pretty smart JTAG header arrangement. No need to install headers!

  • @PCBKAL
    @PCBKAL 3 หลายเดือนก่อน

    Looking up to your future videos, not to forget the UART JTAG section.

  • @MikesTropicalTech
    @MikesTropicalTech ปีที่แล้ว +3

    Fascinating! I've always seen FPGAs as black magic, thanks for showing the step-by-step of how to build a working system. I look forward to the next episodes.

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว

      Thanks a lot, Mike!

  • @igordon3674
    @igordon3674 ปีที่แล้ว

    Outstanding as always! Every video is *exactly* how I want informative videos to be. Very sharp! Your videos have been boosting my knowledge so much since the first one, I watch them many times to not miss the details. I am a mechanical engineer, also EE enthusiast. Very pleased!

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว

      Thank you very much for your kind comment, Igor!

  • @mikkjunger
    @mikkjunger ปีที่แล้ว +1

    Very cool stuff my dude! Love it.

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว

      Thank you, Mikkel!

  • @sergeyzolotykh9872
    @sergeyzolotykh9872 ปีที่แล้ว +2

    I am planning to start new project for audio processing on STM32. This video came right on time now I will definitely consider using FPGA.

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +1

      Glad to hear the timing's right - good luck with your project!

  • @mohamedlanjri
    @mohamedlanjri ปีที่แล้ว +1

    You nailed it. Such a good lecturer!! Congrats.

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว

      Thank you, Mohamed!

  • @lucas_liano
    @lucas_liano ปีที่แล้ว +1

    Thank you for the video! This one was super interesting. 🤓

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว

      Thanks, Lucas - I'm glad you liked it!

  • @mohitlalu6486
    @mohitlalu6486 ปีที่แล้ว +3

    Do you plan on making a detailed deep dive video about PICe4 or 5? how that interface works, hardware design, and how to lay it out? would love to learn about it!

  • @colewyant4271
    @colewyant4271 ปีที่แล้ว +2

    I've used both FPGAs and microcontrollers (soft and hard), but I have always wanted to do a design using an FPGA connected to a flexible memory bus controll on a dedicated micro to use the FMC memory space as an extended peripheral region. Could never get approval due to all the unknowns and project schedule time constraints.

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +1

      That's a very cool idea! I would be interested to hear how you implement that, should you get around to that at some point.

  • @dineshdange5883
    @dineshdange5883 หลายเดือนก่อน

    Hello Sir, These videos are priceless for the learners covering Zynq, Microblaze, STM32,Serial interfaces i2c, spi. Can you teach us about the "CAN protocal" next ?🙏

  • @EngineerAnandu
    @EngineerAnandu 7 หลายเดือนก่อน +1

    Very good

  • @rolfdieterklein
    @rolfdieterklein ปีที่แล้ว +3

    excellent video - I like doing all from scratch - helps most to follow up all. Like more FPGA videos also Zync.

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว

      Vielen Dank, Herr Klein :) More videos to come.

  • @imk8729
    @imk8729 ปีที่แล้ว +1

    Awesome, Thanks.

  • @Nebulorum
    @Nebulorum ปีที่แล้ว +1

    Thanks for the video. I would really love a video on why the design process of mid level. How to pick a FPGA? What building block? For example you built this board to some goal, and you choose the FPGA to remove some standard components. What’s the thinking process behind that?

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +3

      That's a great idea for a video, thank you - I'll be sure to make one about that in the near future!

  • @fehmiatas
    @fehmiatas ปีที่แล้ว +1

  • @garywebster5917
    @garywebster5917 ปีที่แล้ว +3

    Phil, Thank you so much. Great presentation. How does the speed of the MicroBlaze compare to an STM32F4 or G4 MCU?

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +2

      Thanks, Gary - that's a very good question. Judging by CoreMark, a typical 100MHz Microblaze can get around 220ish, whereas an STM32F4 up to ~610, and STM32G4 up to ~570.
      By the CoreMark metric, the Microblaze is similar to an STM32F1/F3.
      However, it depends on what the metric is I guess, as the Microblaze can in theory utilise many FPGA resources and offload compute heavy tasks to dedicated 'hard' logic, and so on.

  • @go4peanut471
    @go4peanut471 ปีที่แล้ว

    You mentioned that JLPCB did the assembly for you. Were they able to source the Spartan or did you have to do some gymnastics to get one to them for assembly?

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +1

      The board was manufactured/assembled by PCBWay, so they did all the part sourcing for me under my instruction (some components, e.g. the Spartan 7 via LCSC).

  • @wyattr7982
    @wyattr7982 ปีที่แล้ว +2

    Phil have you ever dabbled with Lattice FPGAs? They’re making some neat parts with things like hard MIPI CSI and DSI IP targeted for lower cost IoT devices. Theyre tool (Radiant) is only only 15gb or 10% of Vivado which is also nice

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +2

      The Lattice stuff looks great and I've been meaning to design a board with one of their parts for some time. Will definitely try to make a little test PCB this year!

    • @wyattr7982
      @wyattr7982 ปีที่แล้ว

      @@PhilsLab ive been using them for about a year at work and think they’re great

  • @PattysLab
    @PattysLab ปีที่แล้ว +1

    Legend!

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +1

      Thanks, Patty!

  • @valentingomez4546
    @valentingomez4546 ปีที่แล้ว

    Are we gonna get the full Xerxes hardware build for 2024? Excited to see that!

  • @پارسامشایخی-ف8ن
    @پارسامشایخی-ف8ن ปีที่แล้ว +1

    it was amazing

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว

      Thank you!

  • @Jair_inacio_Neto_Teixeira
    @Jair_inacio_Neto_Teixeira ปีที่แล้ว

    Amazing!! It would be nice a video about image processing using fpga... I dont find tutorials on it anywhere

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +1

      Thank you, Matheus! I currently don't have a board made that can handle that, but will be designing something like that in the future.

    • @sc0or
      @sc0or ปีที่แล้ว

      @@PhilsLab...and FFT/IFFT in parallel please -)

  • @abhishek1831994
    @abhishek1831994 ปีที่แล้ว

    Can you make video on Multiboot and fall back. How to create the necessary settings in vivado/Vitis?

  • @asmi06
    @asmi06 ปีที่แล้ว

    I think it's better for beginners to use I/O planning GUI for creating pin constraints than manually typing them in (and making a bunch of typos in the process). Once you create a diagram, open elaborated design, and I/O planning mode becomes accessible.

  • @Cutycats9
    @Cutycats9 ปีที่แล้ว +1

    ❤❤❤ ilove it thanks 🤩🤩

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +1

      Thank you :)

  • @sanjikaneki6226
    @sanjikaneki6226 ปีที่แล้ว +1

    nice board i am even afraid to ask how much it was in terms of manufacture cost.
    About how much time did you spend designing this? Also when will the PCBway video come out?

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +2

      Thank you, Sanji. For two assembled boards, the cost was ~600 USD (incl. PCB, assembly, components, and shipping) - which I actually think is very reasonable. It took me about a week to design this board.
      PCBWay factory tour will vid I'm gonna start editing next week - so hopefully will be out in June!

    • @sanjikaneki6226
      @sanjikaneki6226 ปีที่แล้ว +1

      @@PhilsLab THX often my pcb project are like less then 30-50$ including PCBA but i guess at some point the cost balloons especially for L6-8

  • @bennguyen1313
    @bennguyen1313 ปีที่แล้ว

    Any thoughts on using enjoy-digital's litex? It seems to support adding various CPUs (Risc-V, OpenRISC,etc) , buses (Etherbone , wishbone, apb3, etc) and even diagnostics like a logic-analyzer (litescope/sigrok).

  • @JLK89
    @JLK89 ปีที่แล้ว +1

    Very nice intro! Could you make a similar intro using LiteX and a RISC-V core?

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +1

      Thank you! I'm afraid I'm gonna do some HDL/other tutorials first. Maybe at some point in the future.

  • @gregorymccoy6797
    @gregorymccoy6797 ปีที่แล้ว

    Wow. That's an immense amount of granular power. I am looking at my oscilloscope now and wondering what the engineers.packed into the FPGA at the heart of it.

  • @RedRacconKing
    @RedRacconKing ปีที่แล้ว

    Wow! I had no clue HDL abstraction was a thing.

  • @sc0or
    @sc0or ปีที่แล้ว

    For a future, could you please let us know how much FPGA resources your examples require, sir?

  • @vernandolimodya7715
    @vernandolimodya7715 ปีที่แล้ว

    Hello, very nice video! 👌I am just wondering, when will the video for the Application processor for Embedded Linux will come out? Because it could be helpful for my current project

  • @tttuberc
    @tttuberc ปีที่แล้ว

    As of the current state in the video, does the bit stream contain the hello world firmware? Or does it contain only the softcore implementation which means
    we have to re-run the debugger after bit stream is reloaded every time the board is powered up? Thanks very much for the very nice video

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว

      Currently, in this state, you'd need to re-flash the config & application every time the board is powered up. In the next/future video, I'll show how to reconfigure the QSPI flash memory to automatically program the FPGA on start-up.

  • @srdjan3057
    @srdjan3057 ปีที่แล้ว

    Hi Phil, thanks a lot for all your hard work and effort, we truly appreciate it!
    However, I wanted to ask one question, regarding your courses, is there any specific reason for not publishing them on platforms such as Udemy or even Skillshare, because I (usually) like to keep my library of courses on Udemy for various areas of interests, whether it be PCB or Hardware Design, C/C++ programming, and so on...?

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +4

      Thank you :)
      Robert Feranec made a video on reasons for creators not to use Udemy - the reasons are financial. th-cam.com/video/uOQNxRT3upI/w-d-xo.html

  • @DrLamalama
    @DrLamalama ปีที่แล้ว

    You didn't show or mention uploading the Bitstream to the FPGA. Does Vitis also upload the Bitstream to the FPGA on its own?

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +1

      Vitis uploads the bitstream when we 'flash' our code (via debug or run). I'll make a tutorial on programming the QSPI with the bitstream to then automatically configure the FPGA on boot.

  • @jakubvanek5723
    @jakubvanek5723 ปีที่แล้ว

    Nice video Phil! Can I ask you how you make the board diagram?

    • @DanielMelendrezPhD
      @DanielMelendrezPhD ปีที่แล้ว

      0:56 he uses Altium designer

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว

      Thank you, Jakub - for the block diagram I used draw.io (free).

  • @YAHYAMOHAMMEDSINJABTMB
    @YAHYAMOHAMMEDSINJABTMB 11 หลายเดือนก่อน

    any chance to make a video of how to control the leds using ethernet connection and sending commands?
    Also, is there any course of yours for beginner in FPGA?

  • @techmakerandhacker7867
    @techmakerandhacker7867 ปีที่แล้ว

    what are those big blocks on the pcb near the usb c

    • @jggatech
      @jggatech 7 หลายเดือนก่อน

      Those are the 1/4 inch audio jacks.

  • @VovelPunch
    @VovelPunch ปีที่แล้ว +1

    what about pld?....

  • @Jonyy
    @Jonyy 10 หลายเดือนก่อน

    I habe a Problem letting the led blink. The hello world went fine, but when i tried to let the led blink, but it showed an error that the "xpseudo_asm.h"(part of xgpio.h) is missing.
    I tried regenerating the BSP und updating the drivers for the gpio ip cores but nothing helped so far.
    I am creating the microblaze on a cmod A7 35 T (Artix 7 eval board) and i am woking with Vivado/Vitis 2023.2
    I have written to the Support but no help so far.

  • @VíctorAlonsoGarcía-x4h
    @VíctorAlonsoGarcía-x4h 2 หลายเดือนก่อน

    May I inquire if there are any templates or alternative platforms where I might find pre-prepared FPGA designs tailored for circuit semantics within Altium software? Additionally, are there any more sophisticated FPGA designs available that do not rely on Vivado templates? I’m wondering if there are any templates or alternative platforms available in Altium software that offer pre-prepared FPGA designs tailored for circuit semantics. Additionally, are there any other FPGA designs that are more sophisticated and do not require Vivado templates? A cordial greeting, thanks for share your knowledge

  • @anhovan1250
    @anhovan1250 5 หลายเดือนก่อน

    If I want to debug my ip in block diagram, how can I simulate this block diagram to view waveform?

  • @JayDee-b5u
    @JayDee-b5u ปีที่แล้ว

    How did you know which format the configuration commands were used (in the .xdc file)? Eg set_property -dict { PACKAGE_PIN H4 IOSTANDARD LVCMOS33 } [ get_ports {CLK12MHZ}]

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +1

      There's a couple resources for that: www.xilinx.com/support/documents/sw_manuals/xilinx2022_1/ug903-vivado-using-constraints.pdf
      Or examining existing constraint files: github.com/digilent/digilent-xdc?_ga=2.87473816.1034821624.1685125896-567247979.1684140552

    • @JayDee-b5u
      @JayDee-b5u ปีที่แล้ว

      @@PhilsLab Perfect. Thank you very much.

  • @RandomUser2401
    @RandomUser2401 ปีที่แล้ว +1

    Obfuscated serial number on your FPGA, what‘s going on there?

  • @rafadolny3551
    @rafadolny3551 ปีที่แล้ว

    Great video, thanks :D ... I have two questions. Are You planning to make something with DSP Sharc? What do You think about making traces localy thinner only to fit between two vias? In my design I need to use 145um thick traces to make 50 Ohms but with 0,8mm pitch bga and the smallest vias I can use, sometimes I have to make 92um traces to route because of clearance hole to trace. Does You @Phil's Lab or anyone had similiar situation?

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว

      Thank you! I've been meaning to make some Sharc designs, however, the license fee for their software is putting me off. I'm currently working on a larger Artix-7 PCIe/Ethernet/Displayport/... design, as well as an i.MX8M design.
      Regarding two traces between BGA pads - so far I've never needed to do so, or wanted to do so, as that really drives down the trace width even further. I usually go with 1 trace through each pad pair.

  • @krolu
    @krolu ปีที่แล้ว

    Where I could buy this Xerxes board?

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +1

      I'm afraid it's not for sale (at the moment).

  • @morph7299
    @morph7299 ปีที่แล้ว +1

    XERXES ! how did you come up with this name ? i love history

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว +1

      Given the FPGA's name of 'Spartan', that immediately made me think of the film '300'. With Xerxes being a part of that :D

  • @Adamovn
    @Adamovn ปีที่แล้ว

    Hello friend, I don't know English. Sorry if something is not clear. I'm from Kazakhstan. Need your help. In practice, I was told to make a power supply board for a poketcube, this is a small spacecraft. I made some boards based on the stm32 microchip. Can you show a video of something similar. Preferably in KiCAD

    • @Adamovn
      @Adamovn ปีที่แล้ว

      I will wait for an answer

  • @faustinoc
    @faustinoc ปีที่แล้ว

    hello bro, i would like to design my own usb adio interface (8ch i/o as minimum, digital and analoge i/o), which of your couses are useful for me?

  • @bobby9568
    @bobby9568 ปีที่แล้ว

    can you share the files?

  • @furkanayas3339
    @furkanayas3339 ปีที่แล้ว

    Hey Phil don't get me wrong, we are in the same business, you are way beter than me. I like your videos. But I am turkish, and i like to share my knowledge like you, but the turkish audience. What should i do? directly start recording some pcb designs, teach some basic arduino raspberry then follow with MCU and SoC? You are more hardware oriented, ı am msc. computer engineer and i do almost all software stuff. Is there any recommendation for me from a professional like you?

  • @col8981
    @col8981 ปีที่แล้ว

    Why?

  • @TheElectronicDilettante
    @TheElectronicDilettante ปีที่แล้ว

    As always thanks for the videos and great content. As I’ve stated before, I am new to all this however, I am a quick study. That being said, would you mind if I emailed you to lay out my argument for letting me enroll in your advanced design course? I don’t like to fail at things especially if there are fee’s involved. Lol.
    I know you’re super busy, so respond only when convenient. Also, you wouldn’t happen to be the Phil that I’ve seen demonstrating a new recording studio application?? The demo of an audio remix was amazing. If not you, you should check it out. If it is you, your talents are other worldly. Thanks for taking the time. -Jason

  • @MikeHarris1984
    @MikeHarris1984 ปีที่แล้ว

    I wish altium had a hobiest version and not $500 a month for tinkering

  • @tamaseduard5145
    @tamaseduard5145 ปีที่แล้ว +2

    👍🙏❤️

  • @bharatgohil84
    @bharatgohil84 ปีที่แล้ว

    Please.."RISCV on FPGA"

  • @Ricard2k
    @Ricard2k ปีที่แล้ว

    Mate, all the software that you’re using is only available for windows. It’s is time for an upgrade to a better platform 😂