AnsweredAssumed Answered

Codewarrior debugging, SOPT1 register problem

Question asked by Greg Spinetti on Oct 25, 2017
Latest reply on Oct 29, 2017 by ZhangJennie

Hello guys. I'm actually working in Codewarrior v10.6 with a Micro DEMOQE128, and I'm trying to make the drivers of a motor work with the PWM of the micro. The code seems to be quite simple because it only tries to make the drivers work based on a lecture for a proximity sensor, which it's read it with the Mic ADC Converter. At the beginning, it was working fine, but  now as sudden as I run the program on the Mic while debugging, I got a problem with the SOPT1 register of the Mic (It stops like it was a breakpoint or some stuff like that), so it is really driving me crazy, because my code it's really short and I've never modified or even open the CPU registers. 
Thanks so much in advance, really

Attachments

Outcomes