cancel
Showing results for 
Search instead for 
Did you mean: 

Weird glitch comes periodically

Kasun Dinesh
Associate III

Hi,

Recently, I started getting a wired glitch on the LCD periodically. I m using touchGFX 4.15 and CUbeIDE 1.5. After commenting some code relevant to the UI, Glitch doesn't comes. Any one have an idea what might cause this? Video is attached

https://www.youtube.com/watch?v=ghRrd-VNGKc

Thanks a lot.

11 REPLIES 11

Hi Nicolas,

Thanks for your reply. This is my MPU configuration.

This is my memory definition.

0693W000007ZgDAQA0.png

MEMORY
 
{
 
 DTCMRAM           (xrw)  : ORIGIN = 0x20000000,  LENGTH = 128K
 
 ITCMRAM           (xrw)  : ORIGIN = 0x00000000,  LENGTH = 64K
 
 RAM_D1            (xrw)  : ORIGIN = 0x24000000,  LENGTH = 512K
 
 RAM_D2            (xrw)  : ORIGIN = 0x30000000,  LENGTH = 288K
 
 RAM_D3            (xrw)  : ORIGIN = 0x38000000,  LENGTH = 64K
 
 SDRAM            (xrw)  : ORIGIN = 0xD0000000,  LENGTH = 8M
 
 ENV_VARIABLES        (xrw)  : ORIGIN = 0x90000000,  LENGTH = 8K
 
 APPLICATION_FLASH      (xrw)  : ORIGIN = 0x90002000,  LENGTH = 2040K
 
 APPLICATION_ASSETS_FLASH   (r)   : ORIGIN = 0x90200000,  LENGTH = 126M
 
 BOOTLOADER          (xrw)  : ORIGIN = 0x08000000,  LENGTH = 128k
 
}

Can you help me out to figure this out. Because I dont have much knowledge in MPU.

Thanks alot

Michael K
Senior III

Hi, I had this issue and I solved it by reducing the LCD-TFT clock rate. In my case (using an F769I-Disco) I changed it from 41.7MHz to 32MHz. If your UI slows down, make sure your optimizations are turned on. Good luck.

(As a matter of fact, the 41.7MHz came from the 3.0.0 F769 application template, and 32MHz came from the 3.0.2 template)

Embedded UI/UX Consulting: cadenza.design