SPI_WPMR

SPI Write Protection Mode Register

See section Register Write Protection for the list of registers that can be write-protected.

  0xE4 32 Read/Write 0x0  

SPI Write Protection Mode Register

Bit  31 30 29 28 27 26 25 24  
  WPKEY[23:16]  
Access  R/W R/W R/W R/W R/W R/W R/W R/W  
Reset  0 0 0 0 0 0 0 0  
Bit  23 22 21 20 19 18 17 16  
  WPKEY[15:8]  
Access  R/W R/W R/W R/W R/W R/W R/W R/W  
Reset  0 0 0 0 0 0 0 0  
Bit  15 14 13 12 11 10 9 8  
  WPKEY[7:0]  
Access  R/W R/W R/W R/W R/W R/W R/W R/W  
Reset  0 0 0 0 0 0 0 0  
Bit  7 6 5 4 3 2 1 0  
            WPCREN WPITEN WPEN  
Access            R/W R/W R/W  
Reset            0 0 0  

Bit 0 – WPEN: Write Protection Enable

Write Protection Enable

ValueDescription
0

Disables the write protection if WPKEY corresponds to 0x535049 (“SPI” in ASCII)

1

Enables the write protection if WPKEY corresponds to 0x535049 (“SPI” in ASCII)

Bit 1 – WPITEN: Write Protection Interrupt Enable

Write Protection Interrupt Enable

ValueDescription
0

Disables the write protection on Interrupt registers if WPKEY corresponds to 0x535049.

1

Enables the write protection on Interrupt registers if WPKEY corresponds to 0x535049.

Bit 2 – WPCREN: Write Protection Control Register Enable

Write Protection Control Register Enable

ValueDescription
0

Disables the write protection on the Control register if WPKEY corresponds to 0x535049.

1

Enables the write protection on the Control register if WPKEY corresponds to 0x535049.

Bits 31:8 – WPKEY[23:0]: Write Protection Key

Write Protection Key

ValueNameDescription
0x535049 PASSWD

Writing any other value in this field aborts the write operation of the WPEN bit.

Always reads as 0.