Atmel SAM4S Xplained Pro Starter and Evaluation Kit ATSAM4S-XPRO ATSAM4S-XPRO Data Sheet
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
Product codes
ATSAM4S-XPRO
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
472
26.15 Static Memory Controller (SMC) User Interface
The SMC is programmed using the registers listed in
. For each chip select, a set of 4 registers is used to pro-
gram the parameters of the external device connected on it. In
, “CS_number” denotes the chip select number.
16 bytes (0x10) are required per chip select.
The user must complete writing the configuration by writing any one of the SMC_MODE registers.
The user must complete writing the configuration by writing any one of the SMC_MODE registers.
Table 26-7.
Register Mapping
Offset
Register
Name
Access Reset
0x10 x CS_number + 0x00
SMC Setup Register
SMC_SETUP
Read-write
0x01010101
0x10 x CS_number + 0x04
SMC Pulse Register
SMC_PULSE
Read-write
0x01010101
0x10 x CS_number + 0x08
SMC Cycle Register
SMC_CYCLE
Read-write
0x00030003
0x10 x CS_number + 0x0C
SMC Mode Register
SMC_MODE
Read-write
0x10000003
0x80
SMC OCMS MODE Register
SMC_OCMS
Read-write
0x00000000
0x84
SMC OCMS KEY1 Register
SMC_KEY1
Write once
0x00000000
0x88
SMC OCMS KEY2 Register
SMC_KEY2
Write once
0x00000000
0xE4
SMC Write Protect Mode Register
SMC_WPMR
Read-write
0x00000000
0xE8
SMC Write Protect Status Register
SMC_WPSR
Read-only
0x00000000
0xEC-0xFC
Reserved
-
-
-