K27 / K28 On-Chip RAM (OCRAM) Questions

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

K27 / K28 On-Chip RAM (OCRAM) Questions

Jump to solution
994 Views
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.

Tags (3)
0 Kudos
1 Solution
779 Views
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!

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

View solution in original post

2 Replies
779 Views
aes_mike
Contributor III

Thank you Victor!

Mike

0 Kudos
780 Views
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!

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