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