I am not familiar with the PicoMite but what are you using to program things and how long does it take to respond to a falling edge being detected and it reading the ADC ?
If it were a 0V/3.3V square wave at 360 Hz you would have to read it within about 1.2 ms of falling edge to see it as a low. Longer than that and it will have gone high again.
If using a sine wave and there's a long delay, a rising ADC with increasing frequency is what I would expect to see.
Maybe pulse a GPIO so you can see when it's doing the read.
I'm also not clear about the input being 1.2V AC - The Pico isn't really tolerant to negative voltage.
If it were a 0V/3.3V square wave at 360 Hz you would have to read it within about 1.2 ms of falling edge to see it as a low. Longer than that and it will have gone high again.
If using a sine wave and there's a long delay, a rising ADC with increasing frequency is what I would expect to see.
Maybe pulse a GPIO so you can see when it's doing the read.
I'm also not clear about the input being 1.2V AC - The Pico isn't really tolerant to negative voltage.
Statistics: Posted by hippy — Fri Aug 02, 2024 8:25 pm