Hi,
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?
Interrupt is not working
Interrupt is not working
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.
Interrupt is not working
Sorry,
EFM32G290F128
IAR_ARM_CM3 void vZustand( void *pvParameters )
{
const portTickType xDelay_ms = 1 / portTICK_RATE_MS; for(;;)
{
switch (state)
{
case 0:
/* Task10 und Task11 werden ertsellt EM0*/
xTaskCreate( vTask10, “Task 10”, configMINIMAL_STACK_SIZE, NULL, 2, xTask10Handle );//Task erstellen
xTaskCreate( vTask11, “Task 11”, configMINIMAL_STACK_SIZE, NULL, 2, xTask11Handle );//Task erstellen Yet another error occurs.
If I have two task (10,11), from the task (vZustand) out, create, the task(11) is not created .
IAR_ARM_CM3 void vZustand( void *pvParameters )
{
const portTickType xDelay_ms = 1 / portTICK_RATE_MS; for(;;)
{
switch (state)
{
case 0:
/* Task10 und Task11 werden ertsellt EM0*/
xTaskCreate( vTask10, “Task 10”, configMINIMAL_STACK_SIZE, NULL, 2, xTask10Handle );//Task erstellen
xTaskCreate( vTask11, “Task 11”, configMINIMAL_STACK_SIZE, NULL, 2, xTask11Handle );//Task erstellen Yet another error occurs.
If I have two task (10,11), from the task (vZustand) out, create, the task(11) is not created .