Hi Rene,
I can tell you the following: we use 5 channels of ADC0 and 3 channels of ADC1 (because of pin multiplexing). All channels are configured properly, using the defines and typedefs from the file MVF50GS10MK50.h.
Then, for one channel after another, a software triggered conversion is enabled by
ADC0_BASE_PTR->HC1 = channel | (1 << ADC_HC1_AIEN1_SHIFT); (analog for ADC1 channels).
This prompts an ISR where the conversion value of the particular channel is read from the data register and stored into an array.
The ISR was registered in MQX by
intinstall_isr(NVIC_ADC0, iADC_ISR, 0); (analog for ADC1)
bspint_init(NVIC_ADC0, 3, 0, TRUE); (analog for ADC1)
So if I monitor the time spent in ISR with a scope, I see 8 consecutive pulses with pauses in between.
My question is: how can this procedure affect the debugger so badly?
Thanks, Heinz
Freundliche Gr??e / Best regards
i.A. Heinz Roitner
Forschung & Entwicklung
technosert electronic GmbH
Angererweg 7
4224 Wartberg/Aist
T: +43 (0)7236 20900-408
Heinz.Roitner@technosert.com<mailto:Heinz.Roitner@technosert.com>
www.technosert.com<http://www.technosert.com>;
Sitz: Wartberg ob der Aist, Handelsgericht Linz, FN 137503k
We are busy for your success!