Other Parts Discussed in Thread: MOTORWARE
Tool/software: Code Composer Studio
Hi, yanming.
Thanks for your help.
Now my instaspin controller with the LEM hall sensor can works well.
But I want to add the SCI program into my lab05b project with 280027F.
I read the 《Hardware Abstraction Layer (HAL)Module of MotorWare》,and add the coder.
the SCI interrupt also can work well.
but when I try to change the ADC interrupt to the highest priority refer to the document.
I find that the ADC interrupt can not enter,so my motor can not spin.
In my lab05b project , I add a adc reading the analog signal and an ecap interrupt.
At first , I think perhaps because my add coder affect the adc interrupt.
but even though I delete my add coder , the ADC interrupt also can not enter.
Only when I change it to the motorware18 default adc interrupt configuration ,the adc interrupt can enter.
but if I do not change the ADC interrupt priority, I worried the SCI interrupt affect the adc interrupt and the foc control.
Please give me a hand.
Thanks.