Weird pixels in the area of image which is loaded from external flash.
I am getting weird pixels in the area of the LCD which has an image that is in "external" flash. The part of LCD where pixels are located in internal flash, are being displayed properly.
Only somewhat related post that i found is this below but my issue is an extension:
How should the DataReader_StartDMAReadData() function look like?
This article does not have complete definition of readDataDMA()
https://support.touchgfx.com/4.19/docs/development/scenarios/using-serial-flash
void readDataDMA(uint32_t address24, uint8_t* buffer, uint32_t length)
{
// Pull Flash CS pin low
isReceivingData = 1;
FLASH_CS_GPIO_Port->BRR = FLASH_CS_Pin;
*((__IO uint8_t*)&hspi2.Instance->DR) = CMD_READ;
...
}
I tried to construct the function, it appears to be correct per my knowledge but I am getting weird pixels in the area of image which is located in flash.
Any leads/pointers would be helpful.
Thank you.
