2024-11-07 07:29 PM
hi,
I have successfully connected LTDC display(480x272) with STM32H723ZGT6 - RGB565 mode .
I could able to image file from internal Flash Memory .
I could able to Load Perfect colour from DMA2D by using. framebuffer in global level .
uint16_t framebuffer[480*272];
HAL_DMA2D_Start(&hdma2d, 0x000FF000,(uint32_t)framebuffer, 480, 272);
HAL_DMA2D_PollForTransfer(&hdma2d, 10);
I could not able to transfer colour from SRAM to LTDC by using .
for (int y=0; y<272; y++)
{
for (int x=0; x<480; x++)
{
framebuffer[y*480 + x] = 0xF800;
}
}
Erratic fill Screen happening when i transfer data to frame buffer memory . Even i reduced the speed of LTDC and total clock but nothing worked out .
DMA2D using same frame buffer memory and transferring register to Memory and working fine .