how to disable selfref on IMX8MP?

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

how to disable selfref on IMX8MP?

Jump to solution
488 Views
jekim
Contributor IV


Hello,

 

The default value of the PWRCTL register(0x3d400030) was 0x1. It was changed to 0x0 to disable selfref. The reference manual explained selfref_en that If true then the DDRC puts the SDRAM into Self Refresh after a programmable number of cycles "maximum idle clocks before Self Refresh (PWRTMG.selfref_to_x32)". This register bit may be reprogrammed during the course of normal operation. Self refresh events were still found with the selfref_en value 0x0. How to prevent reprogramming of this parameter?

 

Thanks.

0 Kudos
Reply
1 Solution
452 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @jekim 

we do not support disabled the DRAM self-refresh feature. and why are you want to disable it? disabled it will causa date loss.

B.R 

View solution in original post

0 Kudos
Reply
3 Replies
407 Views
pengyong_zhang
NXP Employee
NXP Employee

hI @jekim 

self refresh is DRAM itself feature in low power mode. And you said auto-refresh is DDRC site feature at DRAM normal mode. Both of refresh features are aim to protect the data. We do not support disabled the self refresh. 

B.R 

0 Kudos
Reply
453 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @jekim 

we do not support disabled the DRAM self-refresh feature. and why are you want to disable it? disabled it will causa date loss.

B.R 

0 Kudos
Reply
438 Views
jekim
Contributor IV

Hi @pengyong_zhang ,

 

In failure analysis, enabling and disabling some features are often required. 

Without self refresh, auto-refresh at tREFI period still can protect RAM data. 

Self refresh is not an inevitable mode for RAM operation.

 

Thanks.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2198831%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ehow%20to%20disable%20selfref%20on%20IMX8MP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2198831%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CBR%20%2F%3EHello%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThe%20default%20value%20of%20the%20PWRCTL%20register(0x3d400030)%20was%200x1.%20It%20was%20changed%20to%200x0%20to%20disable%20selfref.%20The%20reference%20manual%20explained%20selfref_en%20that%20If%20true%20then%20the%20DDRC%20puts%20the%20SDRAM%20into%20Self%20Refresh%20after%20a%20programmable%20number%20of%20cycles%20%22maximum%20idle%20clocks%20before%20Self%20Refresh%20(PWRTMG.selfref_to_x32)%22.%20This%20register%20bit%20may%20be%20reprogrammed%20during%20the%20course%20of%20normal%20operation.%20Self%20refresh%20events%20were%20still%20found%20with%20the%20selfref_en%20value%200x0.%20How%20to%20prevent%20reprogramming%20of%20this%20parameter%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2200532%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20how%20to%20disable%20selfref%20on%20IMX8MP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2200532%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EhI%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F167418%22%20target%3D%22_blank%22%3E%40jekim%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Eself%20refresh%20is%20DRAM%20itself%20feature%20in%20low%20power%20mode.%20And%20you%20said%20auto-refresh%20is%20DDRC%20site%20feature%20at%20DRAM%20normal%20mode.%20Both%20of%20refresh%20features%20are%20aim%20to%20protect%20the%20data.%20We%20do%20not%20support%20disabled%20the%20self%20refresh.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EB.R%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2199846%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20how%20to%20disable%20selfref%20on%20IMX8MP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2199846%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F202673%22%20target%3D%22_blank%22%3E%40pengyong_zhang%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EIn%20failure%20analysis%2C%20enabling%20and%20disabling%20some%20features%20are%20often%20required.%26nbsp%3B%3C%2FP%3E%3CP%3EWithout%20self%20refresh%2C%20auto-refresh%20at%20tREFI%20period%20still%20can%20protect%20RAM%20data.%26nbsp%3B%3C%2FP%3E%3CP%3ESelf%20refresh%20is%20not%20an%20inevitable%20mode%20for%20RAM%20operation.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2199606%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20how%20to%20disable%20selfref%20on%20IMX8MP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2199606%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F167418%22%20target%3D%22_blank%22%3E%40jekim%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ewe%20do%20not%20support%20disabled%20the%20DRAM%20self-refresh%20feature.%20and%20why%20are%20you%20want%20to%20disable%20it%3F%20disabled%20it%20will%20causa%20date%20loss.%3C%2FP%3E%0A%3CP%3EB.R%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E