AnsweredAssumed Answered

Bug ADC Processor Expert: Bad casting and non initialisation of variable

Question asked by Matthieu Favre-Bulle on Mar 13, 2015
Latest reply on Mar 31, 2015 by Marek Neuzil

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!!!