4DSP Support Forum

Products => FMC Products => FMC176 => Topic started by: Clive.Boyd on September 19, 2014, 09:58 AM

Title: FMC176 : JESD204B Lane configuration
Post by: Clive.Boyd on September 19, 2014, 09:58 AM
Dear Sir/Madam,
I am using FMC176 board of 4DSP. When I look at the file FMC176_adc.cpp, I can't not figure out the absolute address of the registers that following commands what to execute, especially the first  address [size=78%]bar_adc_phy+0x00.[/size]



   // JESD204B Lane Configuration
   rc = sipif_writesipreg(bar_adc_phy+0x00, 0x82); Sleep(10);
   rc = sipif_writesipreg(bar_adc_phy+0x01, 0x01); Sleep(10); //F=2
   rc = sipif_writesipreg(bar_adc_phy+0x03, 0x1F); Sleep(10); //K=32


My understanding is that these commands configure the JESD204b receiver on the FPGA  with 2 octets/frame and 32 frames/multiframe. But I cannot work out what the first command will do because it does not have an included comment.
Could you please advise?
Thanks,
Title: Re: FMC176 : JESD204B Lane configuration
Post by: iklink on September 22, 2014, 09:14 AM
Dear,


The write to address 0x00 indeed configures the receiver in the FPGA. Value 0x82 translates to (bit 7 downto 0 = 0x82):
- bit 1: enables receiver support for lane sync
- bit 7: writing a '1' to this bit generates a reset pulse for the receiver logic


Best regards,
Ingmar van Klink
4DSP

Title: Re: FMC176 : JESD204B Lane configuration
Post by: Clive.Boyd on September 23, 2014, 09:30 PM
thank you very much for your explanation.
Cheers
Title: Re: FMC176 : JESD204B Lane configuration
Post by: arnaudNL on September 24, 2014, 04:15 AM
Dear Clive,


Please let me know if you need anything more about this issue, if not I will close this topic in 24 hours.


Best Regards,
Arnaud
Title: Re: FMC176 : JESD204B Lane configuration
Post by: arnaudNL on September 29, 2014, 05:31 AM
This topic is being closed because the issue is considered as resolved by 4DSP. Feel free to create a new topic for any further inquiries.