Hi Yufan,

Sorry this did not resolve your issues. I believe I see the issue now and am 
sorry I did not catch this earlier. In your previous screenshots for the 
configuration of the RFDC the PLL reference clock input is set to 245.76 MHz 
when it should be set to 491.52 MHz. The LMX file you are using, 
“rfsoc4x2_LMX_REF_245M76_OUT_491.52.txt”, in your init method to the RFDC is 
providing an output of 491.52 MHz. The input reference to the LMX is 245.76 
from the LMK that provides an output reference of 491.52 to the internal PLL of 
the RFDC. This reference for the internal RFPLL is what is being configured in 
the drop down when you change it from 245.76 to 491.52.MHz. Try this and let us 
know how it goes for you.

Best,
Mitch

> On Feb 27, 2024, at 11:32 AM, Yunfan ZHANG <hzzyf1...@gmail.com> wrote:
> 
> Hi Mitch,
> 
> I have switched to the m2021-dev branch for the mlib_devel and it seems that 
> the RFDC block remains the same interface and initial configuration. Then, I 
> did not change anything in the system clocking tab and did the same config as 
> tutorial 2 for dual tile. The result actually remains the same, with ADC1, 2, 
> and 4 stuck at status 6 and ADC 3 stuck at status 7. The PLL seems still not 
> working. 
> 
> There is a new block which is "rfdc_V0_4". I have also tried to use that 
> block and the log shows that this block does not fit with the RFSoC4x2 board.
> 
> Best regards,
> Yunfan
> 在2024年2月21日星期三 UTC-5 11:13:58<Mitchell Burnett> 写道:
>> Hi Yunfan,
>> 
>> Could you please try the `m2021a-dev` 
>> <https://github.com/casper-astro/mlib_devel/tree/m2021a-dev> branch of 
>> `mlib_devel` and see if it helps resolve your issues with setting up the 
>> clock configuration?
>> 
>> This development branch has new changes and adjustments that make simpler 
>> and straightforward in setting up the tile clocking sources. For the 4x2 
>> board specifically, you should no longer need to make any adjustments under 
>> the “System Clocking” tab and it will be correct for the enabled ADC/DAC 
>> tiles you choose to use in your design.
>> 
>> Hope this helps,
>> Mitch
>> 
>> 
>>> On Feb 20, 2024, at 12:39 PM, Yunfan Zhang <yunfan...@duke.edu <>> wrote:
>>> 
>> 
>>> Dear CASPER Team,
>>>  
>>> I really thanked for helping to solve the connection problem to the 
>>> RFSoC4*2 Board for me. Now I have encounter problem using the RFDC block. I 
>>> have followed the tutorial which set the sampling rate to 3932.16 Msps, 
>>> Clock Out and Reference Clock 245.76 MHz. As the RFSoC 4*2, only tile 224 
>>> and tile 226 would be used. Thus, I only checked the Tile 224, 225 and 226 
>>> only. >From the datasheet of the chip, I have set the clock source to ADC 
>>> tile 1 (tile 225) and Tile 0, Tile 2 are both tiled to 225. Which shown 
>>> like the following figures:
>>>  
>> 
>>> <image001.png>
>>> <image002.png>
>>> <image003.png>
>>> <image004.png>
>>> <image005.png>
>> 
>>>  
>>> However, when I check the status of the ADC, it stuck at the State 6, the 
>>> PLL do not work. Is there any wrong for my configuration? I have also tried 
>>> the configuration as same as the Tutorial 2, but also stuck at state 7, 
>>> which PLL do not works.
>> 
>>> <image008.png><image007.png>
>> 
>>>  
>>> I have also tried that the clock source directly connected to the Tile 224 
>>> and Tile 226 and do not distribute the clock from these two tiles, they 
>>> both stuck at State 7, with still PLL would not working.
>> 
>>> <image006.png>
>> 
>>>  
>>> Any possible solution would be great help!
>>>  
>>> Best regards,
>>> Yunfan
>> 
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "cas...@lists.berkeley.edu <>" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to casper+un...@lists.berkeley.edu <>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/SN6PR05MB40629C078AC18D6E6C2A7092D3502%40SN6PR05MB4062.namprd05.prod.outlook.com
>>>  
>>> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/SN6PR05MB40629C078AC18D6E6C2A7092D3502%40SN6PR05MB4062.namprd05.prod.outlook.com?utm_medium=email&utm_source=footer>.
>>> <Schematic.png><Setting1.png><Setting2.png><Setting3.png><Setting4.png><Setting5.png><Result.png><Result1.png>
>> 
> <Screenshot.png>

-- 
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/8E62C645-C324-4B73-96E4-54785D932262%40gmail.com.

Reply via email to