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:
- Do we have to take ZQ3CR1 into account while optimizing our board specific driver and termination settings?
- The bits [7:4] of ZQ0CR1 seem to offer the possibility to configure an on-die termination for address/command/clock signals, which are terminated by discrete external resistors.
Are these bits generally "don't care", or do they have any impact on the behavior of the DDR3 interface? - The spreadsheet does not offer the possibility to change the parameter PHY_ODT, which should manipulate bit[7:4] of ZQ1CR1 and ZQ2CR1 - but why?
- Did we miss any documentation that provides more information, especially on the aforementioned registers?
Thanks, best regards
Lennart