Dear Aravind, You can do any tutorial in any order, but as a beginner it is better to do it in order. The spectrometer tutorial should be able to work for a 14 bit board, but if you go through the steps you will see that the spectrometer bit growth is based on an input of 10 bits. You would need to change that based on an input of 14 bits. The python script would also need to be updated to handle 14 bits or so I think. This could be why you are experiencing these issues reading back from the snapshots.
I would have to see your script and your slx file that you have updated in order to see if they are correct. Send that to me and I will glance over it. Kind regards, Adam Isaacson South African Radio Astronomy Observatory (SARAO) Hardware Manager Cell: (+27) 825639602 Tel: (+27) 215067300 email: aisaac...@ska.ac.za On Tue, Apr 7, 2020 at 1:04 AM Aravind Venkitasubramony < arve9...@colorado.edu> wrote: > I guess I have to complete the tutorial 2 first before jumping on the > third one to get an answer why. I will see if that helps. > > On Monday, April 6, 2020 at 4:35:34 PM UTC-6, Aravind Venkitasubramony > wrote: >> >> Sorry for the confusion. I meant the wide(ish) spectrometer tutorial 3 >> >> On Monday, April 6, 2020 at 3:58:50 PM UTC-6, Aravind Venkitasubramony >> wrote: >>> >>> Does the spectrometer tutorial work with the 14 bit Red Pitaya board as >>> well? The tutorial mentions the 10 bit board, but I am using the 14 bit >>> board version. >>> >>> Also, going through the spectrometer tutorial with the 14 bit board, I >>> get the following message at the terminal when executing the python >>> command. Can someone help me with what might be the issue here? >>> >>> Connecting to Red Pitaya: rp-F07516.local >>> Uploading: tut_spec.fpg >>> These are the devices in your design ... >>> ['acc_cnt', 'acc_len', 'accum0_snap_ss_bram', 'accum0_snap_ss_ctrl', >>> 'accum0_snap_ss_status', 'accum1_snap_ss_bram', 'accum1_snap_ss_ctrl', >>> 'accum1_snap_ss_status', 'accumdat_snap_ss_bram', 'accumdat_snap_ss_ctrl', >>> 'accumdat_snap_ss_status', 'adc_dv', 'adc_sample_cnt', >>> 'adc_voltage_snap_ss_bram', 'adc_voltage_snap_ss_ctrl', >>> 'adc_voltage_snap_ss_status', 'fft_sync_inc0', 'fft_sync_inc1', >>> 'reg_cntrl', 'snap_gap', 'sync_cnt', 'sync_reg', 'sys_block', >>> 'sys_board_id', 'sys_clkcounter', 'sys_rev', 'sys_rev_rcs', >>> 'sys_scratchpad'] >>> Traceback (most recent call last): >>> File "tut_spec.py", line 38, in <module> >>> spec0=fpga.snapshots.accum0_snap_ss.read(arm=False)['data'] >>> File "/usr/local/lib/python2.7/dist-packages/casperfpga/snap.py", line >>> 227, in read >>> rawdata, rawtime = self.read_raw(**kwargs) >>> File "/usr/local/lib/python2.7/dist-packages/casperfpga/snap.py", line >>> 333, in read_raw >>> bram_dmp['length'] / (self.width_bits / 8))) >>> RuntimeError: accum0_snap_ss.read_uint() - expected 16384 bytes, got 32 >>> >>> -- > You received this message because you are subscribed to the Google Groups " > casper@lists.berkeley.edu" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to casper+unsubscr...@lists.berkeley.edu. > To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/77f027f3-c878-43c1-ab28-b77f3582d4f8%40lists.berkeley.edu > <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/77f027f3-c878-43c1-ab28-b77f3582d4f8%40lists.berkeley.edu?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CADTJ%3DnF22fvRt-WuwViLJ1qmAwEE4nPkKaieMXX7-HXKpXoaMQ%40mail.gmail.com.