Hello,
thanks first of all thank you for the blog entry and the code. Now to my question: I have tried to put the reciprocal measurement into operation (with an RP2040 Zero, freq input pin is #15). Unfortunately, I always get 0 Hz. The other measurement method works. I have already played around with NUM_EDGE_TIMES and EDGE_WAIT_USEC, unfortunately without any results. (E.g. on 6/3000001, therefore 3 s). Unfortunately, nothing comes back when I feed in a relatively slow (~8 alternating edges per second) test signal. Can you verify that the code ist still working (I used the "new way" for the SDK, the Raspberry Pi Pico plugin for VSC). I dont expect the problems there, but who knows...
Thank you very much :)
Hello,
thanks first of all thank you for the blog entry and the code. Now to my question: I have tried to put the reciprocal measurement into operation (with an RP2040 Zero, freq input pin is #15). Unfortunately, I always get 0 Hz. The other measurement method works. I have already played around with NUM_EDGE_TIMES and EDGE_WAIT_USEC, unfortunately without any results. (E.g. on 6/3000001, therefore 3 s). Unfortunately, nothing comes back when I feed in a relatively slow (~8 alternating edges per second) test signal. Can you verify that the code ist still working (I used the "new way" for the SDK, the Raspberry Pi Pico plugin for VSC). I dont expect the problems there, but who knows...
Thank you very much :)