Difference between revisions of "STM32 Crazy Mystery"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
This page documents a bit of a mystery that I - so far - have been unable to solve. | This page documents a bit of a mystery that I - so far - have been unable to solve. | ||
− | Since PC13 is commonly used to drive an on-board [[LED]] on [[ | + | Since PC13 is commonly used to drive an on-board [[LED]] on [[STM32 Development Boards|Development Boards]] and since PC13 is not connected to any timer channel, usually one can only toggle that [[LED]] on or off. A while back I was experimenting with bit banging PWM on this pin to be able to dim and pulse the led. |
− | + | {{#ev:youtube|ZsHR1bQOmzk}} | |
− | + | == What works (STM32F411 - [[Black Pill]]) == |
Revision as of 06:19, 16 October 2024
This page documents a bit of a mystery that I - so far - have been unable to solve.
Since PC13 is commonly used to drive an on-board LED on Development Boards and since PC13 is not connected to any timer channel, usually one can only toggle that LED on or off. A while back I was experimenting with bit banging PWM on this pin to be able to dim and pulse the led.