How to access the entire 32Kb of SRAM in LPC1756

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to access the entire 32Kb of SRAM in LPC1756

654件の閲覧回数
_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?

タグ(2)
0 件の賞賛
返信
1 返信

568件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

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 件の賞賛
返信