Skip to main content
Graduate II
April 1, 2025
Solved

UsbX memory split memory pools

  • April 1, 2025
  • 1 reply
  • 376 views

Hello,

I was looking at the UsbX middleware source code and noticed that the memory pools are split in 2. 

a) non-cached memory pool

b) cached memory pool

The STM implementation doesn't seem to use this code and just places everything into the non-cached memory pool.

So my questions are:

1- has anyone used the split memory pools, and does it actually work? -OR- it doesn't work and that's why it was disabled by ST.

2- if it is enabled, how much of a performance boost will it provide? and is it worth the time and effort to split the pools?

thanks, Matt

 

    This topic has been closed for replies.
    Best answer by FBL

    Hi @matt-crc 

    Only non-cached memory to be used to ensure cache coherency on STM32 products with Data cache support.

    1 reply

    FBLAnswer
    Technical Moderator
    May 5, 2025

    Hi @matt-crc 

    Only non-cached memory to be used to ensure cache coherency on STM32 products with Data cache support.