Hi Rurik,

I'm getting a runtime error when I call the MMCM function:

RuntimeError Traceback (most recent call last)
<ipython-input-54-73e8ffea9450> in <module>() ----> 1 opt0, glitches0 =
calibrate_mmcm_phase(roach, 0, ['scope_raw_0_snap',])
/opt/adc_tests-master/adc5g/tools.py  in calibrate_mmcm_phase(roach,
zdok_n, snap_names, bitwidth, man_trig, wait_period, ps_range) 96
glitches_per_ps = [] 97 for ps in range(ps_range): ---> 98 core_a, core_c,
core_b, core_d = get_test_vector(roach, snap_names, man_trig=man_trig,
wait_period=wait_period) .....
for snap in snap_names: ---> 50 data = get_snapshot(roach, snap, bitwidth,
man_trig=man_trig, wait_period=wait_period) ........
......

I tried the calibration using the digicom boffiles available in the
respository and I also compiled the same models again using a a8c43a8
version of mlib_debel (updating all the blocks)...

I'll contact Jack to ask him for that code..

Thanks,
Raul




2014-06-12 17:47 GMT-04:00 Primiani, Rurik <[email protected]>:

> Hi Raul,
>
> What errors are you getting?
>
> Which version of mlib_devel did you use to compile your bof file?
>
> Do you have a snapshot attached to the ADC output that properly converts
> offset binary to signed two's?
>
> Jack Hickish has some great code that aligns the data window using
> IODELAYS instead of the MMCM. I'm sure he'd be happy to provide you with
> that.
>
> Thanks,
> Rurik
>
>
>
>
>
> On Thu, Jun 12, 2014 at 5:38 PM, Raul Sapunar Opazo <[email protected]>
> wrote:
>
>> Hello,
>>
>> I have 2 ADCs 5Gs (demux 1:1 version) in a ROACH 2 and Ive been having
>> problems to make them work right.
>>
>>  I am testing a 1.2 Ghz bandwidth spectometer using the ADC in ZOK0 in
>> one channel mode. When the RF input is off ( to see just the spectrum of
>> the ADC) i get some bad spurs (the plot is attached). This problem makes
>> the spectometer works very bad.
>>
>> I've been working on the calibration of the ADCs using the tools of this
>> repository:
>>
>>  https://github.com/sma-wideband/adc_tests
>>
>> but I'm stucked trying to use the calibrate_mmcm function of tools.py. I
>> got a lot of errors when I tried to use it.
>>
>> Anyone has any advice or any documentation to go trough this repository
>> or has any other tools to calibrate the ADCs?
>>
>> I would appreciate a lot any help!
>>
>> Cheers,
>> Raul
>>
>>
>>
>

Reply via email to