Hi,
I am using MSP430F2410 ported code from IAR to Code Comp StudioV6.0.1.
The code execute fine with IAR.
With CCS i am facing below problem.
=================================
|
1
2
3
4
5
|
__disable_interrupt(); // Don't let us get interrupted yet TIMER_EnableEvent( handle ); // Enable the event __low_power_mode_3(); // Enter low power mode/enable interrupts __no_operation(); // Errata fix (CPU19) TIMER_DisableEvent( handle ); // Disable the event |
======================================
On executing the above code it enters to low power mode but it doesn't come out of it until UART data received or when i pass the debugger.
It doesn't comes out from timer event which is actually configured.
The code works fine with IAR.
In IAR When timer event occurs it comes out of sleep mode and it will print some messages in UART after exiting from sleep.
In CCS timer event does n't occur and if some uart data is received then it comes out of sleep mode and print some messages in UART afetr exiting sleep.
I checked using debugger and without debugger.
Is there anything i need to take care in CCS for it to work as expected ?