Other Parts Discussed in Thread: HALCOGEN
Hi,
I'm tying to implement idle sleep with a TMS570LC and the FreeRTOS HALCoGen project. I can get the proessor to sleep by implementing:
void vApplicationIdleHook( void )
{
systemPowerDown(SYS_SLEEP_MODE);
}
and with SCI3 interface enable wake up. I initialze the SCI3 interface with the wakeup flag:
/** - set interrupt enable */
sciREG3->SETINT = (uint32)((uint32)0U << 26U) /* Framing error */
| (uint32)((uint32)0U << 25U) /* Overrun error */
| (uint32)((uint32)0U << 24U) /* Parity error */
| (uint32)((uint32)1U << 9U) /* Receive */
| (uint32)((uint32)1U << 1U) /* Wakeup */
| (uint32)((uint32)0U << 0U); /* Break detect */
However, once asleep it doesn't wake up again!:
1). Do I need to make a call to wake it up again, if so where (tick hook?)
2). What should the wakeup/powerdown clock sources be set to?
3). Can I send any signal by SCI3 for wakeup?
Many thanks in advance.
Best regards
Pablo