Hello Heystek, It's conventional to use the sync0..3 outputs of the KatADC (through an OR gate) into the Sync input of your PFB. This should be a PPS signal.
Do you have a PPS signal and clock reference going into your katadc? What speed (i.e. FPGA clock frequency) are you running at? Try doing some initial debugging e.g. in casperfpga in python with fpga.estimate_clock_freq() or something like that, I can't remember the exact name of the function. It also helps to connect that OR-gated sync signal to a 1-bit counter and to an LED output so you can actually see if a PPS is getting to the right place. Regards, James On Wed, May 17, 2017 at 9:57 AM, Heystek Grobler <[email protected]> wrote: > Hi James > > Physically I have connected the signal generator to the katadc's "i" input > connector with a square wave at 50MHz with amplitude of 2Vpp. > > The simulink model is connected as follows: > > [image: Inline image 2] > If I program the ROACH and pull a spectrum of It I get nothing (only a > straight line through zero) or sometimes I get the most random noise that > is all over the place. > > Heystek > > > > > > > > > > On Wed, May 17, 2017 at 9:48 AM, James Smith <[email protected]> wrote: > >> Hello Heystek, >> >> If you're not getting a spectrum, what are you getting? How have you >> connected your katadc? (Both physically and with the yellow block)? >> >> Regards, >> James >> >> >> On Wed, May 17, 2017 at 9:46 AM, Heystek Grobler < >> [email protected]> wrote: >> >>> Good day everyone >>> >>> I am trying to implement tutorial 3 on a ROACH1 with a katadc. I have >>> previously done it on a ROACH2 with the iadc. >>> >>> For some reason I am struggling to get the katadc to work. I am using >>> the katadc yellow block but I cant generate a spectrum. I hooked up an >>> signal generator to the katadc and gave it a square wave at 50MHz. >>> >>> Am I doing something stupid? Or is there another yellow block that I >>> should rather use. >>> >>> Have a great day >>> >>> Heystek Grobler >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "[email protected]" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> >> >> > -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].

