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.

CC2650 Internal Memory Test



Hi, i need to test the maximal memory.

I try with that : 

  static uint16 TestData1[238];//+indice 0
  static uint16 TestData2[238];
  static uint16 TestData3[24];  
  
  static uint16 ValeursLues[3];  
  
  static uint8 IndiceTest;
  
  while(TestData1[238-1] == 0 & TestData2[238-1] == 0)
  {
    TestData1[IndiceTest] = IndiceTest;
    TestData2[IndiceTest] = IndiceTest;
    
    if(IndiceTest <=24-1)
      TestData3[IndiceTest] = IndiceTest;  
    
    IndiceTest= IndiceTest + 1;
  }
  

  snv_status = osal_snv_write(0x80,sizeof(TestData1), &TestData1);

  snv_status = osal_snv_write(0x81,sizeof(TestData2), &TestData2);

  snv_status = osal_snv_write(0x82,sizeof(TestData3), &TestData3);

  IndiceTest = 0;
  
  while(IndiceTest!= 3)
  {
    osal_snv_read(0x80 | IndiceTest,sizeof(read), &read);
    ValeursLues[IndiceTest] = read;
    
    IndiceTest++;
  }  
  
  SensorTag_blinkLed(Board_LED1,2);
  SensorTag_blinkLed(Board_LED2,3);

But i don't read the array.

So how i can save the array in the memory and read it after? And how i can see the maximal memory that we can used (For my test, i need to see it).

Thnaks,