Hello Mark,

I realised that the ADC yellow block is for the 2x1GSPS ADC while the
ADC0083000 is the one for the the 3GSPS board I have. That explains
why the .bof you mentioned and the one I created didnt work, since
when I replaced the ADC block was to fix a 'library reference'
problem,and I use the same block of the tutorial.

The question now is that my simulink library does not have a
'ADC0083000' block but a 'ADC0083000x2' which I guess can be used with
a single board too.

I replaced the ADC block by the ADC083000x2 and used the 4 LSBs to
connect to the PFB block in the tutorial design.
I terminated the rest of the block connectors and leaved everything
else unchanged.
Now I am getting 'error due to multiple causes' when trying to simulate.

To see how I connect the block you can have a look this screenshoot:

http://www.das.uchile.cl/~rfinger/ROACH/tut3_adc83000.png

Am I in the right direction?, or this is not the block to run a single
083000 ADC board?
is there a log to look the multiple causes errors of the simulation to
start debugging?

Thanks!

Ricardo.


On Tue, Jun 21, 2011 at 6:58 PM, Ricardo Finger <[email protected]> wrote:
> Hello Mark,
>
> Thanks for your prompt answer.
> We are using the ADC1x3000-8 in the ZDOK 0.
> The first thing we did was to run the bof file you mentioned, just
> after downloaded.
> I just did it again with the same result:
>
> root@roach-laptop:~/Desktop/workspace# ./spectrometer.py 192.168.1.10
> -b r_spec_2048_r105_2010_Jul_26_1205.bof
> Connecting to server 192.168.1.10 on port 7147...  ok
>
> ------------------------
> Programming FPGA with r_spec_2048_r105_2010_Jul_26_1205.bof... done
> Configuring accumulation period... done
> Resetting counters... done
> Setting digital gain of all channels to 4294967295... done
>
> We got the same spectrum I mentioned in my last email and after a
> while we got error:
>
>
> Exception in Tkinter callback
> Traceback (most recent call last):
>  File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1413, in __call__
>    return self.func(*args)
>  File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 498, in callit
>    func(*args)
>  File "./spectrometer.py", line 49, in plot_spectrum
>    acc_n, interleave_a = get_data()
>  File "./spectrometer.py", line 37, in get_data
>    a_1=struct.unpack('>1024l',fpga.read('odd',1024*4,0))
>  File 
> "/usr/local/lib/python2.6/dist-packages/corr-0.6.5-py2.6.egg/corr/katcp_wrapper.py",
> line 265, in read
>    str(size))
>  File 
> "/usr/local/lib/python2.6/dist-packages/corr-0.6.5-py2.6.egg/corr/katcp_wrapper.py",
> line 61, in _request
>    reply, informs = self.blocking_request(request,keepalive=True)
>  File 
> "/usr/local/lib/python2.6/dist-packages/katcp-0.3.4-py2.6.egg/katcp/client.py",
> line 623, in blocking_request
>    (msg.name, timeout))
> RuntimeError: Request read timed out after 10 seconds.
>
> I am using the normal Ethernet port to connect to the ROACH (not the 10GBE).
> A red led lights up on the roach when I run the script.
> Also a green light blinks about two times per second.
> After the script crashes with the 'runtime' error the leds on the
> roach continue doing the same thing.
>
> Ricardo.
>
>
> On Tue, Jun 21, 2011 at 6:24 PM, Mark Wagner <[email protected]> wrote:
>> Hi Ricardo,
>> Generally what we refer to as the iADC is 1Gsps (or 2 interleaved):
>> https://casper.berkeley.edu/wiki/ADC2x1000-8
>> Is this what you're using, or is it our national ADC at 3Gsps?
>> https://casper.berkeley.edu/wiki/ADC1x3000-8
>> Have you tried loading the bof file in SVN without making any changes?
>> https://casper.berkeley.edu/svn/trunk/ref_designs_tutorials/workshop_2010/roach_tut3_wideband_spec/r_spec_2048_r105_2010_Jul_26_1205.bof
>>
>> If you're using the National board, you'll need to switch out the ADC yellow
>> block as well.
>> Mark
>>
>> On Tue, Jun 21, 2011 at 2:14 PM, Ricardo Finger <[email protected]> wrote:
>>>
>>> Hello All,
>>>
>>> I am trying to run the tutorial 3 spectrometer on a ROACH + 1x_3GSPS_iADC.
>>> I used the bof file provided by casper as well as our own bof file
>>> compiled here (on ubuntu) using the simulink model from casper after
>>> replacing the pfb and fft blocks from our 'local' library.
>>>
>>> In both cases I got a strange symmetric spectrum (
>>> http://www.das.uchile.cl/~rfinger/ROACH/tut3_1.png ) which
>>> doesn't change to much when a test tone is applied.
>>> The iADC clock was 800MHz, 0dBm, provided by a valontech 5007 synthesizer,
>>> and the test tone was 100/200 MHz, 0dBm.
>>>
>>> After a few integration periods I get a 'timeout' error, and a blank
>>> window in the spectrometer.py application.
>>>
>>> Does anyone got the same problem?
>>>
>>> Thanks,
>>>
>>> Ricardo.
>>>
>>> --
>>> Ricardo Finger Camus
>>> Electrical Engineer
>>> Astronomy Department
>>> University of Chile
>>> Of: 56(2)9771119
>>> Casilla 36-D, Santiago.
>>> http://www.das.uchile.cl/lab_mwl/
>>>
>>>
>>
>>
>
>
>
> --
> Ricardo Finger Camus
> Electrical Engineer
> Astronomy Department
> University of Chile
> Of: 56(2)9771119
> Casilla 36-D, Santiago.
> http://www.das.uchile.cl/lab_mwl/
>



-- 
Ricardo Finger Camus
Electrical Engineer
Astronomy Department
University of Chile
Of: 56(2)9771119
Casilla 36-D, Santiago.
http://www.das.uchile.cl/lab_mwl/

Reply via email to