Hello,
could someone explain me the decimation factor please?
What is it doing exactly?
Can I use it to sample at slower sample rates?
Kind regards,
Ronny
decimation factor
-
- Posts: 33
- Joined: Fri Jan 23, 2015 9:53 am
- Location: Zurich
Re: decimation factor
It's exactly what you wrote!
It devides the base sample clock (125MSps) by a factor thats a binary number (2 to the power of n). This allows a lower samplerate.
Additionally you can enable averaging which basically takes the average of the 'lost' samples if you are running a lower samplerate.
Does that answer your question?
It devides the base sample clock (125MSps) by a factor thats a binary number (2 to the power of n). This allows a lower samplerate.
Additionally you can enable averaging which basically takes the average of the 'lost' samples if you are running a lower samplerate.
Does that answer your question?
-
- Posts: 10
- Joined: Thu May 07, 2015 9:08 am
Re: decimation factor
Thanks a lot Noah!
So if I need a sample rate of about 2 Mhz , I just need to choose a decimation of 64 , correct?
How do I activate averaging in command line please?
Thanks,
Ronny
So if I need a sample rate of about 2 Mhz , I just need to choose a decimation of 64 , correct?
How do I activate averaging in command line please?
Thanks,
Ronny
-
- Posts: 33
- Joined: Fri Jan 23, 2015 9:53 am
- Location: Zurich
Re: decimation factor
Yes thats right.
Unfortunately the acquire tool doesn't support the averaging feature (to my knowledge). But you can turn it on by writing to the FPGA register like so:
and to disable it
Unfortunately the acquire tool doesn't support the averaging feature (to my knowledge). But you can turn it on by writing to the FPGA register like so:
Code: Select all
monitor 0x40100028 1
Code: Select all
monitor 0x40100028 0
-
- Posts: 10
- Joined: Thu May 07, 2015 9:08 am
Re: decimation factor
Thanks Noah!
The 'monitor' command, is just a command I enter in the secure shell terminal, before
entering the acquire command?
Is there also a command to trigger on a digital line (falling edge, digital line 0)?
Thanks in advance!
Ronny
The 'monitor' command, is just a command I enter in the secure shell terminal, before
entering the acquire command?
Is there also a command to trigger on a digital line (falling edge, digital line 0)?
Thanks in advance!
Ronny
-
- Posts: 33
- Joined: Fri Jan 23, 2015 9:53 am
- Location: Zurich
Re: decimation factor
Correct.Ronny Comyn wrote:The 'monitor' command, is just a command I enter in the secure shell terminal, before entering the acquire command?
Indeed there is! Take a look at the Red Pitaya FPGA memory map. The register 0x40100004 defines the trigger source. So if you write to it the value 6 the trigger source will beRonny Comyn wrote:Is there also a command to trigger on a digital line (falling edge, digital line 0)?
The command would beexternal trigger positive edge - DIO0_P pin
Code: Select all
monitor 0x40100004 6
Cheers, Noah
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 99 guests