We discovered that our ADC processor expert configured peripheral wasn't giving us the right conversion value.
We figured out that a non initialised 32bits variable was writen (and used thereafter) by a cast 16Bits variable. Depending of the initial state of the memory, the returned value of the ADC was wrong!!!
Hello,
Thank you for the reporting of this issue. Processor Expert development team have fixed source code of the driver and we are going to provide a hot fix for this issue. I will post the hot fix here.
Best Regards,
Marek Neuzil