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.

Want to write flash memory of CC2650 in each 5 second interval

hi i want to write data read from internal temparature sensnor and RTC to flash memory periodically. for that what i did is :  i added osal_read() and write functions within EDPDevice_performPeriodicTask();. is that the right way to do this???? or any other way?

if (events & EDP_PERIODIC_EVT)
    {
      events &= ~EDP_PERIODIC_EVT;

      Util_startClock(&periodicClock);

      // Perform periodic application task
      EDPDevice_performPeriodicTask();

    }