LPC5528 RAM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC5528 RAM

1,731 次查看
ianbenton
Senior Contributor I

The LPC5528 is Harvard Architecture, but it has some RAM on the Program memory bus, as if it were Von Neumann, and I can't find any explanation of why it is there. Can it be used just like the RAM on the Data side?

0 项奖励
回复
5 回复数

1,719 次查看
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello

This post might solve your questions: https://community.arm.com/developer/ip-products/processors/f/cortex-a-forum/8615/how-to-explain-the-...
For more detailed information I suggest you to check the Cortex-M33 Technical Reference Manual and the Armv8-M Architecture Reference Manual.
https://developer.arm.com/ip-products/processors/cortex-m/cortex-m33

If you have more questions do not hesitate to ask me.
Best regards,
Omar

0 项奖励
回复

1,717 次查看
ianbenton
Senior Contributor I

Still none-the-wiser.

If RAM is for data, what is it doing on the program memory side of the bus?

0 项奖励
回复

1,708 次查看
converse
Senior Contributor V

You can execute code from it. As RAM is typically zero wait state,  it flash is not, it can run at full core speed, so can be used for time critical functions.

 

this may not be the only reason, but it is what we have done.

0 项奖励
回复

1,704 次查看
ianbenton
Senior Contributor I

I was just thinking of using it for data.

I was looking for a device with plenty of on-board RAM, so I could avoid having to use an external serial static RAM, and I needed all 256k for data. 

Could the stack go there?

0 项奖励
回复

1,700 次查看
converse
Senior Contributor V

It should work, but I'm not sure about the access timings. Often, there is a penalty for accessing data from the 'program' bus or for accessing code from the data bus. It might be worth writing a small program to see if there is such a penalty.

0 项奖励
回复