Skip to main content
Associate III
Oct 16, 2025 12:12 AM UTC
Solved

How to enable the STM32N657X0 dcache using the STM Cube IDE?

Hello:

I think I have found how to enable the i-cache on the STM32N657X0 using the STM Cube IDE through using the Pinout & Configuration of the project. Two questions:


1. Is the icache actually enabled, or did I just made it available to be programmed?
2. How do I enable the dcache? I am using the NUCLEO-N657 development board.

If I need to enable them via a software routine, is there an example that I can use?

Thank you.

kag

kag_embedded_0-1760573458588.png

 

This topic has been closed for replies.
Imen.DBest answer
ST Technical Moderator
Oct 16, 2025 5:51 AM UTC

Hello @kag_embedded 

Navigate to "Pinout & Configuration" > "System Core", and enable the CPU ICACHE and CPU DCACHE..

ImenD_0-1760593657539.png

 

I recommend you follow this article: How to build an AI application from scratch on the NUCLEO-N657X0-Q using STM32CubeMX.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks

2 replies

Imen.DBest answer
ST Technical Moderator
Oct 16, 2025 5:51 AM UTC

Hello @kag_embedded 

Navigate to "Pinout & Configuration" > "System Core", and enable the CPU ICACHE and CPU DCACHE..

ImenD_0-1760593657539.png

 

I recommend you follow this article: How to build an AI application from scratch on the NUCLEO-N657X0-Q using STM32CubeMX.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Associate III
Oct 16, 2025 7:35 PM UTC

Thank you.