We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi everyone, i'm working with the stm32f4 lcd module and i realized that whenenever i try to read the screen (actually the ram memory) some data are repeated. For example, after read and write the memory i dont have the same picture despite having done any kind of processing. This is solve just adding a delay function between each reading. I've tryed working with dma and I am having the same issue.
I would really preciated any help. Best regards
You're using what board? With what screen?
Specific part numbers might help.
I attach the following explanations for a better understanding:
1) We are trying to process video (in near real time) frames obtained from the Video Display memory (STM32F4DIS-LCD) previously captured from an ov9655 camera. 2) We are working with the OV9655 project example (under keil uvision) as base project. 3) We wish to transfer each frame video from Video Display Memory to Discovery SRAM, via DMA, to obtain a faster performance. 4) As we are limited for the Discovery SRAM size (only 192KB), we only could transfer part of each frame to processing. 5) Everytime we read the Video Display Memory we are getting a pixel data repeated each several pixels (it seems to be in a random way). 6) This kind of behaviour is happening both via DMA and via the LCD_ReadRAM() function, but if we add a delay function (1 ms aprox) following the LCD_ReadRAM() function the reading is ok.
Best regards.
We are working with the smt32f4 discovery
www.newark.com/.../87T3791
the stm32f4dis-lcd www.newark.com/.../47W1734
and the stm32f4dis-cam www.newark.com/.../47W1732
If LCD_ReadRAM() happens to be implemented to use DMA, then you must not use the destination memory until that DMA transfer has ended, or you will read undefined bytes.
So you'd probably want to start by reviewing the SSD2119 controller documentation, and the FSMC settings on the F4, confirming those, and determining the maximum supported bandwidth