Texas Instruments TMS320DM643 Manuale Utente

Pagina di 56
www.ti.com
4.2
SDRAM Bank Configuration Register (SDBCR)
DDR2 Memory Controller Registers
The SDRAM bank configuration register (SDBCR) contains fields that program the DDR2 memory
controller to meet the specification of the attached DDR2 memory. These fields configure the DDR2
memory controller to match the data bus width, CAS latency, number of internal banks, and page size of
the attached DDR2 memory. The SDBCR is shown in
and described in
Writing to the
DDRDRIVE, CL, IBANK, and PAGESIZE bit fields will cause the DDR2 memory controller to start the
DDR2 SDRAM initialization sequence.
Figure 20. SDRAM Bank Configuration Register (SDBCR)
31
24
23
22
19
18
17
16
Reserved
BOOTUNLOCK
Reserved
DDRDRIVE
Reserved
R/W-1
R/W-0
R/W-2h
R/W-1
R-3h
15
14
13
12
11
9
8
TIMUNLOCK
NM
Reserved
CL
Reserved
R/W-0
R/W-0
R-0
R/W-5h
R-0
7
6
4
3
2
0
Reserved
IBANK
Reserved
PAGESIZE
R-0
R/W-2h
R-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -= value after reset
Table 26. SDRAM Bank Configuration Register (SDBCR) Field Descriptions
Bit
Field
Value
Description
31-24
Reserved
0
Reserved. Always write a value of 0 to these bits.
23
BOOTUNLOCK
Boot unlock. Controls the write permission settings for the DDRDRIVE bit. To change the
DDRDRIVE bit value, use the following sequence:
1.
Write a 1 to the BOOTUNLOCK bit.
2.
Write a 0 to the BOOTUNLOCK bit along with the desired value of the DDRDRIVE bit.
0
DDRDRIVE bit may not be changed
1
DDRDRIVE bit may be changed
22-19
Reserved
2h
Reserved. Always write a value of 2h to these bits.
18
DDRDRIVE
DDR2 SDRAM drive strength. Configures the output driver impedance control value of the DDR2
SDRAM memory. To change the DDRDRIVE bit value, use the following sequence:
1.
Write a 1 to the BOOTUNLOCK bit.
2.
Write a 0 to the BOOTUNLOCK bit along with the desired value of the DDRDRIVE bit.
0
Normal drive strength.
1
Weak drive strength.
17-16
Reserved
3h
Reserved. Always write a value of 3h to these bits.
15
TIMUNLOCK
Timing unlock. Controls the write permission settings for the SDRAM timing register and SDRAM
timing register 2.
0
Register fields in the SDRAM timing register (SDTIMR) and the SDRAM timing register 2
(SDTIMR2) may not be changed.
1
Register fields in the SDRAM timing register (SDTIMR) and the SDRAM timing register 2
(SDTIMR2) may be changed.
14
NM
DDR2 data bus width.
0
32-bit bus width.
1
16-bit bus width
13-12
Reserved
0
Reserved
42
DDR2 Memory Controller
SPRU986B – November 2007