Default DDR2 configuration of ddr data error of high temperature exists.
By modifying the :
sim->MCR &= 0xFFFFFF00;
sim->MCR |= 0xC4;
This modified can solve the problem of high temperature DDR data error, but cause low temperature (10 - c) read DDR data error
I found MCR -> DDRDQSDIS = 1 high temperature ddr data error, MCR -> DDRDQSDIS = 0 low temperature(-10C) error
Finally, I by single chip microcomputer internal ADC temperature sensor, automatic adjustment, but long run time is still likely to collapse(Not ideal)
Is there a better solution?
the same problem:
K70 and DDR2 SDRAM unstable work
K70 DDR2 read failure with increasing temperature
My DDR configuration code:
Hi,
Could you please confirm your device mask? There is an errata in which the DDR controller read logic can get out of synchronization. For the small subset of devices that exhibit the issue, the problem occurs within a narrow temperature window.
I recommend you to check the errata document below to see more information and workaround.
https://www.nxp.com/docs/en/errata/KINETIS_4N96B.pdf
Best regards,
Felipe
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored.
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
------------------------------------------------------------------------------