AnsweredAssumed Answered

ADC1 freezes whole CPU

Question asked by Fabian Unknown on Aug 25, 2011
Latest reply on Feb 8, 2012 by Alex Thompson

Hello,

I am trying to use the ADC1 on the Tower evaluation board with K60.

For initialisation I use the Processor Expert (see attetchment) and this is the start code:

[code]adc1Data=ADCPoti_Init(NULL);

ADCPoti_SelectSampleGroup(adc1Data, 0);

ADCPoti_StartLoopMeasurement(adc1Data);[/code]

 

After calling StartLoopMeasurement() the whole system hangs, not even the jtag debugger is able to pause the system. Interesting is, with disabled interrupt for ADC1 everything works fine, exept the interrupt of course. 

With interrupt enabled, the interrupt handler it is called once and never again. Is there something I have to do in the interrupt or what is my problem?

Outcomes