EEPROM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

EEPROM

1,950 Views
DHARSAN
Contributor III

Hi,

How the images via Hex code to be stored in the  EEPROM? And How fast the Display will work after storing the image in EEPROM rather than controller?

0 Kudos
Reply
2 Replies

1,929 Views
Anthony101990Jones
Contributor I

Storing images in EEPROM using Hex code involves writing the image data byte by byte into the EEPROM memory.

Here’s a high-level overview of how you can store images in EEPROM:

Convert the Image to Hexadecimal Format: First, you need to convert your image into a hexadecimal format that represents the binary data of the image.

Write the Hex Data to EEPROM: Using a microcontroller or a dedicated EEPROM programmer, you can write the hex data to the EEPROM. For example, in a microcontroller, you might use a function like eeprom_write(address, data) where address is the location in the EEPROM and data is the hex value to be stored. DogNearMe

Accessing the Stored Image: To display the image, you would read the hex data from the EEPROM and send it to the display.

As for the display performance, when you store an image in EEPROM rather than in a controller’s memory, the speed at which the display works depends on several factors:

Read Speed of EEPROM: EEPROM typically has slower read speeds compared to a controller’s built-in memory. This means that retrieving image data from EEPROM can be slower, which might affect the refresh rate of the display.

Controller’s Processing Power: The microcontroller’s ability to process and render the image onto the display also plays a role. If the controller has to fetch data from EEPROM, it might take longer to process compared to fetching from its own memory.

Communication Protocol: The speed of the communication protocol used to interface with the EEPROM (such as I2C or SPI) will also affect the overall performance. Some protocols offer faster data transfer rates than others.

In summary, while storing images in EEPROM can be useful for persistence across power cycles, it may lead to slower display performance due to the additional overhead of reading from external memory. If speed is a critical factor, using the controller’s memory might be a better option.

0 Kudos
Reply

1,937 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hello @DHARSAN 

What's your chip part number?

Best Regards

Jun Zhang

0 Kudos
Reply