Datasheet

Table Of Contents
644
SAM9N12/SAM9CN11/SAM9CN12 [DATASHEET]
11063K–ATARM–05-Nov-13
36.8.10 SPI Write Protection Mode Register
Name: SPI_WPMR
Addresses: 0xF00000E4 (0), 0xF00040E4 (1)
Access: Read-write
WPEN: Write Protect Enable
0: Disables the Write Protect if WPKEY corresponds to 0x535049 (“SPI” in ASCII).
1: Enables the Write Protect if WPKEY corresponds to 0x535049 (“SPI” in ASCII).
Protects the registers:
“SPI Mode Register”
“SPI Chip Select Register”
WPKEY: Write Protect Key
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
Value Name Description
0x535049 PASSWD
Writing any other value in this field aborts the write operation of the WPEN bit.
Always reads as 0.