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.

CC2530: 使用DMA写FLASH的问题

Part Number: CC2530

你好,

我需要向cc2530的flash的特定地址写一个8位的数据,但是在调用HalFlashWrite(uint16 addr, uint8 *buf, uint16 cnt)函数时,我发现addr是16位的,看过手册之后我发现addr被拆开赋给了FADDRH和FADDRL,这两个寄存器加起来也是16位,但是FLASH的大小是256KB,地址范围应该是0x00000~0X3FFFF,这至少需要18位的数据才能表示啊,请问要怎么实现对FLASH特定地址的写操作呢