This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DAC38J82EVM: Configure LMK04828 for 4-wire mode with FMC connector

Part Number: DAC38J82EVM
Other Parts Discussed in Thread: LMK04828,

I am trying to configure the LMK04828 on a DAC38j82EVM board for 4-wire mode to be used with the FMC connector.

I have set bit 4 on register 0x000 to 1 to disable 3-wire mode. I have also configured register 0x14a to 0x33 (push-pull output for RESET as SPI readback). 

However, I still can't get it to work. I can access and configure the DAC without issue. Looking at the CPLD code I noticed this part of the code related to SDO:

...

// Control routing of LMK and DAC SDO to FTDI or FMC
reg SDO_ROUTE;
always @ (*) begin
  if(!FTDI_SEN_LMK && FTDI_SEN_DAC) begin
    SDO_ROUTE <= LMK_SDO;
  end else begin
    SDO_ROUTE <= DAC_SDO;
  end
end

assign FTDI_SDO = (!FMC_OR_FTDI_SELECTOR) ? SDO_ROUTE : 1'bz;
assign FMC_SDO = (FMC_OR_FTDI_SELECTOR) ? SDO_ROUTE : 1'bz;

It seems LMK_SDO is only routed as SDO_ROUTE when the FTDI signals are set to select the LMK but it defaults to DAC_SDO for other cases which would include the case where we are using FMC_SEN_* instead.

Can someone confirm this? What would be the easiest way to update the CPLD's firmware?

Thanks beforehand,

Juan

  • Hi Juan,

    Unfortunately, the 3rd party which wrote this software for the CPLD is no longer around and we cannot provide any updates for it. I ask if there is any reason you need readback from the LMK04828. There is no requirement to readback from this device to configure the part. My suggestion is to verify the configuration for the LMK04828 using the USB cable and FTDI path, and then once verifying that register settings are correct, switch over to using the FMC path and operating the LMK without readback.

    Regards, Chase

  • Hello Chase. There is no need to read back other than a safety check everything configured correctly. So I am assuming this means my comment is correct and there is no way to have a fully operational 4-wire mode on this board without changing the CPLD's firmware? The fix is trivial and I can do it. Just wanted to make sure.

  • Hi Juan,

    Yes you are correct. Modifying the CPLD is the only way.

    Regards, Chase