How to use an m_sramx memory region?

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

How to use an m_sramx memory region?

125 Views
george_from_hyn
Contributor I

Hi NXP team,

I am using MCXN547 with MCUXpresso SDK and noticed that the linker script defines an m_sramx memory region.

Could you clarify how this memory region is intended to be used? Specifically:

  1. Do variables need to be explicitly placed into the m_sramx section using a compiler attribute or section macro?
  2. Or will the linker automatically place variables into m_sramx when the default SRAM region becomes full?
  3. Is m_sramx suitable for large DMA buffers or eDMA TCD pools? Are there any cache, bus-access, or performance considerations when using it with DMA?

I would appreciate an example of how to place a buffer in m_sramx in an MCUXpresso SDK project.

Thank you.

Labels (1)
0 Kudos
Reply
1 Reply

57 Views
hao520
Contributor I


https://shequ.docin.com/app/shequ/themeview?tid=3179907
https://shequ.docin.com/app/shequ/themeview?tid=3179910
https://shequ.docin.com/app/shequ/themeview?tid=3179911
https://shequ.docin.com/app/shequ/themeview?tid=3179912
https://shequ.docin.com/app/shequ/themeview?tid=3179914
https://shequ.docin.com/app/shequ/themeview?tid=3179918
https://shequ.docin.com/app/shequ/themeview?tid=3179921
https://shequ.docin.com/app/shequ/themeview?tid=3179923
https://shequ.docin.com/app/shequ/themeview?tid=3179926
https://shequ.docin.com/app/shequ/themeview?tid=3179930
https://shequ.docin.com/app/shequ/themeview?tid=3179932
https://shequ.docin.com/app/shequ/themeview?tid=3179935
https://shequ.docin.com/app/shequ/themeview?tid=3179936
https://shequ.docin.com/app/shequ/themeview?tid=3179939
https://shequ.docin.com/app/shequ/themeview?tid=3179941
https://shequ.docin.com/app/shequ/themeview?tid=3179943
https://shequ.docin.com/app/shequ/themeview?tid=3179945
https://shequ.docin.com/app/shequ/themeview?tid=3179947
https://shequ.docin.com/app/shequ/themeview?tid=3179950
https://shequ.docin.com/app/shequ/themeview?tid=3179956
https://shequ.docin.com/app/shequ/themeview?tid=3179957
https://shequ.docin.com/app/shequ/themeview?tid=3179959
https://shequ.docin.com/app/shequ/themeview?tid=3179962
https://shequ.docin.com/app/shequ/themeview?tid=3179964
https://shequ.docin.com/app/shequ/themeview?tid=3179967
https://shequ.docin.com/app/shequ/themeview?tid=3179968
https://shequ.docin.com/app/shequ/themeview?tid=3179969
https://shequ.docin.com/app/shequ/themeview?tid=3179971
https://shequ.docin.com/app/shequ/themeview?tid=3179973
https://shequ.docin.com/app/shequ/themeview?tid=3179975
https://shequ.docin.com/app/shequ/themeview?tid=3179976
https://shequ.docin.com/app/shequ/themeview?tid=3179979
https://shequ.docin.com/app/shequ/themeview?tid=3179981

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2408646%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHow%20to%20use%20an%20m_sramx%20memory%20region%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2408646%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20NXP%20team%2C%3C%2FP%3E%3CP%3EI%20am%20using%20MCXN547%20with%20MCUXpresso%20SDK%20and%20noticed%20that%20the%20linker%20script%20defines%20an%20m_sramx%20memory%20region.%3C%2FP%3E%3CP%3ECould%20you%20clarify%20how%20this%20memory%20region%20is%20intended%20to%20be%20used%3F%20Specifically%3A%3C%2FP%3E%3COL%3E%3CLI%3EDo%20variables%20need%20to%20be%20explicitly%20placed%20into%20the%20m_sramx%20section%20using%20a%20compiler%20attribute%20or%20section%20macro%3F%3C%2FLI%3E%3CLI%3EOr%20will%20the%20linker%20automatically%20place%20variables%20into%20m_sramx%20when%20the%20default%20SRAM%20region%20becomes%20full%3F%3C%2FLI%3E%3CLI%3EIs%20m_sramx%20suitable%20for%20large%20DMA%20buffers%20or%20eDMA%20TCD%20pools%3F%20Are%20there%20any%20cache%2C%20bus-access%2C%20or%20performance%20considerations%20when%20using%20it%20with%20DMA%3F%3C%2FLI%3E%3C%2FOL%3E%3CP%3EI%20would%20appreciate%20an%20example%20of%20how%20to%20place%20a%20buffer%20in%20m_sramx%20in%20an%20MCUXpresso%20SDK%20project.%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2408646%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ECore%20and%20Memory%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E