How STM32 Alternate Functions work

  Рет қаралды 1,688

PS After Hours

PS After Hours

Жыл бұрын

STM32 microcontrollers are one of the most popular MCUs in the world. There are many reasons for that. The Input/Output flexibility is not one of them. All SMT32 microcontrollers have a limited IO matrix that allows general input-output pins to work only with selected peripherals. There is no easy swap of pin functions. Some pins can be only UARTs, some only SPI, and some work only with 1 or 2 timers. This is called Alternate Functions.
Never crack the ESP32 OLED again • Never crack the ESP32 ...
Each pin in each input-output port can have only one assigned Alternate Function at a time and no Alternate Functions are available.
This is extremely important during the hardware planning phase, as it might be hard to change the originally created pin assignment.

Пікірлер: 16
@PSAfterHours
@PSAfterHours Жыл бұрын
Never crack the ESP32 OLED again kzfaq.info/get/bejne/f8Clhpdmz9LHemg.html
@breakflight
@breakflight Жыл бұрын
Glad to see you still posting
@PSAfterHours
@PSAfterHours Жыл бұрын
as might imaging, I'm kind of irritated right now with all that what's happening on the main channel
@breakflight
@breakflight Жыл бұрын
@@PSAfterHours I hope you get everything back soon. Frustrating.
@happyhippr
@happyhippr Жыл бұрын
awesome overview/intro on a niche topic. not many people know to search alternate functions, this is a nice beginner video, for an intermediate electronics person broadening their knowledge
@breakflight
@breakflight Жыл бұрын
Nice production
@PSAfterHours
@PSAfterHours Жыл бұрын
Thanks 💯
@helmi2376
@helmi2376 Жыл бұрын
How to switch from output or input Mode in Stm MIctrocontroller for exemple after using GpioA_Pin0 as digital output and in the same programm how to use it to send data via Usart2 so my problem is how to switch between output and alternative function mode
@user-fu1gu6uc5z
@user-fu1gu6uc5z Жыл бұрын
Hi I want to control the reset pin of the microcontroller in a very noisy environment, this is not possible with normal methods, can you introduce me a special ic to control this pin?
@baggszilla
@baggszilla Жыл бұрын
This is good to know stuff Mom. Thanks PS
@im2geek4you
@im2geek4you Жыл бұрын
STM32CubeIDE has a graphical tool that allows to choose witch resources you want to use on the mcu and if there are any conflics with the pins that share those resources. This will help you to avoid needing to dig a lot on the datasheet :)
@PSAfterHours
@PSAfterHours Жыл бұрын
yup, that's also a very good advice!
@Dobijasek
@Dobijasek Жыл бұрын
then why not to switch to ESP32? Its much more flexible (for example SPI has dedicated pins but as long as we do not need 80MHz then it might be mapped to any other pins) and more powerfull and it has buildin wireless communication
@PSAfterHours
@PSAfterHours Жыл бұрын
ESP32 is not the answer to all the question. Seriously :)
@Dobijasek
@Dobijasek Жыл бұрын
@@PSAfterHours for example? Im just curious.
@PSAfterHours
@PSAfterHours Жыл бұрын
ADC sucks, ESP32 has no flash, no native USB support, less industry support and if you try to looks for some features, more advances STM32 boards just win
STM32 Guide #2: Registers + HAL (Blink example)
30:02
Mitch Davis
Рет қаралды 188 М.
A$$holes versus Open Source software
3:57
PS After Hours
Рет қаралды 1,1 М.
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 5 МЛН
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 100 МЛН
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 7 МЛН
STM32 Guide #3: PWM + Timers
20:24
Mitch Davis
Рет қаралды 136 М.
STM32 Programming for Beginners | Introduction to GPIO Pins
23:39
Mikrotronics Academy
Рет қаралды 7 М.
Why 50 Ohms?
2:19
Quaxys
Рет қаралды 10 М.
I Melted Wood With Friction
8:44
The Action Lab
Рет қаралды 537 М.
How GPIO works | General Purpose Input Output | GPIO Behind The Scene
5:52
I built my own 16-Bit CPU in Excel
16:28
Inkbox
Рет қаралды 1,4 МЛН
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 180 М.
Difference between authentication and authorization
3:05
PS After Hours
Рет қаралды 1,6 М.
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 5 МЛН
Это - iPhone 16 и вот что надо знать...
17:20
Overtake lab
Рет қаралды 85 М.
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 3,4 МЛН
Отдых для геймера? 😮‍💨 Hiper Engine B50
1:00
Вэйми
Рет қаралды 1,2 МЛН
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 1,7 МЛН