K27 / K28 On-Chip RAM (OCRAM) Questions

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

K27 / K28 On-Chip RAM (OCRAM) Questions

跳至解决方案
1,913 次查看
aes_mike
Contributor III

How does the performance of the OCRAM compare to the TCRAM (i.e. tightly coupled upper and lower SRAM chunks)?  I cannot find any information regarding OCRAM in the K28 data sheet other than that it is there and it is located at 0x3400_0000 to 0x3407_FFFF.

 

Wondering how many CPU clock cycles per OCRAM cycle typical? 

Is it 32-bits wide?

Thank you.

标记 (3)
0 项奖励
回复
1 解答
1,698 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hello,

The TCRAM is tightly coupled to the ARM Cortex-M4 core and the OCRAM is not tightly coupled to ARM Cortex-M4 core. The main benefit of the TCRAM it is, that the CPU can access it every clock cycle.

pastedImage_3.png

The OCRAM is accessed outside of the ARM Cortex-M4's platform via the AXBS crossbar. In the Crossbar Switch read and write transfers require two bus clock cycles. Additionally, these registers can be read from or written to only by 32-bit accesses. If you refer to chapter 20 of the reference manual you will find more information about the Crossbar Switch. 

Hope it helps!

Victor.

-----------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------- 

在原帖中查看解决方案

2 回复数
1,698 次查看
aes_mike
Contributor III

Thank you Victor!

Mike

0 项奖励
回复
1,699 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hello,

The TCRAM is tightly coupled to the ARM Cortex-M4 core and the OCRAM is not tightly coupled to ARM Cortex-M4 core. The main benefit of the TCRAM it is, that the CPU can access it every clock cycle.

pastedImage_3.png

The OCRAM is accessed outside of the ARM Cortex-M4's platform via the AXBS crossbar. In the Crossbar Switch read and write transfers require two bus clock cycles. Additionally, these registers can be read from or written to only by 32-bit accesses. If you refer to chapter 20 of the reference manual you will find more information about the Crossbar Switch. 

Hope it helps!

Victor.

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------