4DSP Support Forum

Products => FMC Products => FMC230 => Topic started by: wuge1 on September 25, 2014, 08:46 AM

Title: SPI Register Settings
Post by: wuge1 on September 25, 2014, 08:46 AM
Dear Sir,
 
I have integrated the reference design "fmc230_if.vhd" in my top level module. I removed the instances that are not needed, so that just "fmc230_cpld_ctrl", "fmc230_ad9129_ctrl" and "fmc230_ad9517_ctrl" are used. I have implemented an FSM to write the register settings in "in_cmd" zu configure the three devices: CPLD, AD9517-1 and AD9129.

I'm afraid I didn't write all the registers of AD9517-1 correctly (using integrated PLL and internal VCO to generate a clock of 2457.6MHz for the DAC), so that the desired clocks are not generated. Can you provide me a set of  register settings for the PLL design which is described in the "FMC_230_user_manual - 4.9.1"?


It would be very helpful if you can also share the standard register settings to run the whole system. I would be very appreciated, thank you!
Title: Re: SPI Register Settings
Post by: arnaudNL on September 25, 2014, 09:33 AM
Dear Sir,


We do not have that list, we would need to create that list for you, you should expect costs of about 1 man day, I am not able to tell how much this is. You would need to get a sales engineer to contact you in order to discuss that further.


You could also create your own list. In the module sipif.cpp is a function sip_writesipreg() called to write a 32 bit words through the host interface. What you could do is modify this function in order to create a CSV file for you and then you would have the list of all the writes, their address and value. This is a trick I used often in the past.


There might also be some portion of code waiting on PLLs to be locked, delaying the init. If this is the case you should make sure to do the same in your firmware.


I hope that helps.


Best Regards,
Arnaud



Title: Re: SPI Register Settings
Post by: wuge1 on September 25, 2014, 11:09 AM
Dear Arnaud,
 
thank you for the rapid answer!
In the file "FMC230_clocktree.cpp", there are register settings for the clock tree in the function FMC230_clocktree_init(). They are just the register list I can copy to the firmware, aren't they?
Title: Re: SPI Register Settings
Post by: arnaudNL on September 25, 2014, 11:20 AM
Yes, that should be it. Do you mean that did not work?
Title: Re: SPI Register Settings
Post by: wuge1 on September 26, 2014, 03:21 AM
Dear Arnaud,

thanks, I will implement it today. I didn't mean this dosen't work, I found it with your help yesterday.
 
Regards,
Ge
Title: Re: SPI Register Settings
Post by: arnaudNL on September 29, 2014, 04:06 AM
Dear Sir,


I was following up with you.


Any progress, anything I can do before to close this topic?


Best Regards,
Arnaud
Title: Re: SPI Register Settings
Post by: wuge1 on September 29, 2014, 04:40 AM
Dear Sir,
 
I'm not in the office today. But if you can give me som more time, I will give you a feedback...
 
Regards,
Ge
Title: Re: SPI Register Settings
Post by: arnaudNL on October 01, 2014, 07:36 AM
Dear Sir,


I will really need to close this topic without further feedback.


Thanks,
Arnaud
Title: Re: SPI Register Settings
Post by: wuge1 on October 01, 2014, 07:52 AM
Dear Sir,
 
I implemented the register settings in the firmware and it works. Thank you.
 
Regards,
Ge
Title: Re: SPI Register Settings
Post by: arnaudNL on October 02, 2014, 03:54 AM
Dear Sir,


Thanks for the feedback!


Best Regards,
ARnaud
Title: Re: SPI Register Settings
Post by: arnaudNL on October 02, 2014, 03:56 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.