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.

F28m35h52c : how to set an ADC interrupt EOC in the master m3 instead of the controller c28x ?

Other Parts Discussed in Thread: F28M35H52C, CONTROLSUITE

Hello,

For the moment I have set the interrupt ADCINT1 in the controller c28x.

I'm trying to set this interrupt in the master m3 but I haven't find any example to do it.

Can I really do it, and can i do it with all revision of the concerto f28m35h52c ?

Could somebody give me any snippet ?

It seems I should use the the following command :

 IntEnable(INT_ADC1) but what else ?

Best regards

  • Hello Joel!

    I would recommend you to follow 0435.F28M35x_Workshop_2-0.pdf (mainly Lab2).

    Regards,

    Igor

  • Thank you for your answer.

    Your answer is very usefull for setting an interrupt but my main problem is to know which instructions I should use for the ADCINT1.

    For example to set a timer int I should use the instructions IntEnable(INT_TIMERxx) and TimerEnable(Timerxx,...

    but for the ADCINT1 I only know the instruction IntEnable(INT_ADC1) 


    Regards

  • Hello!

    Well there is another necessary instruction IntRegister(...). Unfortunately I have not resolved a task like this so far (ADC with using NVIC). But I think you need to learn carefully the interrupt API into ti\controlSUITE\device_support\f28m35x\v201\MWare\driverlib\interrupt.c.

    Regards,

    Igor