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.

CC2541

Other Parts Discussed in Thread: CC2541, CC2540

Hello,

Can I store and access the memory in CC2541.  I want to store few sets of  data. such as numbers in CC2541 and be able to access it later in time. Is this possible?

Thank you 

  • Hi,

    If you are asking whether you'll be able to access it even after cc2541 is turned off...

    You can store data in Non Volatile memory of CC2541. You can use osal_snv_write and read functions Which are located at "C:\Texas Instruments\BLE_CC254x_140\Components\osal\mcu\cc2540\osal_snv.c".

    You can store data upto 64 KB. For storing data you need to use IDs which indicates flash page area. 

    For example, 

    Format:  uint8 osal_snv_write( osalSnvId_t id, osalSnvLen_t len, void *pBuf )

    id can be from 80-FF. 

    len is length of data and pbuf is buffer of data. 

    -------------------------------------------------------------

    Press "Verify" if your question is answered.