Could you provide some example code for waking the microcontroller form sleep using timer3 interrupt?
Since PLL is not started could this be started safely in the interrupt?
Is this a valid ?
__irq void IRQ_Handler (void)
if ((IRQSTA & WAKEUP_TIMER_BIT) !=0) // Timer2 IRQ
PLLKEY1 = 0xAA;
PLLCON = 0x01; // Generate from PLL based on XTAL
PLLKEY2 = 0x55;
POWKEY1 = 0x01;
POWCON = frequency;
POWKEY2 = 0xF4;