DSI Video Mode on STM32L4R9AI-EVAL using GFXMMU_Lut
I have successfully adapted a 480x480 round LCD to attach to the STM32L4R9AI-EVAL kit and can display an RGB888 image continuously, with a custom GFXMMU_Lut that reduces the required frame buffer to 558,336 bytes, and the frame buffer located in SRAM. I am now trying to use TouchGFX to start GUI development, the code built by TouchGFX Generator seems to target Adapted Command mode, I have been able to modify the CubeMX .ioc file and build the project. I cannot seem to get the TouchGFX code to properly display an image. I utilized the same image I displayed in the non TouchGFX code, and I can see that it is correct in the .cpp file and in the debugger. If I comment out the call to MX_TouchGFX_Init(); and follow it with a CopyInVirtualBuffer((uint32_t *)image_offset, (uint32_t *)GFXMMU_VIRTUAL_BUFFER0_BASE, 0, 0, 480, 480); call the image gets displayed properly, if I allow MX_TouchGFX_Init() to run it does not. Looking for ideas about what the TouchGFX initialization may be doing to change the configuration done in main.c so that the image transfer gets corrupted. Also curious if there is any reason TouchGFX might not work in Video Mode with the ChromART-GRC function enabled.