Skip to main content
magnus
Associate
April 11, 2025
Question

STM32H5 and memory barriers usage in ICACHE/DCACHE APIs

  • April 11, 2025
  • 2 replies
  • 545 views

Hello.

STM32H5
I'm used to cache operations using memory barriers (ISB/DSB), but looking at a function like HAL_ICACHE_Invalidate() or HAL_DCACHE_Invalidate() I can't find any. Are memory barriers not needed with STM32 ICACHE/DCACHE?

2 replies

ST Technical Moderator
April 14, 2025

Hello @magnus 

Thank you for bringing this issue to our attention.

I reported this internally.

Internal ticket number: 207571 (This is an internal tracking number and is not accessible or usable by customers).

 

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. Saket_Om
ST Technical Moderator
May 7, 2026

Hello @magnus 

Do you observe any functional issue with the current implementation of HAL_ICACHE_Invalidate() and HAL_DCACHE_Invalidate().

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. Saket_Om