Hello,
I am working on BLE+Thread multiprotocol and took ble_thread_swi_template as a base code. I am using nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8. My development hardware is Fanstel BT840. I am using softdevice - s140_nrf52_7.0.1_softdevice.
When I run the template example, the thread gets up but suddenly stops working.
When debugged I found that - When this function - otSysProcessDrivers(mp_ot_instance); is called inside thread_process(), the application suddenly stops.
void thread_process(void)
{
ASSERT(mp_ot_instance != NULL);
otTaskletsProcess(mp_ot_instance);
otSysProcessDrivers(mp_ot_instance);
}
I also have made internal clock related changes for BT 840: https://devzone.nordicsemi.com/f/nordic-q-a/58956/softdevice-not-working-on-bt840-based-custom-board
#define NRF_SDH_CLOCK_LF_SRC 0
#define NRF_SDH_CLOCK_LF_RC_CTIV 16
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
#define NRF_SDH_CLOCK_LF_ACCURACY 1
This same example works on nRF Development Kit but does not work on BT840. I was wondering how the does the underlying hardware affecting the thread operation. Kindly let me know if there is any information on this.
Thanks in Advance,
Rajendra