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.

AM6442: LPDDR4: zq calibration and training

Part Number: AM6442
Other Parts Discussed in Thread: SYSCONFIG

Dear TI experts,

I wanna enable the DQ, DQS, ODT and ZQ calibration and training for external LPDDR4. 

I see that the MCU SDK version 8.02.00.31 driver has some functions to read the dqtrainningerror status in lpddr.c file at location mcu_plus_sdk_am64x_08_01_00_14\source\drivers\ddr\v0

But I can not find any code about implement dq, dqs training, or zq calibration.

I just want to ask:

Does SDK have driver code for implement  DQ, DQS, ODT and ZQ calibration and training?

If yes, could you please send me the file path and functions implementing these features?

Thank you

Thao

  • For more detail information:

    IDQ, DQS, ODT and ZQ calibration and training is for external LPDDR4.

    Thank you

    ThaoPTB1

  • Dear Thao,

    Does SDK have driver code for implement  DQ, DQS, ODT and ZQ calibration and training?

    No it does not support calibration and training. please go through section 8.1.1 DDRSS Overview of the TRM for more details about automatic Calibration & Training options supported

    the MCU+SDK DDR Section outlines DDR Usage Information.

    Regards

    Anshu

  • LPDDR4 initialization and training is completely handled by the DDR IP in the device.  The driver is located in the location you mentioned, but there is only code to initiate the training and manage the clock frequency changes.  The rest of the details of the training is all internal to the hardware.  Ensure you use the DDR Register Config tool at dev.ti.com\sysconfig to supply the proper register configuration for your board and device.  Also ensure you follow the design layout and guidelines in this app note:  https://www.ti.com/lit/pdf/spracu1

    Regards,

    james