Skip to main content
Associate
June 23, 2026
Question

[LWIP] Rx buffers zero copy no MPU config

  • June 23, 2026
  • 1 reply
  • 96 views

HI

How to create a project for STM32H7 with Ethernet and LwIP stack working | Community

Rx buffers labeled “Zero Copy” and are used by DMA and CPU are not marked by MPU for cacheable? 
only descriptors are.

 

I couldn’t find any special clean or flush cache operations in code as well.

 

Why is that?

 

Image below shows only descriptors (512B) and TX (LWIP heap) are noncacheable.

 

 

1 reply

ST Employee
August 7, 2026

Hello,

Thank you for your report,

The RX zero-copy buffers are not necessarily left cacheable without precautions; they are either placed in a memory region configured to avoid cache coherency issues, or cache coherency is handled by another part of the code. Descriptors are always treated separately because they are directly accessed by the DMA, whereas packet buffers follow a strategy specific to the LwIP/STM32H7 integration.

 

With Regards,

If your question is answered, please close this topic by clicking ""Accept as Solution"".