Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

SDK • Re: Pico2W repeating alarm fails after about 1000 alarms

$
0
0
The problem, I assume from reading the github issues, appears to be in ta_set_timeout, a function called by the timer IRQ handler to set the next timeout. If the next timeout is not set, the callback is not called, etc.

So, what happens is the callback is not accessed, everything else keeps happening.

In my original application, everything seemed to work except the repeating timer.

The failure point seems to wander a bit:

Code:

From three tries on two Pico's,Pico2_w    53850Pico2_w    53900Pico2_w    54050Pico           33050Pico           33050Pico           14950
Tom Dean

Statistics: Posted by tomdean — Thu Jan 29, 2026 3:50 am



Viewing all articles
Browse latest Browse all 8609

Trending Articles