Skip to content

AT25128, AT25256 SPI-EEPROM driver for TI TMS320F28xxx CPU.

Notifications You must be signed in to change notification settings

aromprg/TMS320F28x-eeprom-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

AT25128, AT25256 SPI-EEPROM driver for TI TMS320F28xxx CPU.

Designed as avr-gcc styled eeprom API functions.

How to use:

In main init function write this:

void init() {
    ...
    eeprom_set_err_callback(&eeprom_err);
    eeprom_init();
    ...
  }

eeprom_err() implemented as

// call if eeprom invalid
void eeprom_err(void) {
    puts("eeprom_err");
    // TODO
}

Remark: TI C28 core has only integer types with a minimum width of 16 bits. For multi-platform compatibility this driver use uint8_t type. Add to your project: typedef unsigned int uint8_t;

About

AT25128, AT25256 SPI-EEPROM driver for TI TMS320F28xxx CPU.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages