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.
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.
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).
@@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.
Yes, a very comprehensive overview of the GPIO! Thank you very much.
I hope it is useful. I am doing a deeper dive into the HAL library in the next few videos.
@12:25 Nitpick; It is not "after reset" but "after initialization".
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.
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.
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).
@@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.
Sorry, no - the recommendation would be the same - look at the schematics and the datasheets for the individual stuff.