Skip to main content
Zbobo.1
Associate III
April 27, 2021
Solved

Can not show Image in DSI video mode

  • April 27, 2021
  • 7 replies
  • 2595 views

(sorry for my bad English)

​

Hi, My project is base on STM32F469 ,LCD use DSI video mode.

Now I can show pixels in TouchGFX box , but can not show images.

​

Touchgfx project with images:0693W00000AMdJWQA1.jpg​

display like this:0693W00000AMcnBQAT.jpg​

touchgfx project with image&pixel:0693W00000AMdNKQA1.jpg​

display like this:

0693W00000AMdPsQAL.jpg​

the Images in touchgfx is seted as RGB565.

LCD controller is seted in RGB565 mode.

And DSI,LTDC,LTDC layer,DMA2D both are in RGB565.

​

Why do I have this effect?How can I fix it?

Thanks.

​

This topic has been closed for replies.
Best answer by Zbobo.1

Thanks everone. I found that qspiflash download FLM is not correct.When I erase flash it write 0x88 into it and touchgfx images always get 0x88...​

And my QSPI memory mapping mode is not setting correctly too.STM32F469-DISCO is use N25Q128A , my project is use W25Q128FV instead.

I wonder does ST provide this kind of norflash FLM to user?

7 replies

MM..1
Super User
April 27, 2021

I dont understand your image 2 and result you can show pixels.

As first dont use touchGFX and start your display config work in basic princips.

Run DSI testpatterns, check ltdc memory usw...

Zbobo.1
Zbobo.1Author
Associate III
April 27, 2021

Hi MM..1 

I had checked my driver and DSI , LTDC setting, is okay.Use HAL_SDRAM_Read_16b() to write Touchgfx image generated xxxbpp.cpp can get correct display.But image in touchgfx project cannot display correctly.

Romain DIELEMAN
ST Employee
April 27, 2021

Have you tried putting the images in internal and then external memory ?

/Romain

Zbobo.1
Zbobo.1AuthorBest answer
Associate III
April 28, 2021

Thanks everone. I found that qspiflash download FLM is not correct.When I erase flash it write 0x88 into it and touchgfx images always get 0x88...​

And my QSPI memory mapping mode is not setting correctly too.STM32F469-DISCO is use N25Q128A , my project is use W25Q128FV instead.

I wonder does ST provide this kind of norflash FLM to user?