EasyManua.ls Logo

SONIX SN32F264 - Fmc Registers; Flash Low Power Control Register (FLASH_LPCTRL); Flash Status Register (FLASH_STATUS); Flash Control Register (FLASH_CTRL)

Default Icon
141 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SN32F260 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD Page 122 Version 1.5
11.11 FMC REGISTERS
Base Address: 0x4006 2000
11.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:4
Reserved
R
0
3:0
LPMODE[3:0]
Flash Low Power mode selection bit.
0000b: HCLK< 24MHz.
0101b: HCLK24MHz.
Other: Reserved, and may cause unexpected error to force MCU enter
Hardfault handler.
R/W
0000b
11.11.2 Flash Status register (FLASH_STATUS)
Address offset: 0x04
Reset value: 0x0000 0000
Bit
Name
Description
Attribute
Reset
31:3
Reserved
R
0
2
ERR
Programming error flag.
0: ReadNo error.
WriteClear 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. (>ROM
size)
- Fill in Data and the address is already over Page Boundary.
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
11.11.3 Flash Control register (FLASH_CTRL)
Address offset: 0x08
Bit
Name
Description
Attribute
Reset
31:7
Reserved
R
0
7
CHK
Checksum calculation chosen.
This bit is set only by SW and reset when the BUSY bit resets.
R/W
0
6
START
Start Erase/Programming operation.
1: Triggers an Erase/Programming operation. This bit is set only by SW
and resets when the BUSY bit resets.
0: Stop/Finish operation.
R/W
0
5:2
Reserved
R
0

Table of Contents

Related product manuals