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.

xdata storage not working for cc1110



hi

Please help me with the problem of storing and retrieving in the xdata space .I am using Keil IDE and targeting cc1110 chip I Am doing adc storage in xdata  space and I am never able to retrieve the stored data some other value is obtained.Any body saw anything like that i include the code to reproduce the issue..I use this for adc to pwm conversion.

declaration : INT8U  xdata RxBuff[100];

Usage 


RxBuff[0]=10;
if(RxBuff[0]==10)
{

//never works

}
else{
//always works
}

what is actually going on..