Datasheet
627
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
32.8.10 SPI Write Protection Mode Register
Name: SPI_WPMR
Address: 0x400080E4
Access: Read-write
• WPEN: Write Protection Enable
0: The Write Protection is Disabled
1: The Write Protection is Enabled
• WPKEY: Write Protection Key Password
If a value is written in WPEN, the value is taken into account only if WPKEY is written with “SPI” (SPI written in ASCII Code, ie
0x535049 in hexadecimal).
List of the write-protected registers:
Section 32.8.2 ”SPI Mode Register”
Section 32.8.9 ”SPI Chip Select Register”
31 30 29 28 27 26 25 24
WPKEY
23 22 21 20 19 18 17 16
WPKEY
15 14 13 12 11 10 9 8
WPKEY
76543210
-------WPEN