Elektrine lite

← Feed

@cccpresser@chaos.social

Post #3732276

2026-07-10 12:11 UTC

I want to build a fast TDC (TimeToDigital) converter with the #RP2350 using the PIOs. Turns out this is reasonably simple by doing wait 1 pin 2 mov y timeout_value waitloop: jmp pin hitreceived jmp y-- waitloop ... The downside is that it takes two clock cycles for each count in the y register. But I want a really fast TDC (2ns resolution with a 500MHz clock). Anyone got an idea how to do faster count + capture on this chip?

Replies (0)

No replies.