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.

CC2520 - MEMADDR_ERROR flag

Hi,

when I write a value to address 0x3ED the MEMADDR_ERROR flag is set in die exception register.

I found no info that the address is restricted and I want tell the transceiver his EUI.

More details:

ui16Address = 0x3ED; ui8Data = 0x00;

My code between switching the /CS line:

ui16Address &= 0x0F00;
ui16Address |= 0x2000;
SPIPut((uint8)(ui16Address>>8));
SPIPut((uint8)(ui16Address   ));
SPIPut(ui8Data);

Polling the exception flag after that write access returns the MEMADDR_ERROR be set to 1.

BR

xjag