- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The EEPROM component in PSoC Creator allows only to write one row (16 bytes) at a time to the EEPROM. There is no provision to write less than 16 bytes to specific EEPROM locations. For partial writes, we can read the complete EEPROM row into a RAM array, modify the desired locations and write the array back to the RAM.
Attached is an example project that shows how to perform a partial write to the EEPROM.
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is an update to the project. I have created a function EEPROM_PartialWrite. Call this function to write partial data to any EEPROM address. The only limitation is that the function will not be able to write across row boundaries. ie, the address of the EEPROM to be written and the byte count should be within a 16 byte row and should not span two rows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For some reason, attachments are not working. Email me at psochacker@cypress.com if you need the project file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content