cancel
Showing results for 
Search instead for 
Did you mean: 

how to activate level 2 cache for stm32mp157 ?

Roman Andronov
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

Hi @Roman Andronov 

The L2 is enabled together with L1 data cache.

See bit C in https://developer.arm.com/documentation/ddi0464/f/System-Control/Register-descriptions/System-Control-Register?lang=en

Obviously, need MMU correctly setup and SMP=1 (mandatory to have data cache) as well as I (for instruction cache).

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
PatrickF
ST Employee

Hi @Roman Andronov 

The L2 is enabled together with L1 data cache.

See bit C in https://developer.arm.com/documentation/ddi0464/f/System-Control/Register-descriptions/System-Control-Register?lang=en

Obviously, need MMU correctly setup and SMP=1 (mandatory to have data cache) as well as I (for instruction cache).

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.