Part Number: LMK05318
How does LMK05318 read and write the internal EEPROM register from I2C?The problem currently encountered is that the value can be read, but it cannot be written.
Verify EEPROM image revision (address byte #11, 0xb) read/write test steps are as follows1. First read 0xb=0 with USB2ANY tool2. The system reads I2C 0x66 0xb=03. Write 1 to 0xb with USB2ANY tool4. USB2ANY reads 0xb=15. System reads I2C 0x66 0xb=1 ==>read ok6. System write I2C 0x66 0xb=07. The system reads I2C 0x66 0xb=1 ==>write fail
Is there any special format for write? I want to confirm whether it is a cmd problem or a protocol problem.
This ticket has been assigned. We will get back to you soon.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
Section 9.5.6, EEPROM Programming Flow of datasheet on page 60 highlights the two methods to write to the EEPROM.
Method #1 is through register commit.Method #2 is through direct write.
Register 11 corresponds with EEPROM address 11. When writing the EEREV in address 11 of EEPROM, however you can not update R11 by writing to the register. You must write to the SRAM, then commit to EEPROM, then on next restart, R11 will have updated value.
When using method #1, after doing REGCOMMIT but before doing NVMUNLK/NVM_ERASE_PROG, you can use MEMADR (R159:R160) to set address 11, then write your updated value to RAMDAT (R162).
When using method #2, when writing address 11 using MEMADR/RAMDAT before EEPROM programming, be sure to program your desired value.
Please note all the other fields in Table 9 which you show must be programmed in this fashion.
To design your own Clock Tree solution, visit WEBENCH Clock ArchitectMore information Clock and Timing System products: http://www.ti.com/clock-and-timing/overview.html
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.