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.

LMK03806BEVAL: How do I readback the lock detection (LD) pin?

Part Number: LMK03806BEVAL
Other Parts Discussed in Thread: CODELOADER

Hi there,

I've recently brought-up an LMK03806B EVB and have managed to automate the process using LabView - to open TICS Pro, Load a config (.tcs) file etc.,

I know that LED D3 on the EVB indicates PLL lock-detection, but I want to read the lock-detection remotely without having to look at the EVB physically.

Which register (and their bit fields) do I need to readback to know the lock-detection precisely? and what settings do I need to have on LD_MUX and LD_TYPE while reading the register?

Many thanks

Hima

  • Hi Hima, 
    The snippet below can be found on page 34 of datasheet. 

    Looks like LD_MUX must be set to 0x02 & LD_TYPE must be set to output (0x03)
    This is all in register 12. 

    Regards, 

    Vicente 

  • Hi Vicente,

    Thanks for the reply.

    My understanding of the datasheet is that - in order the Ftest/LD pin (pin-33) to output a value that corresponds to lock-detect (which is PLL DLD), LD_MUX needs to be set to '2' and LD_TYPE to '3' (output push-pull) in R12. So reading back R12 register won't let us know the value of pin-33. Isn't it?

    These settings would only ensure that pin-33 outputs the status of PLL lock detection.

    My question is how can I read the status of (in other words what value is set on) pin-33 at a given point, remotely, without having to look at the D3 LED on the eval board?

    (I did set the register R12 correctly in my TICS-Pro SW and I am able to see LED D3 glowing on the EVB, indictaing the lock-detection. However, I am looking to read the value of pin-33 or LED D3 remotely)

    If my understanding is incorrect, please do correct me.

    Many thanks for your continued support, Vicente.

    -Hima

  • Hi Hima, 
    I think it might be possible. I would need to double check with my EVM. I'll get back to you as soon as I have an update. 

    Regards, 

    Vicente 

  • Hi Vicente,

    Did you get a chance to verify it on your EVB, please?

    Thank you

    Hima

  • Hi Hima, 
    The validation team required use of my EVM and unfortunately, I have not gotten it back... 
    I have not been able to verify on my EVM yet. 

    Regards, 

    Vicente 

  • Hi Hima, 
    I received my board back at the end of the day yesterday.
    My idea was to simply readback the registers in TICSpro but I had forgotten LMK03806B is a much older part incapable of doing that in TICSpro. It was created for a much older software called "CodeLoader" that we no longer use. The device got imported to TICSpro but you can only write to the device. 
    I wanted to make the device lock and see which registers changed when the EVM locked but I cannot read back with this device unfortunately. 

    Sorry Hima :(

    Regards, 

    Vicente

  • Hi Vicente,

    Really appreciate your efforts on verifying this.

    Besides the fact that there is no ability to read back registers of this part in TICSpro, I don't think there any register fields that indicate the PLL lock. (There is something called "PLL DLD" in LD_MUX, but I don't think that is accessible to the user?)

    If you know any register field, please let me know, I will try to read through LabView (from the previous threads, I found a library file where "Read Register" is one of them. I hope I can do the readback in labview using that lib file)

    Thank you for your support, Vicente.

    Regards

    Hima

  • Please ignore the highlighted "Select Device" in the above snapshot.

  • Hi Hima, 
    Let me look further into this. 
    I'll try reaching out to design and see if they know of a specific register to determine if the PLL is locked. 

    Regards, 

    Vicente

  • Hi Vicente,

    It will be really helpful if you could provide some kind of confirmation from the design team whether there is any register that indicates the PLL lock, before the Christmas holidays, please, if possible.

    Many thanks for your support

    Regards

    Hima

  • Hello Hima,

    I looked over the documentation about our registers and it does not seem that we store that value anywhere, unfortunately (since it is an older part and we did not have that feature implemented before, as Vicente mentioned).

    However, I will let Vicente answer if he has heard something different from the designer. He is currently out of office and should get back to you by the end of this week.

    Best,

    Andrea