I have a board with a SAMA5D27 processor, running NuttX, with an 800x480 tft.
I can run the lvgl demos, or my own simple screen with just a spinner, but I’m seeing tearing of the video. The spinner, for example, breaks up at times with visible artefacts
My hunch is it’s because the native NuttX interface to the SAMA5D2 is a single framebuffer; lvgl is using lv_nuttx_fbdev.c, with just 1 “plane”, and one buffer, and I think the lvgl writes to the buffer overlap the dma of the framebuffer to the LCD. I can’t readily see how to work around that.
In the past, without an OS in the way, I could use the SAMA5 LCD peripheral very successfully with my “own” pair of framebuffers and it worked just fine.
Is my hunch on the right track? What is the correct way to sort this - but retain NuttX in the mix please?