Hi all,
For this project firmware overview:
A few months ago, we shipped 10k products and never had such problems. In the latest order, 38 out of 1k products were abnormal. The phenomenon was that the watchdog did not work and the RC oscillator failed to calibrate, and we think it may be caused by the abnormal stop of RC coscillator.
This will bring great worries to the following orders, so I want to find out the problem fundamentally and solve it. My doubts are as follows:
1. Prerequisite: The software sdk is S112 under 14.2 (nRF5_SDK_14.2.0_17b948a), and the chip hardware is nrf52805 (BGA package).
I will set the device to shut down when the device is delivered, and it will be in idle mode.
2. For products with appeal problems, I reinstall the battery, and the equipment can work normally (it has been running normally for a week now).
3. I learned that a setting is different from the recommended setting. Due to the extreme power consumption requirements, the internal RC parameters are set as follows:
nrf_clock_lf_cfg_t const clock_lf_cfg =
{
.source = NRF_SDH_CLOCK_LF_SRC,
.rc_ctiv = (16 * 2), //NRF_SDH_CLOCK_LF_RC_CTIV,
.rc_temp_ctiv = (2 * 2), //NRF_SDH_CLOCK_LF_RC_TEMP_CTIV,
#ifdef S140
.xtal_accuracy = 0 //NRF_SDH_CLOCK_LF_XTAL_ACCURACY
#else
.accuracy = 1,//NRF_SDH_CLOCK_LF_XTAL_ACCURACY
#endif
};Does this internal RC setup cause unusual problems for the device? Cause the chip to run abnormally after a period of time?
4. If yes, is it due to the compatibility of software SDK and chip? How can I fix it?
Since there will be a certain amount of orders in the next October, this problem needs to be solved urgently, please help to provide a solution