iMX8MM - LPDDR4 memory mode register read

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

iMX8MM - LPDDR4 memory mode register read

1,118 Views
arekkaras
Contributor III

I need to read some mode registers from LPDDR4 memory with iMX8mm.
I tried to use 'lpddr4_mr_read()' function from ddrphy_utils.c, but this command hangs.
It looks that it accesses registers (DRC_PERF_MON_MRR0_DAT) which are not described in iMX8MM reference manual.
This registers are described in iMX8M reference manual, and it seems that it has the same memory controller as in iMX8MM.

Is there any other way to read LPDDR4 mode registers in imx8mm ?
Reference manual is unclear on this topic.

Labels (1)
Tags (2)
0 Kudos
3 Replies

1,040 Views
igorpadykov
NXP Employee
NXP Employee

Hi Arkadiusz

one can look at sect.9.2.3.1.6 Mode Register Read/Write Control Register 0. (MRCTRL0) i.MX8M Mini RM

i.MX 8M Mini Applications Processor Reference Manual

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

0 Kudos

1,041 Views
arekkaras
Contributor III

I have read reference manual, but there is no any description there how to perform read operation from LPDDR4 mode registers.

Are there any other information available regarding this topic ?

Regards

Arkadiusz

0 Kudos

1,041 Views
igorpadykov
NXP Employee
NXP Employee

additional details can be found in

sect.9.2 DRC Performance Monitor (DRC_PERF_MON)

i.MX 8M Dual/8M QuadLite/8M Quad Applications Processors Reference Manual 

Best regards
igor

0 Kudos