How to access the entire 32Kb of SRAM in LPC1756

cancel
Showing results for 
Search instead for 
Did you mean: 

How to access the entire 32Kb of SRAM in LPC1756

217 Views
_vi
Contributor I

Hi,
I am using LPC1756 controller and my IDE is MCUXpresso.
In LPC1756 there is 16Kb of CPU SRAM and 16Kb of AHB SRAM. I am using almost all the 16Kb of memory from the CPU SRAM. How do i access rest of the 16Kb of memory from AHB SRAM? I need a continuous memory (15Kb) allocation for my application. What is the max bytes i can access from this location and how do i do it?

Tags (2)
0 Kudos
1 Reply

131 Views
jeremyzhou
NXP TechSupport
NXP TechSupport

Thank you for your interest in NXP Semiconductor products and
the opportunity to serve you.
Accessing AHB RAM is as same as local SRAM, however, it may encounter a fault when accessing the area which is assigned to heap or stack section, just like the post points out.

https://community.nxp.com/message/904598?commentID=904598#comment-904598 

Have a great day,
TIC

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

0 Kudos