AnsweredAssumed Answered

MM9Z1_638 Produces Erroneous Data

Question asked by Chris Escalante on Jul 25, 2015
Latest reply on Aug 3, 2015 by Chris Escalante

I am working with the demo software provided by Freescale for KIT9Z1J638EVM, which has a battery sensor that measures current, voltage, temperature.  Every so many clock cycles there is erroneous values displayed.  When I observe the memory location where the measurements are being stored, I can see cycles where there are 5 to 10 memory locations being overwritten with a "EE" or "FF", and in some instances it is writing over memory location used to store the battery sensor data.  When I add a watchpoint or breakpoint, the problem stops which is puzzling and as soon as I remove all breakpoints the EE's and FF's re-appear.  This makes it difficult to debug.  How do I fix this so the sensor data is accurate?