STM32 Crazy Mystery

From Stm32World Wiki
Revision as of 07:19, 16 October 2024 by Lth (talk | contribs)
Jump to navigation Jump to search

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.

What works (STM32F411 - Black Pill)