2015-07-27 06:03 AM
Problem in StemWin driver in DMA2D_FillBuffer Method
I am developing a board STM32F429 with a 5 inch LCD(800x480), I init LCD With Setting LTDC Without Stem win and successfully can see background Color in LCD(RED,Blue or Green) then in next Step i try to Set GUI Driver (Stem win) for my Board
i copy GuiDriver in One of St Application Project and then change LTDC Settings with my self(GPIO, Timing and Polarity). i then change LCD xSize and ySize in driver with mine and then change (my SDRAM is bank2 32MB RAM) LayerAddress0=0xd0000000 LayerAddress1=0xd1000000my problem is when (Gui_Init()) function is executed the Program goes to DMA2D_FillBuffer method and never finishes last line ''while'' Statement(it's a wait function until transfer via dma2d is complete) Any idea about problem? #stemwin #dma2d_fillbuffer #dma2d #ldtc #stemwin2015-07-27 09:58 PM
2015-07-28 03:20 AM
Hi jones.david.009,
The idea behind the STM32 forum (and any other forum I think) is to look for help and share experiences/solutions.So it will be interesting if you can let other users know how you resolved your issue. It may be helpful for someone else facing same issue.-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2015-11-18 07:06 AM
Hi jones.david,
I am facing the same issue.I configured the lcd and i can see the Background Color but when i integrate with STemwin callingGui_Init()) function. it goes to DMA2D_FillBuffer() and then to NMI_Handler.Can you share your solution.
2015-11-19 01:17 AM
Hi,
The issue is solved.I faced the memory issue since i am using ext Ram (SDRAM) for code,stack,heap and text and also using the same memory region for ldtc (STemwin)GUI start address so I can't able to execute STenwim library function.