Part Number: INSTASPIN-BLDC
Tool/software: Code Composer Studio
Hi,
I have a question about the interrupt priority setting in the application of instaSpin-foc. My system has two interrupts: the ADC interrupt and the ecap interrupt. The ADC interrupt is used to obtain the three-phase current and voltage, and the ecap interrupt is used to obtain the external control instructions. My question is if the ecap interrupt is prior to the ADC interrupt, do there have any risks in the control of current loop ?