Other Parts Discussed in Thread: C2000WARE
Hi,
Best wishes for this new year.
In the documentation spruhm8i.pdf in paragraph 11.4.2, it is written:
"The resolution can be changed at any time when the ADC is idle (no active or pending SOCs)."
But when I perform the selection of the resolution and of the signal mode AFTER the Power-up sequence indicated in paragraph 11.12:
-enable ADC clock
-set prescaler
-power-up ADC
-delay
the behavior ot the ADC is not correct.
It works correctly only if the selection of the resolution and of the signal mode is performed BETWEEN the phases "set prescaler" and "power-up ADC".
In both cases, no SOC is pending and no ADC conversion is triggered.
=> Q1- Why this behavior is in contradiction with the paragraph 11.4.2 ?
=> Q2- What are the constraints between the ADC power-up sequence and the resolution/signal mode selection ?
Thanks a lot for your help.
Regards.