Page 1 of 1

Jitter Noise when decimation factor is 8

Posted: Sat Sep 10, 2016 10:33 am
by annik
Hello, Red Pitaya society!
This i my first post on the forum)
I'm working with the signal that is 3.90625 MHz that is 125MHz/32. When I acquire a signal with the decimation factor 1, I geta perfectly stable signal. But as soon as the decimation factor is 8, the acquired signal is very unstabele and i can see jitter. That is my code to acquie the signal:

osc_fpga_set_trigger_delay(snum_total);
g_osc_fpga_reg_mem->data_dec=decimation;

osc_fpga_reset();

g_osc_fpga_reg_mem->cha_thr=osc_fpga_cnv_v_to_cnt(trigger_voltage);
g_osc_fpga_reg_mem->cha_hystersis=osc_fpga_cnv_v_to_cnt(0);
g_osc_fpga_reg_mem->chb_hystersis=osc_fpga_cnv_v_to_cnt(0);
g_osc_fpga_reg_mem->chb_thr=osc_fpga_cnv_v_to_cnt(trigger_voltage);
while(1){
osc_fpga_set_trigger(trigger);
osc_fpga_arm_trigger();
/* Check if the signal has been triggered*/
trig_test=osc_fpga_triggered();
while(trig_test==0)
trig_test=osc_fpga_triggered();
/* Get triggering pointer */
trig_ptr=(g_osc_fpga_reg_mem->wr_ptr_trigger);
}
Thank you a lot for your help!

Re: Jitter Noise when decimation factor is 8

Posted: Wed Oct 30, 2019 2:09 pm
by redpitaya
Hi and thank you for posting.

First: Make sure to use latest OS - https://redpitaya.readthedocs.io/en/lat ... re-sd-card
Also,
add little delay after acquisition is started and after signal is triggered to get data into the buffer.