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.

Is the use of I2C to write and read data into internal EEPROM of tm4c123gh6pm inevitable?

Other Parts Discussed in Thread: TM4C123GH6PM

Can I access the EEPROM words of tiva tm4c123gh6pm without using I2C interface? Are all blocks unlocked by default on launchapd?

  • Have you read the microcontroller manual or the Tivaware manual?

    What would make you think you used IIC to access the EEPROM?

    Robert
  • Agreed - poster appears bit stuck, "Back to the past."    I2C & SPI (were) the (sole) modes to transact w/ (external) 8 pin memory devices...   Once that memory (or pseudo memory) is ensconced w/in the MCU - use of the (always) delightful ACK/NAK challenge is avoided...

    As you well note - 1/2 page read of MCU manual dispels such notion...

    RTFM & KISS - perhaps in that order - prove their worth daily...

  • I've seen posts in this forum where posters are mentioning the use of IIC to access eeprom...like this one
    e2e.ti.com/.../316809
  • Not everything one reads - on the 'net or here - is to be believed.

    EEProm Section w/in the MCU manual may prove a superior source for your investigation...
  • Hello Ishan,

    I2C is not necessary to use internal emulated EEPROM on TM4C which is all accessible through addressable registers on chip. The post you reference is discussing external EEPROM not internal emulated EEPROM. In some cases it is necessary to utilize an external "true" EEPROM chip instead of the provided emulated EEPROM within the device due to limited read/write cycles of the onboard emulated EEPROM within the device. External EEPROMs can have in excess of 1,000,000 write/erase cycles which is well beyond what normal flash can handle.

    Note that emulated EEPROM is not truly EEPROM as it is really flash memory that is used for storage by alternating sectors between full and empty sectors. There are many white papers available on the web regarding emulated EEPROM which might come in handy to understand how emulated EEPROM works. The EEPROM section of the user guide covers the use of this module on the TM4C device (as mentioned in another post). the logic of the module takes care of the intricacies of emulated EEPROM behind the scenes (in silicon logic) so that the user can use it in a similar way to real EEPROM. After you have had an opportunity to review, please let us know if there are any questions.
  • Greetings Mr. Davenport,

    Much liked your post - detailed, very well explained, and provides a wealth of EEProm info/history.

    May I add one slight suggestion? Posters really should first "RTFM" (read the comprehensive MCU manual) as opposed to (bit) aimless searches ('net or here). Such searches are fine - but not at the sacrifice of the "horse's mouth" (MCU manual).

    Some here have (long) argued for, "Poster Guidelines" - clearly, "What, Where, When & How to Search" appear helpful (even necessary) for many. (as this post - so well - illustrates!)
  • You should probably note that post is not referring to the internal EE.

    There are many types of external memory and memory interfaces. I can see where your confusion comes from now but IIC EE invariably, in my experience, means external memory.

    Read the TIVAWare manual on EE writing, it should be much clearer.

    Robert