Rev. 1.10
44
October 23, 2020
Rev. 1.10
45
October 23, 2020
BC66F5652
2.4GHz RF Transceiver A/D Flash MCU
BC66F5652
2.4GHz RF Transceiver A/D Flash MCU
FWT=1
Write data to Write Buffer
FD0L=xxH, FD0H=xxH
FWT=0 ?
Yes
No
Write
FMOD[2:0]=000
Clear CFWEN bit
END
Write Another
Data Word ?
Yes
No
FWT=0 ?
No
Verify data with
Table Read instruction
DATA correct ?
No
Yes
Blank Check with
Table Read instruction
Blank Check
Page Data=0000h ?
No
Set CLWB bit
Specify Flash Memory Address
FARH=xxH, FARL=xxH
Write another word
Yes
Yes
Write Flash
Memory
Flash Memory Erase/Write
Function Enable Procedure
FWT=1
Page Erase
FMOD[2:0]=001
Set CLWB Bit
Set Erase Page Address
FARH =xxH, FARL=xxH
Write dummy data into FD0H
(Tag Address)
Tag address
Finish ?
Yes
No
Flash Memory Non-Consecutive Write Procedure
Note: 1. When the erase or write operation is successfully activated, all CPU operations will temporarily cease.
2. It will take certain time for the FWT bit state changing from high to low in the erase or write operation,
which can be selected by the FWERTS bit in the FC2 register.