Author Topic: Does parallel RGB LCD need termination?  (Read 1734 times)

0 Members and 1 Guest are viewing this topic.

Offline stmdudeTopic starter

  • Frequent Contributor
  • **
  • Posts: 479
  • Country: se
Does parallel RGB LCD need termination?
« on: August 15, 2018, 01:41:48 pm »
I've designed a board with a 24bit parallel RGB LCD attached to it. However, I'm getting some strange artifacts on it (high-speed flickering, looks like it's an interlaced CRT).

I've verified the timings with an oscilloscope, and they match what the datasheet says.

Looking at the pixel-clock signal, there's quite a bit of over and under-shoot (5.1V PtP, should be 3.3V ideally) as well as a bit of ringing.

The board is impedance controlled to 50ohms (DDR3 on the same PCB works fine at 528MHz), so I'm wondering if I need termination resistors? Anyone with some experience with parallel LCDs?

(Pixel-clock is at 9MHz, so it's not that fast...)
 

Offline capt bullshot

  • Super Contributor
  • ***
  • Posts: 3033
  • Country: de
    • Mostly useless stuff, but nice to have: wunderkis.de
Re: Does parallel RGB LCD need termination?
« Reply #1 on: August 15, 2018, 01:54:56 pm »
Your symptoms point in that direction. I don't know if termination is required in general for those things, for sure it depends on your ground plane and trace lengths. I'd give it a try with an AC coupled end termination for the clock signal, or a source point series termination. One of these usually cures the ringing. 9MHz isn't that fast, yes that's true, but these modern CMOS chips put out quite fast edges, and  the inputs might be sensitive to ground bouncing or noise at way much higher frequencies, causing the flickering.

Configuring the micro's output pins to a less powerful drive / slower edge might also help (many modern uC's have these settings, and often default to fastest, sometimes slower is better).
« Last Edit: August 15, 2018, 01:58:56 pm by capt bullshot »
Safety devices hinder evolution
 
The following users thanked this post: stmdude

Online rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Does parallel RGB LCD need termination?
« Reply #2 on: August 15, 2018, 02:09:08 pm »
FPGAs tend to have very fast edges and when I wanted to talk to a Compact Flash, I had to add 330 Ohm series resistors to knock down the ringing.  Many development boards now come with the resistors.  I think they were added to prevent short circuit damage but they also help with ringing.

You might try just a simple series resistor but adding them into a completed board will be pretty grim.
 
The following users thanked this post: stmdude

Offline stmdudeTopic starter

  • Frequent Contributor
  • **
  • Posts: 479
  • Country: se
Re: Does parallel RGB LCD need termination?
« Reply #3 on: August 15, 2018, 02:34:37 pm »
Configuring the micro's output pins to a less powerful drive / slower edge might also help (many modern uC's have these settings, and often default to fastest, sometimes slower is better).

Thanks for reminding me of that (amazing how you forget some things when you focus too much on the problem). Drastically lowering the slew-rate and drive-strength helped quite a bit. I'm down to 3.6V PtP, and negligible ringing.

The display got a bit better, but still not good enough (tm). However, with the now less than impressive rise/fall times, I might actually need to length-tune the LCD signals. Oh well, another revision was planned anyways. ;)
 

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8172
  • Country: fi
Re: Does parallel RGB LCD need termination?
« Reply #4 on: August 15, 2018, 03:36:27 pm »
9 MHz is completely irrelevant - only the edge rate matters. Even 1Hz pulses can be problematic. If this is a single point-to-point, use series termination (at the source pins) to your 50 ohm controlled impedance. 33R would probably be close enough, when added up with the FPGA's CMOS source/sink resistance. You can use higher resistance if the speed is not an issue, as it probably isn't.

9 MHz, however, is a relevant number when it comes to length tuning the parallel bus - no need to go for it.

Clock polarity issue is one possible cause.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21674
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Does parallel RGB LCD need termination?
« Reply #5 on: August 15, 2018, 04:05:03 pm »
If you're getting overshoot and ringing, it's not impedance controlled, simple as that. :)  Add termination to address that.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf