30.2.23.12 PFM Write Protect Region x Register

Table 30-15. Register Bit Attribute Legend
Symbol Description Symbol Description Symbol Description
R Readable bit HC Cleared by Hardware (Grey cell) Unimplemented
W Writable bit HS Set by Hardware X Bit is unknown at Reset
K Write to clear S Software settable bit
Name: PWPx
Offset: 0x4C + x*0x04 [x=0..7]
Reset: 0x00000000
Property: PAC Write Protection, KEY.KEY[7:0] = CFGKEY to unlock when unprotected

Bit 3130292827262524 
     PWPBASE[11:8] 
Access R/WR/WR/WR/W 
Reset 0000 
Bit 2322212019181716 
 PWPBASE[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 PWPENPWPLOCK  PWPSIZE[11:8] 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 
Bit 76543210 
 PWPSIZE[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 27:16 – PWPBASE[11:0] PFM Write Protect Region x Base Address - 4KB Page Aligned

The Region Base Address is the concatenation of PWPBASE[23:12] and 0x000.

When PWPEN=1, the region from PWPBASE to PWPBASE+PWPSIZE+1 is write/erase protected.

Note: This is a byte address force to align to page boundaries.
Note: This field can only be modified when PWPLOCK=0, STATUS.BUSY=0 and KEY.KEY=<CFGKEY Value>.

Bit 16 – PWPMIR Mirror PWP Bit

Mirrors Lower PFM settings to Upper or Upper PFM settings to Lower. This feature can be used to maintain Write Protect (WP) consistency between Upper and Lower PFM when using PFSWAP.

Note: When Mirrored, the PWPBASE address bit that distinguishes between panels is treated as a “Don’t Care”, meaning it can be 0 or 1.
Note: This field can only be modified when PWPLOCK=0, STATUS.BUSY=0 and KEY.KEY=<CFGKEY Value>.
ValueDescription
1 PWP settings are Mirrored
0 PWP settings are NOT Mirrored

Bit 15 – PWPEN PFM Write Protect Region x Enable Bit

Note: This field can only be modified when PWPLOCK=0, STATUS.BUSY=0 and KEY.KEY=<CFGKEY Value>.
ValueDescription
1 Region is Enabled
0 Region is Not Enabled

Bit 14 – PWPLOCK PWP Region x Lock Bit

Note: PWPLOCK can be set the same time as PWPBASE and PWPSIZE are written. Once set, PWPLOCK can only be cleared by a reset (Writing zero has no effect.).
Note: This field can only be modified when PWPLOCK=0, STATUS.BUSY=0 and KEY.KEY=<CFGKEY Value>.
ValueDescription
1 PWPx register is Locked and cannot be modified
0 PWPx register is Not Locked and can be modified

Bits 11:0 – PWPSIZE[11:0] PWP Region x Size in 4KB

Pages Region Size is (PWPSIZE+1) *4KB.

0x000= 4KB

0x001= 8KB

...

0x3FF= 16MB

Note: This field can only be modified when PWPLOCK=0, STATUS.BUSY=0 and KEY.KEY=<CFGKEY Value>.