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.

TMS320F280040C-Q1: TMS320F28004x, how to use onboard Flash memory as eeprom?

Part Number: TMS320F280040C-Q1
Other Parts Discussed in Thread: TMS320F28044, HALCOGEN

Hi,

I found a way to use onboard flash memory as eeprom in the document below.

(EEPROM Emulation for Gen 2 C2000 Real-Time MCUs SPRAB69A – SEPTEMBER 2009 – REVISED OCTOBER 2020)

Generation 2 refers to the following C2000 devices: TMS320F281x, TMS320F280x, TMS320F2823x, TMS320F2833x, TMS320F2802x, TMS320F2803x, TMS320F2805x, TMS320F2806x, and TMS320F28044.

 

Question1. Don't you support TMS320F28004x ?

 

Question2 . TMS320F28004x , how to use  onboard Flash memory as eeprom? Do you have any documents to refer to?

I only found this document. (Interfacing EEPROM Using C2000 I2C Module)

Please Help me to solve this issue.

thanks,

  • Hi Woojin,

    We don't have an EEPROM driver example for this device. 

    There is an EEPROM example in the Hercules SW that can be used as the reference.  Please see below links.

    User guide link for the Flash EEPROM driver http://processors.wiki.ti.com/images/8/88/TI_FEE_User_Guide.pdf

    The example is included in HALCoGen tool (http://www.ti.com/tool/HALCOGEN) for the device “TMS570LS31x_21x” (\ti\Hercules\HALCoGen\v04.07.01\examples\TMS570LS31x_21x\example_TI_Fee_Write_Read)

    Note: Instead of using F021 Flash API 2.0 (Hercules API), you have to instead use F28004x flash API – but the concept is similar.  Hercules devices also have ECC similar to that of F28004x.  Their core is ARM (byte-addressable) and C28x memory is 16-bit addressable.

    Thanks and regards,

    Vamsi