Hello, I'm using ATxmega16E5 and IAR-EWB for programing. In my application I use a PWM pin to control a step-up regulator which is build arround a N-MOSFET, an inductor, an ultra fast diode and an output capacitor. The circuit is well designed and tested and is working as it should. My problem is that every time I push the brake button in C-Spy debugger (so that I can see some register values) the PWM pin stops randomly in either High or Low level. If it stays in Low level everything is OK but if it stays in High Level the step-up fries! In my previous design I used an ATmega88PA and I didn't have the same issue, because the debugger has an option for running Timers in stop mode. Why this feature is not available any more in the new series of 8-bit microcontrollers from ATMEL? Is there anything I'm missing?
Joined: Fri. Dec 15, 2006
Posts: 24 View posts