Hello,
I've been able to reproduce the issue when adding flash support to the sdk's "lvgl demo widgets" example.
When a flash erase command is sent via spi while lvgl is running the application halts. The debugger usually ends up breaking outside of the application memory, but is sometimes caught in the stack overflow fault handler. By significantly increasing the size of the lvgl task's stack, it will sometimes not crash.
This issue will not occur for for any erase commands executed before the lvgl task is started and doesn't seem to occur on any other non-erase spi flash commands after lvgl has started. Though the erase command seems to take significantly longer to finish than the other commands.
We are using the fsl flexspi driver and a touch panel that is working with the example's RK043FN02H preset.
Thank you