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.

CCS/LAUNCHXL-F28069M: F28069 CAN bus

Part Number: LAUNCHXL-F28069M

Tool/software: Code Composer Studio

Hello
I work with the F28069 launchpad. I use the CAN periphery to control the engine from the computer. At this stage, I write the whole program in flash memory. Does it make sense to write specific variables in EEPROM? And if so, how to do it ?


Regards,
Andrey

  • Dear Anufriiev Andrii,

    In regards to your following question:  "Does it make sense to write specific variables in EEPROM? And if so, how to do it ?"

    The answer It really depends on the application requirements.  For your application you need to determine:

        - Is a power loss expected and is a recovery/resume from previous state required?

        - Could a power loss happen by accident and is a recovery required?

        - Is a fail safe mechanism required?

    If the answer to any of the above questions or similar questions a yes, then you can design your system to comprehend these and save variables in EEPROM.

    The EEPROM emulation driver application note below conceptually describes the mechanism of how to save variables in EEPROM.

    NOTE:  There is no EEPROM in 28x devices but there is a well defined method on how you can use the on-chip FLASH and related utilities to emulate EEPROM.

    Application note: http://www.ti.com/lit/an/sprab69/sprab69.pdf

    Please let me know if this helps you and if you have additional questions.


    Cheers!

    Krishna

     

     

     

     

     

     

  • Dear Anufriiev Andrii,
    I will assume that you were able to close on this issue. Please re-open if you still have questions. Cheers! Krishna