STM32 GPIO Programming #1 - Input/Output

Поділитися
Вставка
  • Опубліковано 2 лют 2025

КОМЕНТАРІ • 13

  • @MoleRat94
    @MoleRat94 2 роки тому

    Getting better

  • @amiladrck
    @amiladrck 3 роки тому

    I wanted to turn this LED ON using bit operations and I made it work. Thanks a lot for this. Very clear explanation. Subbed!

  • @magicmarker1369
    @magicmarker1369 2 роки тому

    Love the Tutorial man, very simple, clearly explained and easy to follow, I have a suggestion and a request. the suggestion being, you should include a link to the downloadable source code for whose who are following your tutorials at a pace, and secondly can you please do a video on STM32 serial communications?.....keep up the great videos.....

    • @z-the-programmer4584
      @z-the-programmer4584  2 роки тому

      Glad you like the tutorial! That's a very good idea actually, thanks for that I'll be looking into making the code available.
      I'm planning to do a tutorial on UART in the near future so it's coming.

  • @ECEAaronXavierLobo
    @ECEAaronXavierLobo 6 місяців тому

    Is this what is meant by bare-metal programming of GPIO?

  • @dael1438
    @dael1438 Рік тому

    Thanks.

  • @cttt7762
    @cttt7762 3 роки тому

    why did you use ahb2 instead of ahb1 what is the difference

    • @z-the-programmer4584
      @z-the-programmer4584  3 роки тому +1

      The GPIO ports are connected to the AHB2 bus. The AHB2 peripheral clock enable register contains the bits that enable the clocks for the IO ports. Since I was using pins on IO port B, I needed to set bit 1 of the aforementioned register to enable the clock for IO port B.
      The AHB1 peripheral clock enable register contains bits to enable clocks for peripherals that are connected to the AHB1 bus.
      Essentially, the difference between these two registers is what peripheral clocks they can enable/disable. Hope that helps.

    • @cttt7762
      @cttt7762 3 роки тому +1

      @@z-the-programmer4584 thanks for adequate answer thank u. Why dont you use cubeide ? Is it better or worse or just do you accustomed to cubemx

    • @z-the-programmer4584
      @z-the-programmer4584  3 роки тому

      I'm used to Keil uVision that's why I use it. That being said, I haven't tried cubeide but I might give it a try at some point.

  • @akhilshariff3831
    @akhilshariff3831 10 місяців тому

    make more videos