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.

RTOS/MSP432E401Y: SAMPLE PROGRAM FOR EXTERNAL EEPROM PROGRAMMING

Part Number: MSP432E401Y


Tool/software: TI-RTOS

Hi,

Can any one let me know the sample program to start with, for external eeprom programming.

Thank you

Regards

Kalyan.

  • Hello Kalyan,

    The example eeprom_erase_pgm_read in the SimpleLink MSP432E4 SDK (./examples/nortos/MSP_EXP432E401Y/driverlib/eeprom_erase_pgm_read/) is a good starting point.

    Thanks,

    Sai

  • Hello sai,
    Thank you for the response.
    In RTOS, i want to write my application. If you can suggest me in rtos, it will be helpful to me.

    Thank you
    Kalyan.
  • Hello Kalyan,

    We don't have any example specific to the RTOS.

    The example I mentioned in my above post is the best starting point for an RTOS solution as well.

    Thanks,
    Sai
  • Hello Sai,
    Thanks for the reply.

    "The example I mentioned in my above post is the best starting point for an RTOS solution as well" -
    that means we can use same drivers for can be used for rtos as well as freertos.
    Am i right sir?

    Thank you

    Regards
    Kalyan.
  • Hello Kalyan,

    The example that I pointed to uses DriverLib APIs (./source/ti/devices/msp432e4/driverlib/).

    The DriverLib APIs are not RTOS safe (that is they are not re-entrant functions). So in your RTOS application you will need to provide safe guards when using DriverLib APIs. These safe guards include ensuring that the same API or driver or hardware are not used by multiple tasks simultaneously.

    The TI Driver APIs (./source/ti/drivers/) on the other hand are RTOS safe drivers and hence you application can directly call the TI Driver APIs and not have to worry about providing safe guards.

    In the SimpleLink MSP432E4 SDK we don't have a TI Driver for EEPROM. If you want to program the EEPROM, the only support we have is DriverLib.

    Use that example as a reference on how to access the EEPROM. You will have to still write you own RTOS application (TI-RTOS, FreeRTOS or some other RTOS).

    Thanks,
    Sai

**Attention** This is a public forum