cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Participant
Participant
684 Views
Registered: ‎05-16-2018

RFSoC simple ADC project no effective clock generated by LMX

Hi,

I am using ZCU111 to bring up a simple project. The following picture shows block design. 

I have connected ILA to monitor the output of rfdc. It shows the error in the last figure and it seems that the ADC is not running and the clcok output was not generated.

I have generated the bitfile and then program the FPGA.

Then run the baremetal applcation with following code to configure the LMX. Is there anything I missed which results in this?

/* Initialize the RFdc driver. */
ConfigPtr = XRFdc_LookupConfig(RFDC_DEVICE_ID);
if (ConfigPtr == NULL) {
return XRFDC_FAILURE;
}

Status = XRFdc_CfgInitialize(RFdcInstPtr, ConfigPtr);
if (Status != XRFDC_SUCCESS) {
return XRFDC_FAILURE;
}
#ifdef XPS_BOARD_ZCU111
printf("\n Configuring the Clock \r\n");
#ifdef __BAREMETAL__
LMK04208ClockConfig(1, LMK04208_CKin);
LMX2594ClockConfig(1, 5120000);
printf("\n Configured the Clock \r\n");
#else
LMK04208ClockConfig(12, LMK04208_CKin);
LMX2594ClockConfig(12, 5120000);
printf("\n Configured the Clock bb \r\n");
#endif
#endif

c.png

b.png

a.png
0 Kudos
1 Reply
Highlighted
Moderator
Moderator
651 Views
Registered: ‎04-18-2011

This question is being addressed here
https://forums.xilinx.com/t5/UltraScale-Architecture/ZCU111-board-LMX-clock-programming/td-p/957019

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos