| Electronic Components Datasheet Search |
|
LMK05028RGCT.B Datasheet(PDF) 68 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
LMK05028RGCT.B Datasheet(HTML) 68 Page - Texas Instruments |
|
68 / 94 page ![]() 7.5.6.1.2 Program EEPROM The EEPROM array is non-volatile memory mapped directly from the SRAM array. After the register settings have been written to SRAM (by either Method #1 or #2), the EEPROM can be programmed through the following sequence: 1. Write EAh to R174 (NVMUNLK). This unlocks the EEPROM to allow programming. 2. Write 03h to R167 (NVM_ERASE_PROG bits). This programs the EEPROM from the entire SRAM contents. The total erase or program cycle takes approximately 230 ms. • NOTE: Steps 1 and 2 must be atomic writes without any other register transactions in-between. 3. (optional) Read or poll R167[2] (NVMBUSY bit). When this bit cleared, the EEPROM programming is done. 4. (optional) Write 00h to R174. This locks the EEPROM to protect against inadvertent programming. On the next power-up or hard reset, the device can self-start in EEPROM mode from the newly programmed configuration. Also, the NVMCNT register value is incremented by 1 after power-up or hard reset to reflect total number of EEPROM programming cycles completed. 7.5.6.2 EEPROM Programming Using Direct SRAM Writes (Method #2) This sequence can be followed to program EEPROM by writing SRAM directly to avoid disruption to the current device configuration. This requires the register data in the SRAM/EEPROM map format. 1. Write SRAM Using Direct Writes. 2. Program EEPROM. 7.5.6.2.1 Write SRAM Using Direct Writes This SRAM write method can be used if storing a different device configuration to EEPROM without disrupting the current operational state of the device is required. This method requires the SRAM/EEPROM map data to be already generated, which can be done by the TICS Pro software. The SRAM can be directly written without modifying the active configuration registers through the following sequence: 1. Write the most significant 5 bits of the SRAM address to R169 (MEMADR byte 1) and write the least significant 8 bits of the SRAM address to R170 (MEMADR byte 0). 2. Write the SRAM data byte to R172 (RAMDAT byte) for the SRAM address specified in the previous step in the same register transaction. • Any additional write transfers in same transaction causes the SRAM address pointer to be auto- incremented and a subsequent write takes place at the next SRAM address. • Byte or Block write transfers to R172 can be used to write the entire SRAM map sequentially from Byte 0 to 508 (509 bytes total). • Alternatively, write R169 and R170 before each write to R172 to set the memory address explicitly (that is, bypass the memory pointer auto-increment) is valid. • Access to the SRAM terminates at the end of current write transaction. Note that reading the RAMDAT register also auto-increments the memory address pointer. 7.5.7 Read SRAM The contents of the SRAM can be read back, one word at a time, starting with that of the requested address through the following sequence. This sequence can be used to verify the contents written to SRAM before an EEPROM program cycle. 1. Write the most significant 5 bits of the SRAM address to R169 (MEMADR byte 1) and write the least significant 8 bits of the SRAM address to R170 (MEMADR byte 0). 2. The SRAM data located at the address specified in the step above can be obtained by reading R172 (RAMDAT byte) in the same register transaction. • Any additional read transfers that is part of the same transaction causes the SRAM address to be auto-incremented and a subsequent read takes place at the next SRAM address. • Byte or Block read transfers from R172 can be used to read the entire SRAM map sequentially from Byte 0 to 508 (509 bytes total). • Access to SRAM terminates at the end of current register transaction. LMK05028 SNAS724B – FEBRUARY 2018 – REVISED FEBRUARY 2025 www.ti.com 68 Submit Document Feedback Copyright © 2025 Texas Instruments Incorporated Product Folder Links: LMK05028 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |