cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use external interrupts to trigger the PWM generation for the commutation of a BLDC motor?

NChal.4
Associate

I have seen examples of how you can use the Hall Sensor function of a second timer to trigger the events of the primary timer controlling the PWM generation for different motor phases, but I'm not able to use any other timer inputs on the chip I'm using (STSPIN32F0 - based off STM32F031) since I need an SPI input. I'm hoping to be able to just use external interrupts from three GPIO pins instead.

Any help/advice would be greatly appreciated.

Thanks,

Nick

0 REPLIES 0