AnsweredAssumed Answered

CTU Interrupt MPC5643L

Question asked by Tom Maaß on Jul 19, 2015
Latest reply on Jul 21, 2015 by Petr Stancik

Hi,

 

I try to implement a current messuring for an ac inductive motor by using the CTU to store the adc results in FIFO0. So for the adc results i enable Trigger0 and T0_ADCE at THCR1 register to start adc list with Trigger0. I also have programmed the adc list and everything else to set up triggers and to read out FIFO0 with all stored adc results. And now I struggle to implement the CTU interrrupt to get the stored adc results. So I enable Trigger1 and for the interrupt I enable Trigger 1 interrupt at CTUIR. To Update the changes i reload the double buffered registers. At next step I wrote a new .c File with a read out function of FIFO0 and put this function at slot 195 in the interrupt vector table. So everything should be set up but if I test my software i get no data from my read outs.  I hope you can help me.

 

Tom

Outcomes