This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
Dealing with the configuration of the DDR3 interface on the TI AM5K2E04 we are facing some questions concerning the configuration of driver strength and termination values.
The K2_DDR3_Register_Calc Excel spreadsheet offers some settings for the driver strength and termination of the DDR3 bus(ses), namely
- DDR_TERM --> configuration of the RAM's termination
- SDRAM_DRIVE --> configuration of the RAM's driver strength
- PHY Data ZO --> configuration of the memory controller's driver strength for the Data busses
- PHY ACCC ZO --> configuration of the memory controller's driver strength for address/command/control/clock
- PHY_ODT --> configuration of the memory controller's on die termination
Manipulation of these parameters do have impact on the registers ZQ0CR1, ZQ1CR1, ZQ2CR1.
Comments available inside the spreadsheet show the following mapping:
ZQ0CR1 --> Address/Control/Command/Clock
ZQ1CR1 --> Data 0 to Data 3
ZQ2CR1 --> Data 4 to Data 7 and ECC
Referencing the Keystone II Architecture DDR3 Memory Controller User's Guide (spruhn7c) the following information is available:
Impedance Control Register 1 (ZQnCR1)
ZPROG[7:4] = On-die termination divide select. Available values: 0x2, 0x5, 0x8
ZPROG[3:0] = Output impedance divide select. Available values: 0xB, 0xD
Unfortunately I can't find any explanation of the "n" in ZQnCR1, except for its range 0...3; merging the information from the spreadsheet and the user's guide the following mapping seems to apply:
n = 0 --> Address/Control/Command/Clock
n = 1 --> Data 0 to Data 3
n = 2 --> Data 4 to Data 7 and ECC
n = 3 --> ??
with bit[3:0] configuring the output impedance and bit [7:4] controlling the termination. This leads to the following questions:
Thanks, best regards
Lennart
Lennart,
The Keystone II Architecture DDR3 Memory Controller User's Guide (spruhn7c) is the definitive source for detailed register bitfield explanation.
You list out the below impedance controls:
The allowable values for these bitfields are shown in the drop-down menus on the 'Design Parameters' tab of the REG_CALC worksheet. An explanation of these source and termination impedances are shown in section 6.5.2 in DDR3 Design Requirements for KeyStone Devices Application Report (SPRABI1C).
1. Even though the PHY address decode logic implies that there is a ZQ3CRx set of registers, these have no effect. There are only 3 DDR macro IP blocks implemented in this device and they have the association as seen in the REG_CALC spreadsheet.
2. The PHY ODT value is only active in the macro during reads (input mode). Since the ACCC macro is only ever in output mode, the PHY ODT is not active and this setting has no effect.
3. The spreadsheet only allows for PHY_ODT = 60 ohms as shown in Figure 15 in DDR3 Design Requirements for KeyStone Devices Application Report (SPRABI1C). The other possible values supported by the PHY as shown in Table 4-61 of Keystone II Architecture DDR3 Memory Controller User's Guide (spruhn7c) are not recommended for use with the supported SDRAM topologies.
4. See above.
Tom