IMX8M_how to write LPDDR4 MR26/MR33 mode register?

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

IMX8M_how to write LPDDR4 MR26/MR33 mode register?

731 Views
alexjiang
Contributor II

IMX8M_how to write LPDDR4 MR26 mode register?

Platform: IMX8M + 4Gb 2channel 32bit LPDDR4;

1. We need to use LPDDR4 mode register: MR26/MR33(in JEDEC this MR26 is RFU),

    so we want to write a code to MR26/MR33,how to operate?

1> if IMX8M have register map to MR26/MR33, we can write the register address;

2> or if we can send the command: MRW  in uboot? how to operate?

0 Kudos
1 Reply

609 Views
igorpadykov
NXP Employee
NXP Employee

Hi Alex

seems MR registers can be set using MRCTRL0/1 registers described in

sect.9.3.3.1.6/7 Mode Register Read/Write Control Register
i.MX 8M Dual/8M QuadLite/8M Quad Applications Processors Reference Manual

uboot lpddr4_mr_write() example

ddrphy_utils.c\imx8m\ddr\drivers - uboot-imx - i.MX U-Boot 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos