stm32f103
stm32f103 copied to clipboard
Any PWM examples?
Hi, Tom, this is prof Wei-min Shen from USC. We communicated once when I happily discovered your repository a year ago.
I love the bear-metal codes you have. Do you have any examples for PWM with or without deadtime, that you can point me to? I am working on some minimal code for BLDC/FOC control for robots to use Bluepill. Will appreciate if you could share those examples.
Also, I have written some useful examples using HAL on Bluepill that I can share if you want.
Thanks and looking forward to you answers.
Yours,
Wei-Min
HI !!
No. I have never written any PWM code. It has always been something I wanted to work on, but something else has always been more interesting or important. I don't think it would be too hard. It would probably be handled by a timer that was driving a pin rather than a GPIO, but I could be all wrong about that.
Anyway, sorry I can't be of help.
Tom
No worries. Thanks for your quick reply. Happy TG!