cancel
Showing results for 
Search instead for 
Did you mean: 

Screen dithering problem.

ABURM
Senior

Hi guys.

I am using STM32H7B3LIHQ MCU, MX25LM51245GXDI00 flash and IS42S32800J-6BLI RAM with NHD-4.3-800480CF-ASXP-CTP TFT screen. I configured the LTDC, FMC, OCTOSPI, TouchGFX and FREERTOS settings. I have a 2 problem.

1- I added textArea in the screen for trying. I am increasing the "counter" register and displaying its value in the textArea at 100 mS intervals. But counter register does not inreasing the 100mS intervals, it increasing in 1000mS intervals. FREERTOS TICK_RATE_Hz = 1000 and this is code;

void screenView::handleTickEvent()
{
    static int tickCount = 0;
    if (tickCount++ >= 100)
    {
    	Unicode::snprintf(textArea1Buffer, TEXTAREA1_SIZE, "%u",counter);
    	textArea1.invalidate();
        tickCount = 0;
    }
    if (counter >= 17000) counter = 0;
    else counter++;
}

2- I added an image with a resolution of 800x480 to the screen. The textarea is on this image. Every time I refresh the screen (textArea1:invalidate()), the screen dithering. But sometimes (1 time in 10 refreshes etc.) it doesn't dithering.

I can share cubemx settings, codes or schematics. What is the problem?

10 REPLIES 10

Thanks, that worked perfectly. The Black Screen Test helped me confirm the issue was in the settings, not the panel.