33.7.3 SDRAMC Configuration Register

This register can only be written if the WPEN bit is cleared in the SDRAMC Write Protection Mode Register.

Name: SDRAMC_CR
Offset: 0x08
Reset: 0x852372C0
Property: Read/Write

Bit 3130292827262524 
 TXSR[3:0]TRAS[3:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 10000101 
Bit 2322212019181716 
 TRCD[3:0]TRP[3:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00100011 
Bit 15141312111098 
 TRC_TRFC[3:0]TWR[3:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 01110010 
Bit 76543210 
 DBWCAS[1:0]NBNR[1:0]NC[1:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 11000000 

Bits 31:28 – TXSR[3:0] Exit Self-Refresh to Active Delay

Reset value is eight cycles.

This field defines the delay between SCKE set high and an Activate Command in number of cycles. Number of cycles is between 0 and 15.

Bits 27:24 – TRAS[3:0] Active to Precharge Delay

Reset value is five cycles.

This field defines the delay between an Activate Command and a Precharge Command in number of cycles. Number of cycles is between 0 and 15.

Bits 23:20 – TRCD[3:0] Row to Column Delay

Reset value is two cycles.

This field defines the delay between an Activate Command and a Read/Write Command in number of cycles. Number of cycles is between 0 and 15.

Bits 19:16 – TRP[3:0] Row Precharge Delay

Reset value is three cycles.

This field defines the delay between a Precharge Command and another Command in number of cycles. Number of cycles is between 0 and 15.

Bits 15:12 – TRC_TRFC[3:0] Row Cycle Delay and Row Refresh Cycle

Reset value is seven cycles.

This field defines two timings:

  • the delay (tRFC) between two Refresh commands and between a Refresh command and an Activate command
  • the delay (tRC) between two Active commands in number of cycles.

The number of cycles is between 0 and 15. The end user must program max {tRC, tRFC}.

Bits 11:8 – TWR[3:0] Write Recovery Delay

Reset value is two cycles.

This field defines the Write Recovery Time in number of cycles. Number of cycles is between 0 and 15.

Bit 7 – DBW Data Bus Width

Reset value is 16 bits.

ValueDescription
0

Data bus width is 32 bits.

1

Data bus width is 16 bits.

Bits 6:5 – CAS[1:0] CAS Latency

Reset value is two cycles. In the SDRAMC, only a CAS latency of one, two and three cycles is managed.

ValueNameDescription
0

Reserved

1

Reserved

2 LATENCY2

2-cycle latency

3 LATENCY3

3-cycle latency

Bit 4 – NB Number of Banks

Reset value is two banks.

ValueNameDescription
0 BANK2

2 banks

1 BANK4

4 banks

Bits 3:2 – NR[1:0] Number of Row Bits

Reset value is 11 row bits.

ValueNameDescription
0 ROW11

11 bits to define the row number, up to 2048 rows

1 ROW12

12 bits to define the row number, up to 4096 rows

2 ROW13

13 bits to define the row number, up to 8192 rows

3

Reserved

Bits 1:0 – NC[1:0] Number of Column Bits

Reset value is 8 column bits.

ValueNameDescription
0 COL8

8 bits to define the column number, up to 256 columns.

1 COL9

9 bits to define the column number, up to 512 columns.

2 COL10

10 bits to define the column number, up to 1024 columns.

3 COL11

11 bits to define the column number, up to 2048 columns.