Hi ,
I would develop a mode to control BLDC motor using hall sensor interrupt.
What could I see to implement an ISR linked to a change edge of hall sensors?
Best Regards,
Dario
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi ,
I would develop a mode to control BLDC motor using hall sensor interrupt.
What could I see to implement an ISR linked to a change edge of hall sensors?
Best Regards,
Dario
Hi Dario,
Often we'll only use one interrupt in our system and poll the status of GPIOs attached to hall sensors to reduce the complexity of the system.
However, you wanted to have hall sensors (or any other digital signal) generate an interrupt, one thing you can do is, configure the GPIOs connected to the sensors as external interrupts (XINT) sources via the GPIOXINTnSEL registers. See the F2802x Piccolo System Control and Interrupts User Guide (sprugl8) for more information.
Thank you,
Brett
Hi,
Yes, eCAP is another option (instead of using XINTs), however it may be worth noting that there is only one eCAP module on the F28035 device.
Thank you,
Brett