The 11 registers of HSDRAMC (Hardened SDRAM Controller), from 0x40082000, with their reset value and every field. The ATSAMRH71F20C has 3366 registers in 56 peripherals, one page each.
HSDRAMC Hardened SDRAM Controller
HSDRAMC_MRMode Register
Address
0x40082000
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
MODE
2:0
SDRAMC Command Mode
0 Normal mode. Any access to the SDRAM is decoded normally. To activate this mode, the command must be followed by a write to the SDRAM.
1 The SDRAMC issues a NOP command when the SDRAM device is accessed regardless of the cycle. To activate this mode, the command must be followed by a write to the SDRAM.
2 The SDRAMC issues an "All Banks Precharge" command when the SDRAM device is accessed regardless of the cycle. To activate this mode, the command must be followed by a write to the SDRAM.
3 The SDRAMC issues a "Load Mode Register" command when the SDRAM device is accessed regardless of the cycle. To activate this mode, the command must be followed by a write to the SDRAM.
4 The SDRAMC issues an "Autorefresh" Command when the SDRAM device is accessed regardless of the cycle. Previously, an "All Banks Precharge" command must be issued. To activate this mode, the command must be followed by a write to the SDRAM.
5 The SDRAMC issues an "Extended Load Mode Register" command when the SDRAM device is accessed regardless of the cycle. To activate this mode, the "Extended Load Mode Register" command must be followed by a write to the SDRAM. The write in the SDRAM must be done in the appropriate bank; most low-power
HSDRAMC_TRRefresh Timer Register
Address
0x40082004
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
COUNT
11:0
SDRAMC Refresh Timer Count
HSDRAMC_CRConfiguration Register
Address
0x40082008
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
RMW
9
Read Modify Write
DBW
8
Data Bus Width
CAS
7:6
CAS Latency
1 1 cycle latency
2 2 cycle latency
3 3 cycle latency
NB
5
Number of Banks
0 2 banks
1 4 banks
NR
4:3
Number of Row Bits
0 11 bits to define the row number, up to 2048 rows
1 12 bits to define the row number, up to 4096 rows
2 13 bits to define the row number, up to 8192 rows
NC
2:0
Number of Column Bits
0 8 bits to define the column number, up to 256 columns
1 9 bits to define the column number, up to 512 columns
2 10 bits to define the column number, up to 1024 columns
3 11 bits to define the column number, up to 2048 columns
4 12 bits to define the column number, up to 4096 columns
HSDRAMC_SDRSetup Delay Register
Address
0x4008200C
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
TXSR
23:20
Exit Self-Refresh to Active Delay
TRAS
19:16
Active to Precharge Delay
TRCD
15:12
Row to Column Delay
TRP
11:8
Row Precharge Delay
TRC_TRFC
7:4
Row Cycle Delay and Row Refresh Cycle
TWR
3:0
Write Recovery Delay
HSDRAMC_IERInterrupt Enable Register
Address
0x40082014
Reset
0x00000000
Access
write only
Size
32-bit
1 field
Field
Bits
What it does
RES
0
Refresh Error Interrupt Enable
HSDRAMC_IDRInterrupt Disable Register
Address
0x40082018
Reset
0x00000000
Access
write only
Size
32-bit
1 field
Field
Bits
What it does
RES
0
Refresh Error Interrupt Disable
HSDRAMC_IMRInterrupt Mask Register
Address
0x4008201C
Reset
0x00000000
Access
read only
Size
32-bit
1 field
Field
Bits
What it does
RES
0
Refresh Error Interrupt Mask
HSDRAMC_ISRInterrupt Status Register
Address
0x40082020
Reset
0x00000000
Access
read only
Size
32-bit
1 field
Field
Bits
What it does
RES
0
Refresh Error Status (cleared on read)
HSDRAMC_CFR1Configuration Register 1
Address
0x40082024
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
UNAL
8
Support Unaligned Access
0 Unaligned access is not supported.
1 Unaligned access is supported.
TMRD
3:0
Load Mode Register Command to Active or Refresh Command
HSDRAMC_WPMRWrite Protection Mode Register
Address
0x40082028
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
WPEN
0
Write Protection Enable
WPKEY
31:8
Write Protection Key
5456978 Writing any other value in this field aborts the write operation of the WPEN bit.Always reads as 0.