AnsweredAssumed Answered

Hint: DAC Problem with Keil / Optimise Levels

Question asked by Werner Meier on Mar 3, 2012
Latest reply on Mar 7, 2012 by Andrew Neil
we had a growing application, at one seat, we developed using Keil 4.13, on the other 4.23
No problems at start (HW=STM32 Value Line Eval Board), after adding more and more interrupt handlers etc, DAC stopped working at our V4.23 environment. After many tests, we found, that the ST library file misc.c had to be compiled with optimize level 0, then everything was ok again. ST examples for Keil are set to optimize level 3..
Hope this helps somebody else running into the same trap.
Werner

Outcomes