Hello everybody,
I wrote a small program to generate a 16 KHz PWM signal on OC3A which
corresponds to pin 26 on the IRIS 51 pins connector. Assuming that
fclk_I/O = 7.3728 MHz , I use CTC mode with OCR3A as TOP value.
PRR1 =~(1 3); // enable Timer 3
TCCR3B |= (13)|(10); // prescaler=1
Hafid,
Most probably, the MCU goes to sleep and the timer is not ticking. To
prevent the MCU from sleeping, implement the McuPowerOverride
interface and wire it to McuSleepC.
Janos
On Wed, Nov 9, 2011 at 10:05 PM, hafid oussaadi oussaadiha...@live.com wrote:
Hello everybody,
I wrote a small