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.
Tool/software: Code Composer Studio
Hi,
I've continued and have the following situation :
EPwm triggers Adca SOC's -> Work fine
Adca End Of Conversion triggers INT1 and AdcaIsr1 -> Works fine
Adca End Of Conversion triggers INT2 and CLA1 Task 1 -> Works fine also
But I've to declare interrupt AdcaIsr2 which is also triggered by INT2 (both AdcaIsr and CLA are triggered)
If I remove interrupt AdcaIsr2, the program doesn't work.
Is there a possibility to trigger only CLA1 Task with INT2 ?
(In the example cla_ex2_adc_fir32.c, it sounds that there is no Adc interrupt routine declared ?)
I hope my explanations are clear, feel free to ask me for any details
Best regards
francois
Hi Francois,
Yes, the CLA-ADC example uses the ADC EOC to trigger CLA task. But the EOC interrupt is not enabled in PIE and hence the C28x core is not interrupted.
You can refer to the steps described in CLA-ADC example.
If you are still facing the problem, please share with us the init code.
Regards,
Veena
Hi Veena,
Oh I see, my mistake was to have completely declared the Adca INT2 interrupt.
I've removed the interrupt firing bits :
//PieCtrlRegs.PIEIER10.bit.INTx2 = 1;
//IER |= M_INT10;
and now, I've only the CLA 1Task1 fired.
Many thanks for the reply,
Best regards,
francois