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

FreeRTOS with ZigBee and Bluetooth Dynamic Multiprotocol

After reviewing this thread https://devzone.nordicsemi.com/f/nordic-q-a/53743/zigbee-sdk-on-top-of-freertos  I managed to get FreeRTOS working with ZigBee and BLE using the new Thread/ZigBee V4.0.0 stack.  I have the following priorities:

0. Idle task

2. FreeRTOS Timer Task

3. ZigBee Task

4. Bluetooth Task

Without this division of priorities I ran into the same issue was the above link with the ZigBee task waiting on a NVRAM event from the SD.

My question is what does the Nordic team think of this setup?  With the ZigBee ZBOSS stack so opaque it's hard for me to evaluate the long term stability of my approach.

Thanks,

Darren

Parents
  • Hi Darren,

    The priorities do not worry me atleast. Probably it is hard for any one of us to evaluate the long term stability as you seem to be the first one with success. I have not evaluated this setup, but I would be interested to see if you run any tests suites on it and the result of it.

Reply
  • Hi Darren,

    The priorities do not worry me atleast. Probably it is hard for any one of us to evaluate the long term stability as you seem to be the first one with success. I have not evaluated this setup, but I would be interested to see if you run any tests suites on it and the result of it.

Children
  • Thank you for the response!  I haven't run any test suites but I am willing to try.  Do you any suggestions?

    Also does FreeRTOS + ZigBee + BLE have any support within Nordic?  I can guess that a lot of effort is being put towards nRFConnect for the short range products.

    Thanks,

    Darren

  • Both Zigbee and FreeRTOS are compatible with BLE. FreeRTOS does not interfere with Zigbee Priorities. I see no reason why they should not work together apart from resource crunch. All three reserve peripherals  and luckily i do not see any conflicts.

    No Darren, i do not know of any efforts to make this combo work internally.

  • Thank you for the recommendations and for taking a look at my configuration!