Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

Interrupt is not working

Posted 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 working

Posted 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 working

Posted 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 .


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner