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.

LMK05318: register configuration and NVM programming

Part Number: LMK05318

Hi team,

We have an urgent support needs below. We just follow the datasheet description to do the register configuration and NVM. But we found the R162 read data isn't correct, want to check the reason. Thanks.

write:

1. do the register configuration

2. reset the LMK05318. Write R12 bit7=1,

3.release the LMK05318  write R12  bit7  = 0

4. Write SRAM Using Register Commit.    R157 = 0x40
5.Write Sram using direct Writes to modify eerev  
         1)   R159  = 0
         2)   R160  = 0xB
         3)   R162  = 0x64  (version)
6. Program EEPROM
         1)   write  R164  = 0xEA
         2)   write R157  = 0x03
         3)   read R157
         3)   write R164  = 0x0

read:

1)  write  R159 =0

2)  write R160 = 0xB

3)  read R162  not correct

could you please help check the process? Feel free to share your comments. Thanks.

  • Hello Frank, 

    Please note LMK05318 uses a 2 byte I2C addressing scheme per figure 58 on the datasheet. 

    So for example to write R159, you would have to write 0x00 into register 0x009F not register 0x9F and similarly to read R162, you would have to read register 0x00A2 and not 0xA2. Not sure if that was being followed or not... this has caused issues with other customers. 

    Secondly, I would recommend reading the EEPROM directly after programmed and not the SRAM. For example after a power cycle the state of the SRAM is random, it does not follow current register configuration nor EEPROM. SRAM content can only be counted upon after it is programmed and no other actions taken. 

    Thanks and regards,

    Amin