This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2652R: Multi role scheduler

Part Number: CC2652R

Hi Team,

I have some queries regarding Multi role application scheduling. I have thoroughly gone through LL scheduler implementation explained in the below link.

https://dev.ti.com/tirex/content/simplelink_cc13x2_26x2_sdk_5_10_00_48/docs/ble5stack/ble_user_guide/html/ble-stack-common/link-layer-cc13x2_26x2.html

I have few queries to this explanation. 

1) Where can I exactly see the TI-RTOS configuration file in the Multi_Role application for parameters like Systick timing etc (Like FreeRTOSConfig.h file in FreeRTOS)?.

2) Is it possible to view the scheduler implementation file in the Multi-role project or is it attached to the application during compile time as a binary ?. If possible to view, where can I find it in the Multi-role project?.

3) What is the currently implemented scheduling policy in the scheduler (I believe it is priority based preemptive scheduling together with Round robin) ?.

I kindly request you to provide detailed answer.

Regards

PRC

  • Hey PRC,

    Thanks for posting. Your questions all seem related strictly to the TI-RTOS task scheduling and not specifically related to BLE, please correct me if I'm wrong. Given this, here are the answers to your questions along with some resources that will help.

    1) Where can I exactly see the TI-RTOS configuration file in the Multi_Role application for parameters like Systick timing etc (Like FreeRTOSConfig.h file in FreeRTOS)?.

    This can be found when you import the project into a workspace. I see it named multi_role_app.cfg (note: the RTOS config file will be of type .cfg). Here's a link to a particular section of our User's Guide (Kernel Configuration). In the TI-RTOS perspective, I believe the Systick equates to the Clock.tickPeriod (see the .cfg file).

    2) Is it possible to view the scheduler implementation file in the Multi-role project or is it attached to the application during compile time as a binary ?. If possible to view, where can I find it in the Multi-role project?.

    I don't think this is possible since the TI-RTOS is provided in a library and is also located in ROM.

    3) What is the currently implemented scheduling policy in the scheduler (I believe it is priority based preemptive scheduling together with Round robin) ?.

    You are correct. I'm not sure it should be seen as "Round robin" as it really depends on the priorities of the tasks and any interrupts that are triggered. I would start reading our TI-RTOS Simplelink Academy module which touches on this and should also provide references to our TI-RTOS Kernel User's Guide which dives into as much detail as we can provide.