void vTask15( void *pvParameters )
{
startLFXOForRTC();
prepareEM2();
setupRTCTimeout();
do
{
rtcInterrupt = 0;
EMU_EnterEM2(false);
}while( rtcInterrupt == 0 );
vTaskDelete( NULL );
}
I generate five tasks.
Task 15 is to go into sleep mode.
I want to wake up the task with the RTC, is available on the board.
Unfortunately, it does not work.
The RTC IRQ_Handler is not running.
The RTC runs at 32kHz.
# define configCPU_CLOCK_HZ (14000000UL) is the setting in FreeRTOS_Config.h
What mistake am I doing?
You have made no attempt at giving information that allows people to answer your question (like which CPU you are using), but even without that, I would say your problem is not FreeRTOS related but hardware set up related.