STM32 Tutorial #23 - UNDERSTANDING GPIO

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

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

  • @wwadley
    @wwadley 3 วันที่ผ่านมา

    Yes, a very comprehensive overview of the GPIO! Thank you very much.

    • @stm32world
      @stm32world  3 วันที่ผ่านมา

      I hope it is useful. I am doing a deeper dive into the HAL library in the next few videos.

  • @niclash
    @niclash 3 วันที่ผ่านมา

    @12:25 Nitpick; It is not "after reset" but "after initialization".

    • @stm32world
      @stm32world  3 วันที่ผ่านมา

      Hmmm, yeah - you are probably right about that, but nitpicking back - IF the initialisation is run at each reset then that would technically also be the same.
      I am going to test this, which _can_ be done the moment "main" is called before the HAL/NVIC etc. get executed.

  • @milanercegovic8413
    @milanercegovic8413 2 วันที่ผ่านมา

    Hi, nice video, I have shield that fits on Arduino Mega 2560 for electronic lead screw, it has connection to fit, spindle encoder,100 line hand encoder. stepper drivers, LCD, rotary switches, push buttons, menu buttons, joystick etc.
    Each pin is pull up with 1K Resistor. To make shield for STM32F767ZI to fit above things, can board handle it, it say pins are 5v tolerant. Or to install 3v3 to 5v level shifters. Thank you.

    • @stm32world
      @stm32world  วันที่ผ่านมา

      That's a tricky one. Ultimately it will probably boil down to how much current will run into all the pins on the stm32 when going low and that could become a bad thing. You would have to read the datasheet for your specific mcu and schematics of the "shield". 5V tolerant pins is a nice thing but they probably shouldn't be relied on without careful consideration. I have used it a few times - for example to drive ws2812 leds (which require 5V data).

    • @milanercegovic8413
      @milanercegovic8413 วันที่ผ่านมา

      @@stm32world
      Thank you, to be on safe side use level shifters 3v3 to 5v for each pin, can you recommend which shifters for analog pins and digital pins.Thank you very much.

    • @stm32world
      @stm32world  วันที่ผ่านมา

      Sorry, no - the recommendation would be the same - look at the schematics and the datasheets for the individual stuff.