Part Number: TMS320F28379D
Other Parts Discussed in Thread: SYSBIOS
Hello there,
I would like to know if I can have an interrupt from eCAP during a ePWM interrupt and how i would programm it?
I would like to do a field oriented control (control task is run by ePWM interrupt or ADC interrupt) while using a Hall-sensed motor.
If the Hall reaches a new state (read by eCAPs) I would like to throw an interrupt to use the data to calculate the newest rotor position and use it in the the control task.
If a new hall state occur during the control task, the eCAP should interrupt the control task.
Greetings