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.

TMS320F280025C: EERPOM / FLASH READ WRITE EXAMPLES FOR TUNING PARAMETERS STORAGE

Part Number: TMS320F280025C
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi,

Need to  store around 30 parameters  in internal Flash location during  initial installation of controller on vehicle.

I have integrated all motor tuning (Rs LS Cal, Hall_cal, hall/phase wire sequence ) into one single program controlled by a  jumper on board.   These parameters need to be stored into EEPROM to use in next power up.

Plan is to use internal Flash as EEPROM.   Please suggest a few simple  write and read  exmamples.

Thanks & Regards,

Anil

  • Anil,

    The application note on internal EEPROM emulation can be found here: EEPROM Emulation for Generation 3 C2000 Real-Time Controllers (Rev. A).

    There are code examples for the F28003x and F28P65x located here, porting these should be relatively easy:

    • C2000Ware > driverlib > f28003x > examples > flash > f28003x_eeprom_example, f28003x_eeprom_pingpong_example
    • C2000Ware > driverlib > f28p65x > examples > c28x > flash > f28p65x_eeprom_example, f28p65x_eeprom_pingpong_example

    For a basic example on reading/writing flash on the f28002x:

    • C2000Ware > driverlib > f28002x> examples > flash > flashapi_ex1_programming

    Best,

    Alex