stm32f103 icon indicating copy to clipboard operation
stm32f103 copied to clipboard

Any PWM examples?

Open weiminshen99 opened this issue 2 years ago • 2 comments

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

weiminshen99 avatar Nov 20 '22 19:11 weiminshen99

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

trebisky avatar Nov 20 '22 21:11 trebisky

No worries. Thanks for your quick reply. Happy TG!

weiminshen99 avatar Nov 21 '22 00:11 weiminshen99