SN32F280 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 250
Version 1.1
21.11 FMC REGISTERS
Base Address: 0x4006 2000
21.11.1 Flash Low Power Control register (FLASH_LPCTRL)
Address offset: 0x00
Bit
Name
Description
Attribute
Reset
31:16
FMCKEY
FMC verify key.
Read as 0. When writing to the register you must write 0x5AFA to
FMCKEY, otherwise behavior of writing to the register is ignored.
W
0
15:6
Reserved
R
0
5:0
LPMODE[5:0]
Flash Low Power mode enable bit
000000b: HCLK
≦
24MHz
010001b: 24MHz<HCLK
≦
48MHz
110001b: HCLK>48MHz
Other: Reserved (May cause unexpected error to force MCU enter Hard
fault handler)
R/W
0
21.11.2 Flash Status register (FLASH_STATUS)
Address offset: 0x04
Bit
Name
Description
Attribute
Reset
31:3
Reserved
R
0
2
ERR
Error flag
0: Read
No error.
Write
Clear this flag.
1: Set by HW when
Start to Erase/Program and find that the address is over page
boundary.
Start to Erase/Program and find that the address is illegal.
The address to be programmed contains a value different from
0xFFFFFFFF before programming.
R/W
0
1
Reserved
R
0
0
BUSY
Busy flag
0: Flash operation is not busy.
1: Flash operation is in progress. This is set on the beginning of a Flash
operation and reset when the operation finishes or when an error occurs
by HW.
R
0
21.11.3 Flash Control register (FLASH_CTRL)
Address offset: 0x08
Note: HCLK
MUST be equal to 12MHz during Flash program and erase operations.
Bit
Name
Description
Attribute
Reset
31:8
Reserved
R
0
7
CHK
Checksum calculation chosen
This bit is set only by SW and reset when the BUSY bit resets.
1: Triggers Checksum calculation.
0: Checksum calculation is done.
R/W
0
Содержание SN32F280 Series
Страница 222: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 222 Version 1 1 A1D16...
Страница 263: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 263 Version 1 1 26 2 LQFP 64 PIN...
Страница 264: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 264 Version 1 1 26 3 LQFP 48 PIN...