FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [December 2011 Threads] Interrupt is not workingPosted by Braun on December 7, 2011 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?
RE: Interrupt is not workingPosted by Dave on December 7, 2011 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.
RE: Interrupt is not workingPosted by Braun on December 7, 2011 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 .
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|