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.

MCF8315A: EEPROM Using

Part Number: MCF8315A

Hi expert,

Found this saying EEPROM could be written/read through I2C but could not erased by I2C. Then how to erase EEPROM?

Customer prefers hardware control (PWM), so they wonders if MCF8315A could be written/configured offline? Is MCF8315A must be online programming first through I2C with MCU/PC to write the configurations into EEPROM then abandon the I2C interface and use PWM or other hardware control mode? Thanks!

Joyce

  • Hello Joyce,

    While the EERPOM cannot be erased, the EEPROM can be re-written. To erase the EEPROM you could write all zeros to the registers and then send the EEPROM write command to store the all zero register information to EEPROM.

    To set the MCF8315A to use PWM control without having to send I2C commands every time the MCF8315A power cycles you will need to program the desired register settings into EERPOM. Programming the EEPROM with the desired register settings will require I2C communication with the MCF8315A at least once. After the EEPROM is programmed the MCF8315A will not require I2C communication to start in PWM control mode.

    Regards,

    Joshua