Hi Nordic,
Chip set: nRF52840
SDK: 15.3.0
Softdevice: S140 (06.01.01)
Button interface with MCU: Total=13 (All with GPIOTE)
We have face one blocking issue at button press, some time it stuck at some point,
I have debugging the issue and found it stuck at "timer_list_remove" function.
also i haven't got any timer interrupt while this issue come.
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**@brief Function for removing a timer from the timer queue.
*
* @param[in] timer_id Id of timer to remove.
*
* @return TRUE if Capture Compare register must be updated, FALSE otherwise.
*/
static bool timer_list_remove(timer_node_t * p_timer)
{
timer_node_t * p_old_head;
timer_node_t * p_previous;
timer_node_t * p_current;
uint32_t timeout;
// Find the timer's position in timer list.
p_old_head = mp_timer_id_head;
p_previous = mp_timer_id_head;
p_current = p_previous;
while (p_current != NULL)
{
if (p_current == p_timer)
please give appropriate solution for that,
Thanks,
Sandip Divani