This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

RTOS in NRF52

Hi All, We are in design phase of our project . We would like to use NRF52832 for our project.

Our project is a wearable based on BLE. We are planning to use RTOS in NRF52 . I know that alpha SDK release has a blinky code which demonstrate RTOS usage in NRF52. I need to know more details about using RTOS with nrf52 . I have some questions ,

1)How much RAM will be available for application if we use RTOS, 2)how many threads maximum we can create. 3)To be more clear is there any documentation on using RTOS in NRF52?

Thanks a lot in Advance!!

Parents
  • Hi,

    1. The amount of RAM that is needed by the RTOS depend greatly on the RTOS in question and how it is configured, so it is impossible to say a number without knowing the details.

    2. The max number of threads is RTOS specific, but it usually boils down to resources. For example, FreeRTOS has no specific limit on the number of tasks that can be created, but as each time has it's own stack of configurable depth, you will reach a limit that depend on the amount of memory on the device and the depth of the stack's of the various tasks.

    3. The nRF5 SDK has examples using FreeRTOS and RTX.

Reply
  • Hi,

    1. The amount of RAM that is needed by the RTOS depend greatly on the RTOS in question and how it is configured, so it is impossible to say a number without knowing the details.

    2. The max number of threads is RTOS specific, but it usually boils down to resources. For example, FreeRTOS has no specific limit on the number of tasks that can be created, but as each time has it's own stack of configurable depth, you will reach a limit that depend on the amount of memory on the device and the depth of the stack's of the various tasks.

    3. The nRF5 SDK has examples using FreeRTOS and RTX.

Children
No Data
Related