Jump to content

lampii

Members
  • Posts

    4
  • Joined

  • Last visited

  1. Hi @Joel Bodenmannand @inmarket, I am using an STM32F429VIT which has plenty of flash and ram along with sdcard using the internal fatfs. My images are being loaded from the sdcard by the way. I solved my issue by changing the GFILE_MAX_FILES define and everything is working nicely now albeit loading images is a bit slower than expected. I assume loading images straight from flash would be much faster but my home brew implementation of chan's fatfs and drawing was atleast 2.5x as fast without DMA. I was wondering if there is anyway to get ugfx to stream from the sdcard via DMA? I have the 4-bit bus connected so i reckon it may speed up the drawing of elements significantly. Otherwise I can wait until all my UI is flushed out before migrating it to flash. I'm afraid I would be stressing my flash writing so much image data to it. Thank you for pointing me to the correct point in the documentation. I will take a look as I am bound to hit the limits at some point =).
  2. Hi Joel, What I was looking for was the board implementation but i must have missed the files posted by @Constantine. What I am experiencing is a mismatch between my LCD's 0,0 and what ugfx thinks it's 0,0 is. In other words, I get garbled image data due to drawing to the wrong locations. I am going to attempt his solution of re-working 0,0 via math rather than changing the LCD's gram write direction registers and see if i manage to get it working that way. Thanks for your response! I really appreciate the help.
  3. I am loading several bmps for my background and button images but i seem to be hitting a hardfault when I use too many of them. Does uGFX store loaded images in internal RAM or are they dawn directly to the screen?
  4. Hi Constantine, Would you be willing to provide your GDISP_CONTROL_ORIENTATION cases from your implementation? I too was struggling with the ILI9325. After porting over my init code, it all seems to work but my orientations are wrong and text doesnt render properly. I have a feeling my initialized rotations are different from what uGFX expects. Thanks!
×
×
  • Create New...