Other Parts Discussed in Thread: AM6548, TMDX654IDKEVM
Tool/software:
Hi,
We are investigating an issue where we lately are experiencing multibit ECC fault on some of our produced controller units with the Sitara AM6548 and Nanya DDR4 (NT5AD512M8D3-HRI).
The DDR registers has been configured with “AM65x_DRA80xM_EMIF_Tool_2.03.xlsm” with the following parameters.
- Data Rate: 1600 MT/s
- ECC Enabled: Yes
- CA Parity Enabled: Yes (Parity Latency = 4tCK)
- Data Width: 32 bits
- CL = 12
- CWL = 9
- Refresh 3.9us (>85Deg)
Going through the DDR configuration and status registers we have some questions and observations.
- We have two warning flags in the DDRPHY_DX0GSR3 to DDRPHY_DX4GSR3, HVWRN (Host VREF Training Warning) and DVWRN (DRAM VREF Training Warning), both field 0x1. What could be causing these warnings?
- We noticed that in “SPRUID7E AM65x Technical Reference Manual rev E”, register DDRPHY_DX8SL2PLLCR0, CPPC, 6’b000110 = PLL reference clock ranges from 280MHz to 332MHz, we assume this is an error in the manual, and should be 6’b001110?
- For registers DDRPHY_PGCR6 and DDRPHY_PGSR1 “AM65x_DRA80xM_EMIF_Tool_2.03.xlsm” sets the INHVT (VT Calculation Inhibit) and VTSTOP (VT Stop) flags. Are there any situations where it would be beneficial to disable these flags?
- There are multiple DDRPHY registers mentioning that larger values will give a more conservative command to command timings (list below). Today we are using the datasheet / values from AM65x_DRA80xM_EMIF_Tool_2.03.xlsm. If we make adjustments in these registers, could this have “side effects”, meaning we have to also compensate other timing parameters?
- DDRPHY_DTPR0, fields TRRD, TRAS, and TRP.
- DDRPHY_DTPR1, fields TWLMRD, and TFAW.
- DDRPHY_DTPR2, fields TCKE, and TXS.
- DDRPHY_DTPR3, fields TRFC, and TWLO.
- DDRPHY_DTPR5, fields TODTUP, TRCD, TWTR.
- When configuring the CA Parity we had issues getting this to work with the updated register values calculated with AM65x_DRA80xM_EMIF_Tool_2.03.xlsm”. To get it to work we had to update the DDRCTL_DFITMG0 register, field DFI_TPHY_WRLAT and DFI_T_RDDATA_EN with the parity latency. Should the tool have updated this register fields as well?
Regards
Johnny Mostraum

