This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Flickering on the LCD

I have tried the LCD controller in double buffer mode.
When the other buffer that is not displayed is rewritten , flickering occurs on the screen.

I think the LCD bus is in conflict
Are there any solutions?

  • Daisuke Yamazaki said:
    I think the LCD bus is in conflict

    Your thought is seconded here.

    My firm has no experience w/your MCU - yet other, similar ARM MCUs w/in-built LCD/TFT Controllers provide a means to avoid that (likely) bus memory contention.   Have you thoroughly reviewed your MCU's spec & write-up - in this particular regard.

    In days past - there was a "safe-time" in which you could write to memory - and no such contention occurred.   (I'd check for similar w/in your MCU.)

  • Hello, Cb1

    My MCU TM4C1299 has a feature called ping-pong mode.
    I think this is means that you say.
  • Hello Daisuke,

    If you are using Ping-Pong mechanism, then a few things must be noted

    First of all the time to write the buffer must be less than the frame time. So if it is 60Hz refresh, then the write of the other frame buffer must be written in less than 16ms. During this time the LCD is also fetching data from the same source.

    It is not clear if you are using an external SDRAM or internal SRAM and what is the size of the buffer?

    Regards
    Amit
  • Daisuke Yamazaki said:
    My MCU TM4C1299 has a feature called ping-pong mode.
    I think this is means that you say.

    Perhaps - but w/out full details - one cannot say.   Certain Lcd/TFT Controllers provide a signal which indicates those time slots when the Display Controller is not accessing the (common)  memory.   Much depends upon the amount of data you must load - a proper controller will greatly assist in avoiding (dreaded) memory contention...