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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

698 Views
matthieu_favre-
Contributor I

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

pastedImage_2.png

0 Kudos
2 Replies

546 Views
marek_neuzil
NXP Employee
NXP Employee

Hello,

The hot fix for KDS 2.0.0 and CW MCU 10.6.2 has been created and verified. See attached hot fix packages.

Best Regards,

Marek Neuzil

0 Kudos

546 Views
marek_neuzil
NXP Employee
NXP Employee

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

0 Kudos