DDR Calibration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DDR Calibration

399 Views
developer123
Contributor I

I'm using a SOM manufacturer's product that includes the i.MX6.

I’ve noticed that the DDR3 calibration results on the actual hardware differ from those obtained using the DDR Stress Test Tool. Specifically, the tool appears to use the median value for DQS gating, whereas the actual device calibration seems slightly offset from the center.

I’m wondering if this discrepancy is due to the adjustment described in the following document:

AN4467_Rev2.pdf
Section 12.3.2 "Calibration Sequence Setup with Predefined Data Content" states:
— Read the HW_DG_UPx value from MMDC0/1_MPDGHWSTx
— Subtract 0xC0 (3/4 cycle)
— Write the 7 LSBs of the result to MMDC0/1_MPDGCTRLx[DG_DL_ABS_OFFSETx]
— Write the 4 MSBs of the result to MMDC0/1_MPDGCTRLx[DG_HC_DELx]

Or could there be another reason why the calibration results differ?

Thank you for your assistance.

Tags (1)
0 Kudos
Reply
1 Reply

381 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @developer123 

Could you explain more about you mentioned calibration results on the actual hardware? The DDR calibration use the firmware, It is a behavioral adjustment of the software. The two will not conflict.

B.R

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2144322%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EDDR%20Calibration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2144322%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI'm%20using%20a%20SOM%20manufacturer's%20product%20that%20includes%20the%20i.MX6.%3C%2FP%3E%3CP%3EI%E2%80%99ve%20noticed%20that%20the%20DDR3%20calibration%20results%20on%20the%20actual%20hardware%20differ%20from%20those%20obtained%20using%20the%20DDR%20Stress%20Test%20Tool.%20Specifically%2C%20the%20tool%20appears%20to%20use%20the%20median%20value%20for%20DQS%20gating%2C%20whereas%20the%20actual%20device%20calibration%20seems%20slightly%20offset%20from%20the%20center.%3C%2FP%3E%3CP%3EI%E2%80%99m%20wondering%20if%20this%20discrepancy%20is%20due%20to%20the%20adjustment%20described%20in%20the%20following%20document%3A%3C%2FP%3E%3CP%3EAN4467_Rev2.pdf%3CBR%20%2F%3ESection%2012.3.2%20%22Calibration%20Sequence%20Setup%20with%20Predefined%20Data%20Content%22%20states%3A%3CBR%20%2F%3E%E2%80%94%20Read%20the%20HW_DG_UPx%20value%20from%20MMDC0%2F1_MPDGHWSTx%3CBR%20%2F%3E%E2%80%94%20Subtract%200xC0%20(3%2F4%20cycle)%3CBR%20%2F%3E%E2%80%94%20Write%20the%207%20LSBs%20of%20the%20result%20to%20MMDC0%2F1_MPDGCTRLx%5BDG_DL_ABS_OFFSETx%5D%3CBR%20%2F%3E%E2%80%94%20Write%20the%204%20MSBs%20of%20the%20result%20to%20MMDC0%2F1_MPDGCTRLx%5BDG_HC_DELx%5D%3C%2FP%3E%3CP%3EOr%20could%20there%20be%20another%20reason%20why%20the%20calibration%20results%20differ%3F%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20assistance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2144824%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20DDR%20Calibration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2144824%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F184468%22%20target%3D%22_blank%22%3E%40developer123%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECould%20you%20explain%20more%20about%20you%20mentioned%26nbsp%3B%3CSPAN%3Ecalibration%20results%20on%20the%20actual%20hardware%3F%20The%20DDR%20calibration%20use%20the%20firmware%2C%20It%20is%20a%20behavioral%20adjustment%20of%20the%20software.%26nbsp%3BThe%20two%20will%20not%20conflict.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EB.R%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E