Open epsi1on opened 1 year ago
Edge detection is needed.
- Will address this after the next week.
Hi, Thanks. i did also some dummy edge detection which works more or less, it is buggy. You can download binary of POC version which works on the windows from here: POC Release
The channel mask is 0x01
so probe is connected to GPIO26 i think.
The edge detection was implemented in the firmware, namely by a fast interrupt with low jitter. (commit 5d9e329)
Original free-running waveforms from some low-pass filter:
New feature: all wforms synchronously triggered with the input signal:
And finally, with code like
rp.adc(channel_mask=sum(2**ch for ch in channels),
blocksize=1000*len(channels),
blocks_to_send=10,
clkdiv=int(48000//kSPS_per_ch),
trigger_gpio=1, ## <---------------
trigger_on_falling_edge=1, ## <---------------
_callback=ADC_callback)
... one can also trigger ADC block on the falling edge as well:
wonderful feature, I was thinking of edge detection as different thing which will help me to show harmonic signal, but it seems kind of impact detection, or capturing on trigger... Cool anyways, I think i would add the feature to the osciloscope app. (it would be nice)
continue from issue