7.5.4 MSC_WRITECMD - Write Command Register
Offset
Bit Position
0x00C
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reset
0
0
0
0
0
0
0
0
Access
W1
W1
W1
W1
W1
W1
W1
W1
Name
Bit
Name
Reset
Access Description
31:13
Reserved
To ensure compatibility with future devices, always write bits to 0. More information in
12
CLEARWDATA
0
W1
Clear WDATA State
Will set WDATAREADY and DMA request. Should only be used when no write is active.
11:9
Reserved
To ensure compatibility with future devices, always write bits to 0. More information in
8
ERASEMAIN0
0
W1
Mass Erase Region 0
Initiate mass erase of region 0. Before use MSC_MASSLOCK must be unlocked. To completely prevent access from soft-
ware, clear bit 0 in the mass erase lock-word (MLW)
7:6
Reserved
To ensure compatibility with future devices, always write bits to 0. More information in
5
ERASEABORT
0
W1
Abort Erase Sequence
Writing to this bit will abort an ongoing erase sequence.
4
WRITETRIG
0
W1
Word Write Sequence Trigger
Start write of the first word written to MSC_WDATA, then add 4 to ADDR and write the next word if available within a 30us
timeout. When ADDR is incremented past the page boundary, ADDR is set to the base of the page. If WDOUBLE is set,
two words are required every time, and ADDR is incremented by 8.
3
WRITEONCE
0
W1
Word Write-Once Trigger
Write the word in MSC_WDATA to ADDR. Flash access is returned to the AHB interface as soon as the write operation
completes. The WREN bit in the MSC_WRITECTRL register must be set in order to use this command. Only a single word
is written, but the internal address is also incremented to allow a direct write of a new word without loading a new address
2
WRITEEND
0
W1
End Write Mode
Write 1 to end write mode when using the WRITETRIG command.
1
ERASEPAGE
0
W1
Erase Page
Erase any user defined page selected by the MSC_ADDRB register. The WREN bit in the MSC_WRITECTRL register must
be set in order to use this command.
0
LADDRIM
0
W1
Load MSC_ADDRB Into ADDR
Load the internal write address register ADDR from the MSC_ADDRB register. The internal address register ADDR is incre-
mented automatically by 4 after each word is written. When ADDR is incremented past the page boundary, ADDR is set to
the base of the page.
Reference Manual
MSC - Memory System Controller
silabs.com
| Building a more connected world.
Rev. 1.1 | 138