2017-09-09 11:40 AM
Hello.
Based on the HAL example >Applications>Display>LCD_PicturesFromSDCard I converted
this into a CubeMX (V1.7.0) project, which works fine. Adding FreeRTOS works as well.
But if I add LwIP (just adding) sometimes the image is not shown properly.
Parts of the image is corrupted on the screen.
Regardless if DHCP/static and memory settings for LwIP and FreeRTOS.
It does occur i.e. after every 6-20th image loading. There is no rule.
Why is it a problem to use LwIP in this case?
Thank you for every hint.
Solved! Go to Solution.
2017-09-18 04:13 PM
I found the reason:
Image files are processed via DMA and I also use DMA for sending data via UART.
Both streams are in the same DMA controller (#2) and this causes the collision.
2017-09-12 03:46 AM
Hello,
Verify the stack and heap values of your project and I suggest that you take a look to the following resources about LWIP which can help you in your application:
Kind Regards
Imen
2017-09-18 04:13 PM
I found the reason:
Image files are processed via DMA and I also use DMA for sending data via UART.
Both streams are in the same DMA controller (#2) and this causes the collision.