Hi Victor,
I already solved the issue by moving the lwip library into the non-cacheable region as shown in the following image:

I tested with the mbedtls library in the non-cacheable region and outside of it. In both cases, it works, but if I put mbedtls in the non-cacheable region, the round trip using TLS is a bit slower than if I just leave lwip in the non-cacheable region.
Thanks for the support,
Karen