AnsweredAssumed Answered

STM Studio is give zero values randomly

Question asked by o_neill.daniel on Sep 18, 2013
Latest reply on Sep 18, 2013 by S C
I'm using STM studio to debug a STM32VLDISCOVERY kit.
I have based is on the systimer example project where every 1ms I read some adc values.
When graphing the adc returns (which are scaled) in stm studio I will see regularly see values of zero for captured data.

When I place a breakpoint (using IAR embedded workbench) on an if statement checking for zero the program does not break.

Is this something weird stm studio is doing? i.e when it tries to access a variable being written? I trust the breakpoint more but should I?

Cheers,
Daniel

Outcomes