javier muñoz sáez
Published © MIT

All pins as PWM at the same time (baremetal STM32)

SOFTPWM : DMA+GPIO, not interrupt based, individually controlled, did you ran out of PWM pins?

IntermediateFull instructions provided1 hour3,808

Things used in this project

Hardware components

STM32 bluepill
i was lucky enough to get a original bluepill from aliexpress... :D STM32f108C8t6, but any stm32 could do the same
×1
STLINK-V3SET
STMicroelectronics STLINK-V3SET
I use the embedded stlink from my nucleo board
×1

Software apps and online services

STM32CubeIDE
stm32 ide, eclipse based
STM32CubeMX
software tool for laying out boilerplate code and click your setting and configs, pretty nice

Story

Read more

Schematics

Paint wiring Schematic

just connect the bluepill to the embedded STlink of my nucleo

Code

softPWM code

gh repo clone javiBajoCero/softPWMtutorial

Credits

javier muñoz sáez

javier muñoz sáez

13 projects • 84 followers
Electronic engineer and sparky person. I make tutorials so my future self doesnt need to remember how he did the thing
Thanks to .

Comments