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.

About CC2530 flash memory.

Other Parts Discussed in Thread: CC2530

Hello , My name is Ren Siang. I'm learning CC2530. I want to put 4 Bytes variables into the Flash memory.

Will can not use the DMA controller? If can not. How do I put the variables into the Flash memory?

This is My code :

FADDRH = 0x00; //set addr
FADDRL = 0x00; //set addr
FCTL = 0x80;
FCTL |= 0x06;
FWDATA = MyData;

This code does not function