Quality RTOS & Embedded Software

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




Loading

Cortex M0 tickless

Posted by MIchal on July 29, 2013
I am adding some support for Energy Micro chips, but I have problem with Cortex M0, because available files in portable folder don't support tickless idle. Can you help me?

RE: Cortex M0 tickless

Posted by Richard on July 29, 2013
I'm not sure that the EM M0 parts have enough RAM to run many tasks.

The first thing to check would be if the same scheme used on the M3 can be used on the M0. Specifically regarding the way the core is brought out of the sleep mode. If the M0 can be brought out of a sleep mode by an interrupt even when interrupts are globally disabled (which without actually checking I would guess it could as this is how the other Cortex-M parts work) then it should be simple enough to just copy the M3 (and M4) implementation into the M0 port layer.

We can walk through that here if you want, although I haven't tried it myself so it would be a case of discussing things here, then you trying it and reporting back before moving onto the next step.

Regards.

RE: Cortex M0 tickless

Posted by MIchal on July 30, 2013
Ok thanks, with slight changes it works.


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




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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