External Interrupt IRQ Handler with ADC DMA IRQ Handler

Thread Starter

KranthiKumarR

Joined Aug 27, 2017
14
Hello everyone,
I'm trying to build a sensorless 6 step BDLC motor control using STM32f103. I'm using 3 external interrupts to detect rising and falling BEMF signals and 6 step commutation sequence and the motor works fine for different PWM values. Now I'm trying to add a potentiometer and use DMA IRQ handlerto control the PWM value and speed of the motor. Can anyone let me know if I can use DMA IRQ handler along with external interrupt handler. I have tried giving preemt priority 0 for exxternal interrupts and 1 for DMA IRQ. But it doesnt work as expected
 
Top