"i.MX 6 Series DDR Calibration" document typo?

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

"i.MX 6 Series DDR Calibration" document typo?

Jump to solution
974 Views
norishinozaki
Contributor V

Hello,

In the "i.MX 6 Series DDR Calibration" document page 34,

the sample code enables power mode at the end of the calibration.

// enable Adopt power down timer:

reg32_write((MMDC_P0_IPS_BASE_ADDR + MAPSR_OFFSET),

reg32_read((MMDC_P0_IPS_BASE_ADDR + MAPSR_OFFSET)) & 0xfffffff7)

This code is trying to unmask bit 3 in MMDC0_MAPSR, however in the RM page 3927, the bit 3 is a reserved bit.

Is it actually 0xfffffffe to set 0 in the bit 0?

pastedImage_1.png

pastedImage_2.png

Best regards,

Nori Shinozaki

Labels (1)
0 Kudos
Reply
1 Solution
881 Views
Yuri
NXP Employee
NXP Employee

Yes, the bit 0 is functional and it may be set / cleared, so mask 0xfffffffe

is correct for it.

Regards,

Yuri.

View solution in original post

0 Kudos
Reply
4 Replies
881 Views
Yuri
NXP Employee
NXP Employee

Hello,

   Looks like the document  "i.MX 6 Series DDR Calibration" and calibration

codes are based on preliminary i.MX6 specs, where bit field MAPSR[3-1] was

defined. Striclty speaking, this field should not be used by applications.


Have a great day,
Yuri

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

0 Kudos
Reply
881 Views
norishinozaki
Contributor V

Hello Yuri,

Thanks, so you mean that setting 0 in the bit 0 is the correct code?

// enable Adopt power down timer:

reg32_write((MMDC_P0_IPS_BASE_ADDR + MAPSR_OFFSET),

reg32_read((MMDC_P0_IPS_BASE_ADDR + MAPSR_OFFSET)) & 0xfffffffe)

Best regards,

Nori Shinozaki

0 Kudos
Reply
882 Views
Yuri
NXP Employee
NXP Employee

Yes, the bit 0 is functional and it may be set / cleared, so mask 0xfffffffe

is correct for it.

Regards,

Yuri.

0 Kudos
Reply
881 Views
norishinozaki
Contributor V

Yuri,

Thanks always!

N.Shinozaki

0 Kudos
Reply