Datasheet

446
11011B–ATARM–21-Feb-12
SAM3N
446
11011B–ATARM–21-Feb-12
SAM3N
27.7.5 Write Protected Registers
To prevent any single software error that may corrupt SPI behavior, the registers listed below
can be write-protected by setting the SPIWPEN bit in the SPI Write Protection Mode Register
(SPI_WPMR).
If a write access in a write-protected register is detected, then the SPIWPVS flag in the SPI
Write Protection Status Register (SPI_WPSR) is set and the field SPIWPVSRC indicates in
which register the write access has been attempted.
The SPIWPVS flag is automatically reset after reading the SPI Write Protection Status Register
(SPI_WPSR).
List of the write-protected registers:
Section 27.8.2 ”SPI Mode Register”
Section 27.8.9 ”SPI Chip Select Register”