Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

External Interrupt IRQ Handler with ADC DMA IRQ Handler

$
0
0
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...

External Interrupt IRQ Handler with ADC DMA IRQ Handler

Viewing all articles
Browse latest Browse all 4923

Trending Articles