FRDM-KW41Z
I am currently encountering an issue with the FRDM-KW41Z development board from NXP regarding Bluetooth Low Energy (BLE) disconnection. Specifically, when a function on the device takes longer than expected processing time, the BLE connection gets terminated, and I receive an error code "InstantPassed 0x28". Sometimes it happens in just 1-2 function calls and sometimes more than 5-7 times executed then disconnected.
I am seeking guidance on potential strategies to mitigate or prevent this disconnection issue without altering the function causing the delay. Alternatively, I am interested in exploring adjustments to the BLE configuration settings that could potentially address or alleviate this problem.
If any community members have encountered similar challenges or possess insights into configuring the FRDM-KW41Z's BLE settings to prevent disconnections under such circumstances, I would greatly appreciate your advice and recommendations.