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.

LMK03318EVM: Programing with USB2ANY

Part Number: LMK03318EVM
Other Parts Discussed in Thread: LMK03318, USB2ANY, CDCEL925, CLOCKPRO,

Tool/software:

Hi,

I am trying to program the LMK03318 on the EVM with the USB2ANY module. I have been able to update the firmware of the USB2ANY and I can also identify the USB2ANY with TICS Pro.

However, it looks like the I2C bus is not able to communicate properly. 

If I try to write the registers, I get the following error:

The SDA LED is lit Orange.

Can you please help? My end application has the LMK03318 and CDCEL925 that I would need to program over the I2C interface using USB2ANY.

Thanks,

Prasoon

  • Prasoon,

    A few questions to assist in the debug:

    - What is the current draw of the LMK03318?

    - Is this a new EVM or has there been modifications to it?

    - What is the state of the HW_SW_CTRL jumper? This must be Low for proper I2C communication.

    Best,

    Cris

  • Hi Cris,

    The power supply is showing 0.683A @ 5V. .

    The EVM is a new EVM. The only modification is installing jumper wires for I2C on J28.

    pins 2 and 3 are shorted on HW_SW_CTRL jumper.

    Prasoon

  • Prasoon,

    Can you send a photo of the jumper connections on the board? There are some configurations that do not allow for I2C connection. Additionally, can you probe the I2C connections with the added jumper wires? Are the pins being pulled low at all times?

    Thanks,
    Kadeem

  • Hi Kadeem,

    Photos attached.

    The photo upload is causing loss in resolution of the image. I can send the photos to en email address if that helps.

    The probed the jumper wires with a DMM on the board (unpowered). The wires are not shorted to ground or to each other. I referenced the pinmap of the USB2ANY to make sure SDA and SCL are hooked up correctly.

    Prasoon

  • Prasoon,

    The EVM is already equipped with a USB2ANY, is there a reason you're using the external adapter? If you plug the usb cable directly to the EVM, do you get proper I2C connection?

    Best,

    Cris

  • Hi Cris,

    My end application has LMK03318 and CDCEL925 on the same PCB. I need to be able to program both of those PLL modules over I2C using the USB2ANY. So, I am trying to validate the programming procedure on the EVMs. So, you can expect more questions when I attempt to add the CDCEL925 EVM as well.

    Prasoon

  • Prasoon,

    The LMK03318 evaluation module has a USB2ANY module built onto the board. This is accessible through the USB port on the board.

    For the CDCEL925, a different software (ClockPro) is used for interfacing with this board. For usage with the USB2ANY, you need to have custom software written to interface with this board using the USB2ANY.

    Thanks,

    Kadeem

  • Kadeem,

    Thanks. Barring USB2ANY, how do you propose I program LMK03318 and CDCEL925 for my end application?

    Prasoon

  • If I use the onboard USB2ANY, looks like the LMK03318 is being detected as an I2C device:

  • Is this an issue due to the USB2ANY firmware rev? TICS Pro updated the firmware to 2.9

  • Kadeem,

    I raised this as a separate question.

  • Prasoon,

    Is this an issue due to the USB2ANY firmware rev? TICS Pro updated the firmware to 2.9

    It may have been. Have you tried using the external USB2ANY since updating the firmware?

    Barring USB2ANY, how do you propose I program LMK03318 and CDCEL925 for my end application?

    Using the USB2ANY should be feasible, but you can also use a different I2C writer if desired. There are many applications where the customer uses the I2C writer they are most familiar with.

    Best,

    Cris

  • Hi Cris,

    I downloaded the USB2ANY explorer and tried with both Fw revs: 2.8 and 2.9. I enabled the I2C checkbox prior to FW change:

    I am using TICS PRO and not TICS PRO 2

    With 2.8.2:

    I get a siimlar result regardless of the FW rev.

    I think I see that the 3.3V is set to OFF when I try to access USB2ANY with the explorer. I can program the 2.9 rev of the FW with the TICS Pro and the 2.8 FW with the explorer:

    FW rev 2.9 explored with the explorer:

    Programming rev 2.8 with explorer shows the following:

    However, when using with TICS Pro, I can't seem to access I2C. Scan Bus fails in both situations.

    Prasoon

  • Prasoon,

    Do you have both the Explorer and TICSPro open at the same time? It's likely both programs are trying to talk to the device at the same time and causing an issue. 

    You would need to have only one of the programs connected and then disconnect -> reconnect the USB2ANY.

    Best,

    Cris

  • Cris,

    I don't have both connected at the same time. I only have one of them connected at a time. I am willing to give some more FW revs a try. But, I don't know where to download them from.

    Prasoon

  • From the LMK03318EVM schematic, we see that the on-board pull-ups are gated for exclusive use with the on-board USB2ANY:

    Even if TICS Pro toggles the off-board USB2ANY to use 3.3V supply, and I2C pull-ups are enabled in the I2C control API, off-board I2C will not see any pull-ups. The external USB2ANY also does not connect its 3.3V supply (from pin 6 of the USB2ANY header) to anywhere on-board.

    I think the fastest workaround for you would be to wire additional 1.5k pull-ups to pin 6 of the off-board USB2ANY header - then it should be possible to communicate using the off-board USB2ANY.

  • Cris,

    I just re-read the instructions on the CDCEL925 EVM. Looks like the CECEL925EVM can be used, along with the Clk Pro SW to program the CDCEL on a user's PCB:

    Can you please confirm that this is correct? If so, I may not need to use the USB2ANY for programming the CDCEL925.

    In the same fashion, can the EVM for LMK03318 be expolited to program the LMK03318 for my end application? 

    Thanks,

    Prasoon

  • I thought about this for a few more minutes, and if you're using an off-board USB2ANY, you should also have the same circuit reproduced in your dongle. If you enable the 3.3V supply, and enable on-board pull-ups in the USB2ANY (which would be done by TICS Pro), you should have pull-ups that can be used. So this must not be the whole story.

    Have you disconnected R166 and R167 on the board? Without disconnecting these, if the on-board USB2ANY is not at least powered, I2C will just sink current into the on-board USB2ANY microcontroller pins or through the body diodes of Q3/Q5 into the 3.3V network.

  • Hi Derek,

    That is an excellent point. No I have not de-popped these resistors yet. Let me try doing that.

    Thanks,

    Prasoon

  • I see we're having parallel conversations in this thread: https://e2e.ti.com/support/clock-timing-group/clock-and-timing/f/clock-timing-forum/1533032/cdcel925-programming-the-cdcel925-with-usb2any

    Let's consolidate to this thread if possible. I'll leave my answer over there, but in summary, this could work with a 1.8V I2C bus master, but with a 3.3V bus master you'd need a level shifter. There's additional discussion about the USB2ANY specifically in that thread, which may or may not be applicable to what you're trying to do.

  • Ok. I created a new thread, since I was unsure if TI likes to track down customer queries per IC model. We can consolidate here for both of the PLL ICs, if that is preferred. Would you like to me to resolve the other one?

  • Yes please to the resolution on the other thread.

    I generally request to split threads when the topics are dissimilar, or the product lines responsible for the subsequent products are on a separate subforum. I generally request to consolidate threads when the topics are related, and the products in both threads are the responsibility of the same subforum. This is the latter case. I can't speak for every product line or even everyone in clocks and timing, but I think in our case it makes sense.

    To summarize the other thread: Yes, you can connect to the I2C lines with an external bus master as described in the user's guide, provided your bus master can communicate with 1.8V levels. And separately managing USB2ANY + TICS Pro for LMK03318, along with some other I2C interface wired directly to the CDCEL925 EVM to bypass the on-board USB interface, should work.

    I'm not clear on how you plan to interface Clock Pro with some other I2C interface though. Are you planning to prepare the configuration, export the register settings, and then pass that to some other I2C circuit?

  • Hi Derek,

    I resolved the other thread.

    My end application has only these 2 PLL chips that need to be programmed. So, a dedicated I2C for these 2 ICs is what I was thinking. My understanding based on the CDCEL925 EVM guide is that, programming the CDCEL925 for the end application should be straightforward since Ti Clock Pro has all of the register maps that are needed. So, that is all I was planning to do. I will just provision for pads for pull-up resistors on the 2 sets of I2C connections, should I need them. Else, I will count on the respective controllers to supply the necessary pull-ups.

    Regards,

    Prasoon

  • I have one more question on the LMK03318 output banks. Is it possible to pin swap P vs N? In my end application I am having to utilize a 2nd PCB layer for RF traces. If it was possible to swizzle P and N for an output bank, that would eliminate vias in the routing.

  • This is only supported for CMOS output format. I don't see a way to invert LVDS/CML/LVPECL style outputs.