Is there a cache in the ARM Cortex-M4?

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

Is there a cache in the ARM Cortex-M4?

1,415 Views
kevintaylor1544
Contributor I

I want to know if there is a cache inside the ARM Cortex-M4.

I did not find any clue in the technical reference manual, but is that official or hidden? I know that some microcontrollers have a cache, but then it's between the bus and the RAM, not inside the core.

Do you know of any document that clarifies this?

0 Kudos
1 Reply

1,370 Views
Yuri
NXP Employee
NXP Employee

Hello,

  If we consider i.MX7, which consist of  Cortex A7 and Cortex-M4; in section 4.2.1 (Overview)

of i.MX 7Dual r Reference Manual, Rev. 1, 01/2018:

 "The Cortex-M4 implementation includes two tightly-coupled local memories and two cache

memories connected to these bus interfaces although the device implementation connects

to the 64-bit system bus interconnect and supports a 32-byte cache line size.
• L1 2-way set-associative 16 KB Instruction/Data cache with 32B line size length ..."

Regards,

Yuri.

0 Kudos