Guide de l'horloge pixel et de la synchronisation LCD : pourquoi les écrans TFT de même résolution ne sont pas toujours compatibles

Deux modules LCD TFT peuvent avoir la même résolution active et utiliser la même famille d'interfaces, tout en nécessitant des réglages de carte contrôleur différents. Un panneau peut fonctionner correctement tandis que l'autre reste noir, décale l'image, coupe un bord, répète une partie de la trame ou ne démarre que par intermittence.

L'information manquante est souvent la synchronisation d'affichage complète. Une résolution telle que 800 × 480 décrit la zone de pixels visible. Elle ne décrit pas les intervalles de blanking horizontal et vertical, les largeurs d'impulsion de synchronisation, la polarité du signal, le front d'échantillonnage ou l'horloge pixel LCD requise Horloge pixel LCD. Ces paramètres indiquent au panneau quand chaque ligne active et chaque trame commencent et se terminent.

Ce guide explique comment l'horloge pixel, les porches, les signaux de synchronisation et le Data Enable affectent la compatibilité des LCD TFT. Il fournit également un processus pratique pour comparer un panneau avec une carte contrôleur sans considérer la résolution ou le type de connecteur comme une preuve de compatibilité.

Qu'est-ce que la synchronisation d'affichage LCD ?

Un contrôleur d'affichage envoie les données d'image selon une séquence répétée. Il transmet une ligne à la fois et combine les lignes en une trame complète. L'image active n'occupe qu'une partie de cette séquence. Le contrôleur produit également des intervalles qui séparent une ligne de la suivante et une trame de la suivante.

Pour un panneau RGB parallèle, l'hôte peut exposer cette structure via l'horloge pixel, la synchronisation horizontale, la synchronisation verticale et les signaux Data Enable. D'autres interfaces empaquettent ou sérialisent les informations différemment, mais le panneau a toujours besoin d'une cadence d'image valide et d'un mode natif pris en charge.

Zone d'image active

La zone active contient les pixels qui apparaissent à l'écran. Un panneau 800 × 480 possède 800 positions de pixels actifs dans chaque ligne et 480 lignes actives dans chaque trame. Ces valeurs sont souvent appelées Hactive et Vactive.

La résolution active est facile à comparer, c'est pourquoi les fiches produit la mettent en avant. Cependant, elle ne constitue qu'une partie du mode.

Zone de synchronisation totale

Chaque ligne contient également un porche avant horizontal, un intervalle HSYNC et un porche arrière horizontal. Chaque trame contient des intervalles verticaux correspondants. Ces périodes non actives forment les régions de blanking horizontal et vertical.

Le contrôleur doit donc générer plus de périodes pixel que le nombre de pixels visibles. La longueur complète de ligne est le total horizontal. La hauteur complète de trame est le total vertical.

Pourquoi le panneau a besoin de limites de synchronisation

Le pilote du panneau doit savoir quelles valeurs transmises appartiennent à l'image visible. Il a également besoin d'une limite cohérente entre les lignes et les trames. Selon le mode du panneau, il utilise HSYNC, VSYNC, Data Enable ou une combinaison de ces signaux.

Des limites incorrectes peuvent amener le pilote à commencer une ligne trop tôt, à accepter des données inactives comme pixels ou à perdre l'alignement de trame. Un affichage peut donc recevoir des données de couleur valides mais les placer dans la mauvaise partie de l'image.

Principaux paramètres de synchronisation des LCD TFT

ParamètresSignificationPourquoi c'est important
HactivePixels visibles dans chaque ligneDéfinit la largeur de l'image active
HFPPorche avant horizontalSépare les données actives de l'intervalle de synchronisation horizontale
HSYNCLargeur d'impulsion de synchronisation horizontaleMarque ou prend en charge la limite de ligne
HBPPorche arrière horizontalSépare l'intervalle de synchronisation de la ligne active suivante
VactiveLignes visibles dans chaque trameDéfinit la hauteur de l'image active
VFPPorche avant verticalSépare la trame active de la synchronisation verticale
VSYNCLargeur de l'impulsion de synchronisation verticaleMarque ou prend en charge la limite de trame
VBPPorche arrière verticalSépare la synchronisation verticale de la prochaine trame active
DEData EnableIdentifie les périodes qui contiennent des pixels actifs
PCLKPixel ClockContrôle la vitesse à laquelle les périodes de pixels avancent

Les fiches techniques des panneaux n'utilisent pas toujours les mêmes étiquettes. Elles peuvent décrire les porches comme des marges ou ne lister que le blanking total. Suivez les définitions de la fiche technique exacte du panneau.

Qu'est-ce que l'horloge pixel LCD ?

L'horloge pixel LCD définit la cadence des périodes de pixels dans un flux de synchronisation vidéo. Pour une interface RGB parallèle typique, le contrôleur présente les données de pixels et le panneau échantillonne ces données sur le front d'horloge spécifié. Une période d'horloge fait normalement avancer le transfert d'une position de pixel, y compris les positions à l'intérieur des intervalles de blanking.

L'horloge requise dépend du total horizontal, du total vertical et de la fréquence de rafraîchissement. Elle ne dépend pas uniquement de la résolution active.

L'horloge pixel n'est pas la fréquence de rafraîchissement

La fréquence de rafraîchissement indique combien de trames complètes se produisent chaque seconde. L'horloge pixel indique combien de périodes de pixels se produisent chaque seconde. Une fréquence de trame de 60 Hz n'implique pas une horloge pixel de 60 MHz. La valeur d'horloge dépend également du nombre total de périodes qui composent chaque trame.

Les relations de base sont :

Total horizontal = Hactive + HFP + HSYNC + HBP

Cette formule est une vérification utile, mais la fiche technique du panneau reste la référence faisant autorité. Le circuit intégré pilote peut n'accepter qu'une plage d'horloge spécifiée ou un ensemble limité de combinaisons de synchronisation.

Un calcul pratique de l'horloge pixel

Prenons un exemple illustratif de synchronisation 800 × 480. Les valeurs suivantes sont des exemples à des fins de calcul uniquement. Elles ne constituent pas une spécification pour un produit RJY ni un mode universel 800 × 480.

ObjetValeur illustrative
Hactive800 périodes de pixels
Blanking horizontal combiné256 périodes de pixels
Total horizontal1 056 périodes de pixels
Vactive480 lignes
Blanking vertical combiné45 lignes
Total vertical525 lignes
Fréquence de rafraîchissement60 trames par seconde
Pixel Clock = 1 056 × 525 × 60

Si un ingénieur calcule uniquement les pixels actifs, le résultat est :

800 × 480 × 60 = 23,04 MHz

Ce résultat omet toutes les périodes de blanking. Dans cet exemple, il sous-estimerait l'horloge requise de plus de 10 MHz. Cette différence explique pourquoi la résolution et la fréquence de trame seules ne peuvent pas définir la synchronisation d'un panneau.

Valeurs typiques, minimales et maximales

De nombreuses fiches techniques fournissent des valeurs typiques, minimales et maximales. Les valeurs à l'intérieur de chaque plage individuelle ne créent pas toujours un mode combiné valide. L'horloge totale doit également rester dans sa plage prise en charge.

Partez du mode typique recommandé. Ne modifiez un porche, l'horloge ou la fréquence de rafraîchissement que lorsque la documentation du panneau et la conception de l'hôte le permettent, puis vérifiez le résultat sur le système complet.

Porche avant, porche arrière et largeur de synchronisation

Un porche est un intervalle inactif à côté de la région vidéo active. Les termes proviennent de la synchronisation des écrans à balayage, mais ils décrivent encore la structure de blanking utilisée par les interfaces numériques modernes des panneaux.

Séquence de synchronisation horizontale

Une ligne contient généralement des données de pixels actifs, un porche avant horizontal, une impulsion HSYNC et un porche arrière horizontal. L'ordre exact indiqué dans une fiche technique peut dépendre du point de référence utilisé dans le diagramme. Ce qui importe, c'est que l'hôte reproduise les tailles d'intervalle et la polarité requises.

Le porche avant sépare la fin des données actives de l'événement de synchronisation. Le porche arrière sépare cet événement du début de la ligne active suivante. La largeur HSYNC définit la durée de l'impulsion de synchronisation lorsque le mode sélectionné l'utilise.

Séquence de synchronisation verticale

La synchronisation verticale suit le même concept, mais ses unités sont des lignes plutôt que des horloges pixel. La séquence comprend des lignes actives, un porche avant vertical, un intervalle VSYNC et un porche arrière vertical.

Pourquoi les valeurs de porche ne sont pas librement interchangeables

Deux modes peuvent avoir le même total horizontal mais attribuer des valeurs différentes à HFP, HSYNC et HBP. Ils ne se comportent pas nécessairement de la même manière. Le panneau peut utiliser un front ou un intervalle spécifique pour réinitialiser un compteur de lignes interne ou préparer la prochaine région active.

Ne redistribuez pas les valeurs de porche simplement pour préserver le total. Confirmez les valeurs autorisées à partir du tableau de synchronisation du panneau. Si la fiche technique ne liste que le blanking total, demandez la synchronisation détaillée ou une référence d'initialisation validée auprès du fournisseur du panneau.

HSYNC, VSYNC et Data Enable

HSYNC identifie les limites de synchronisation horizontale. VSYNC identifie les limites de synchronisation verticale. Data Enable indique quand le bus de données contient des pixels d'image actifs. Différents panneaux utilisent ces signaux dans différents modes.

SYNC mode

In a synchronization-based mode, the panel uses HSYNC and VSYNC to identify line and frame timing. The controller must generate the pulse widths, porches and active periods that the panel expects.

SYNC-DE mode

In SYNC-DE mode, the panel receives synchronization signals and Data Enable. DE qualifies the active image region while HSYNC and VSYNC preserve line and frame structure.

DE-only mode

Some panels support a mode in which Data Enable defines the active region and the panel does not use external HSYNC and VSYNC inputs. This does not remove the need for correct totals and blanking. The width of DE, the gap between active lines and the gap between active frames still form a timing pattern.

A host controller can output several signals at once, but that does not prove that every connected panel can use the same configuration. Select the mode documented for the panel and connect only the signals required by that design.

Polarité du signal et front d'échantillonnage des pixels

Frequency and pulse width are not enough. A panel also expects each control signal to be active at a defined logic level. HSYNC, VSYNC and DE can be active high or active low. The panel may sample pixel data on the rising or falling edge of Pixel Clock.

Correct frequency, wrong polarity

If the host uses the wrong sync polarity, the panel can interpret inactive time as the sync pulse or fail to recognize the intended event. Incorrect DE polarity can mark blanking as active data and active data as blanking. The result may be a black display, an unstable frame, a shifted image or an image that appears only under some conditions.

Setup and hold time

The data bus must remain stable for a specified period before and after the sampling edge. These intervals are the setup and hold times. Long PCB routes, unsuitable level shifting, connector loss, clock skew and incorrect output-edge settings can reduce the available margin.

For higher-speed designs, a correct average clock frequency does not prove adequate signal quality. Engineers must also review waveform integrity and timing at the panel input.

Pourquoi des LCD de même résolution peuvent nécessiter des synchronisations différentes

Resolution defines the active pixel matrix. It does not standardize the electronics around that matrix.

Two same-resolution TFT LCD modules showing different timing behavior
Two same-resolution TFT LCD modules showing different timing behavior

Different driver ICs

Two modules can use different timing-controller or source-driver designs. Each driver can have its own accepted blanking range, polarity, sampling edge and initialization sequence. A replacement panel may therefore need a new controller-board configuration even when the active pixels match.

Different panel architectures

Gate-driver integration, source-driver arrangement and internal timing generation can change the required input mode. An integrated timing controller can accept a different range from a module that depends more directly on external timing.

Different refresh-rate and clock ranges

A host may generate a common 60 Hz mode, but the panel datasheet can specify another typical rate or a limited allowable range. Changing the blanking while retaining 60 Hz also changes the required Pixel Clock.

Different synchronization modes

One RGB panel may use SYNC-DE mode while another uses DE-only mode. The FPC can carry similar data lines, yet the controller and pin definition still need different treatment.

Other compatibility layers

Even identical display timing does not prove full compatibility. Check the connector and pin definition, power rails, reset sequence, backlight circuit, touch interface, image orientation, driver support and mechanical fit. Timing is one system layer, not a substitute for the rest of the review.

Comment l'interface transporte la synchronisation

RGB parallèle

Parallel RGB makes timing easy to observe. Separate conductors commonly carry red, green and blue data together with Pixel Clock, DE and synchronization signals. The display controller produces the raster timing directly.

This visibility does not make the interface universal. Data width, color ordering, voltage, polarity, sampling edge and timing must still match.

LVDS

An LVDS transmitter serializes pixel and control information into differential pairs. The panel receiver reconstructs the data. The system still needs a valid native mode, correct LVDS mapping, suitable channel count, supported bit depth and correct clock relationship.

Pixel Clock is related to the transported pixel rate, but it is not the same value as the serial bit rate on an LVDS pair. Serialization ratio and link architecture affect the physical data rate.

MIPI DSI video mode

MIPI DSI video mode transports a video stream in packets over one or more high-speed data lanes. Active video and blanking requirements affect the data that must cross the link. Lane count, pixel format, operating mode, overhead and D-PHY settings determine whether the host has enough capacity.

The familiar RGB timing values can still appear in the host configuration, but the DSI lane clock is not simply equal to Pixel Clock. Use the SoC, bridge and panel documentation to calculate and validate the link.

MIPI DSI command mode

Command-mode panels can receive updates through display commands and may use internal frame memory. Their transfer behavior differs from a continuous parallel RGB stream. Do not apply a video-mode calculation without confirming how the selected panel and host implement command mode.

eDP and HDMI paths

eDP carries standardized packetized display data, while HDMI often appears as an input to a controller board rather than as the native interface of a bare LCD module. A board must still output a panel-supported mode on the internal display side.

An HDMI source showing the correct resolution does not prove that an HDMI-to-MIPI or HDMI-to-LVDS board can drive a given panel. The active conversion depends on the bridge, output interface, panel timing, firmware and physical connection.

Comment le blanking affecte la bande passante

Larger blanking intervals increase the horizontal or vertical total. At the same refresh rate, this raises Pixel Clock. More pixel periods per second also increase the rate at which the display pipeline must move data.

The impact extends beyond the panel connector:

  • The display controller must generate the required clock.
  • A bridge IC must accept and produce the required mode.
  • The physical link must provide sufficient throughput.
  • The framebuffer path must deliver active pixel data on time.
  • Memory bandwidth must support the pixel format, layers and refresh rate.

A simple framebuffer bandwidth estimate often starts with active pixels, bytes per pixel and frames per second. Real system demand can be higher because of graphics layers, memory bursts, alignment, scaling and other access. Link bandwidth calculations also include encoding or packet overhead that is specific to the interface.

Do not treat one Pixel Clock formula as a complete system bandwidth model. Use it to establish the raster rate, then check each controller, bridge, memory and physical-link limit.

Symptômes d'une synchronisation LCD incorrecte

SymptômeTiming-related checksOther checks
Black screenPixel Clock, DE, sync mode, polarityPower, reset, initialization, data path, backlight
White screen with backlightValid active video and timingPanel initialization, pinout, interface and controller support
Horizontal image shiftHFP, HBP, HSYNC and active widthData mapping and cropping settings
Vertical image shiftVFP, VBP, VSYNC and active heightRotation, scaling and framebuffer configuration
Cropped edgeActive area and total timingScaling, OSD or source-mode configuration
Repeated or wrapped regionLine or frame boundary valuesFramebuffer stride and bridge configuration
FlickerClock stability, refresh rate, sync and DEPower noise, backlight PWM, cable and signal integrity
Intermittent startupTiming enable and clock startupPower sequence, reset, firmware and temperature

These symptoms are clues, not proof. For example, flicker can come from an unstable Pixel Clock, but it can also come from the LED driver or a poor connector. Diagnose the display as a system.

Comment lire un tableau de synchronisation LCD

  1. Confirm the exact panel and document revision. A model suffix can identify another FPC, driver IC or timing configuration.
  2. Find the interface mode. Identify RGB, LVDS, MIPI DSI or another path and the supported operating mode.
  3. Record Hactive and Vactive. Do not infer them only from a marketing resolution.
  4. Record each porch and sync width. Note whether the values are expressed in clocks or lines.
  5. Calculate horizontal and vertical totals. Compare your results with any totals stated in the document.
  6. Check Pixel Clock. Record typical, minimum and maximum values where provided.
  7. Check polarity. Verify HSYNC, VSYNC, DE and clock-edge definitions.
  8. Check setup and hold time. Compare these requirements with the host and board design.
  9. Read the timing notes. A footnote can define dependencies that the main table does not show.
  10. Keep the recommended mode together. Do not mix typical values from one mode with limits from another.

Comment comparer un panneau avec une carte contrôleur

1. Identify the exact hardware

Record the LCD model and revision, driver IC when available, controller-board model, bridge IC, connector and PCB revision. Compatibility cannot be confirmed from screen size and resolution alone.

2. Compare the complete panel mode

Create a table for active resolution, total resolution, porches, sync widths, refresh rate, Pixel Clock, polarity and sampling edge. Compare it with the modes that the controller or firmware can generate.

3. Check interface-specific requirements

For LVDS, include mapping, channel count and bit depth. For MIPI DSI, include lane count, pixel format, video or command mode, lane-rate limits and initialization commands. For RGB, include data width and voltage.

4. Check the clock source and divider

A processor may calculate its display clock from a parent clock and integer or fractional divider. The exact requested value may not be available. Confirm the actual generated clock and ensure that the resulting frame rate remains inside the panel limits.

5. Check firmware and operating-system support

The board support package, device tree, bootloader or controller firmware must describe the correct mode. A hardware-capable board can still fail if the software loads a default timing for another panel.

6. Check power, reset and backlight separately

Correct video timing cannot repair a wrong supply, reset pulse, initialization sequence or LED-driver mismatch. Keep these checks in the same validation plan, but do not confuse them with raster timing.

7. Validate repeated transitions

Test cold power-up, warm restart, signal reconnect, sleep, wake and controlled power-down. Observe whether the clock and active video start only after the panel is ready and whether the backlight exposes an invalid frame.

Mesurer la synchronisation sur du matériel réel

Oscilloscope probes validating signals on a TFT LCD controller board
Oscilloscope probes validating signals on a TFT LCD controller board

Oscilloscope checks

On accessible parallel signals, an oscilloscope can measure Pixel Clock frequency, HSYNC rate, VSYNC rate, DE width, polarity and startup order. From the measured HSYNC and VSYNC rates, engineers can check whether the actual line and frame cadence agrees with the intended mode.

Use probes and bandwidth appropriate for the signal. Poor probing can distort an edge or add enough loading to change behavior. Differential high-speed links require suitable differential measurement equipment and methods.

Logic-analyzer checks

A logic analyzer can help with lower-speed control signals, GPIO sequencing, SPI initialization or I²C configuration. It is not automatically suitable for capturing every MIPI, LVDS or eDP physical-layer signal. Use protocol-specific equipment when the link speed and signaling method require it.

Measurement does not replace the datasheet

A measurement shows what the board generates, not what the panel accepts. Compare it with the approved specification.

Firmware, Device Tree et configuration de la carte

A typical embedded display configuration can include:

  • Largeur et hauteur actives
  • Porches horizontaux et verticaux
  • HSYNC and VSYNC widths
  • Pixel Clock or clock-divider settings
  • HSYNC, VSYNC, DE and clock polarity
  • Pixel format and color order
  • LVDS mapping or MIPI lane settings
  • Reset and enable GPIO behavior
  • Commandes d'initialisation du panneau
  • Backlight enable and dimming control

Linux display drivers and device trees often store mode parameters as separate clock, active-area, margin, sync-length and polarity values. An Android-based board can use the same kernel-level configuration concepts even though the user interface runs on Android.

Firmware configuration test for a TFT LCD and controller board
Firmware configuration test for a TFT LCD and controller board

Firmware adaptation is therefore a real part of panel matching. It should be planned with the hardware review rather than treated as a final software setting after the board is complete.

Ce que RJY Display peut examiner

RJY Display can review display timing as part of a project-specific LCD and controller-board configuration. Depending on the selected panel and host platform, the scope can include:

  • Native resolution and timing-table comparison
  • Pixel Clock, porch, sync and polarity review
  • RGB, LVDS, MIPI, eDP and related interface coordination
  • Controller-board and bridge-path evaluation
  • Project-dependent firmware adaptation
  • FPC, connector and pin-definition coordination
  • Backlight, touchscreen and power review
  • Display-related mechanical integration

This is a compatibility process, not a universal board claim. The result depends on the exact LCD, controller hardware, firmware, operating system and application environment. An active HDMI-to-MIPI or HDMI-to-LVDS path must be designed for the selected panel; it is not a passive cable conversion.

Informations nécessaires pour une revue de compatibilité de synchronisation

Send the following information where available:

  • Modèle et révision complets du LCD
  • Panel datasheet and timing table
  • Native resolution and interface
  • Driver IC or timing-controller information
  • Pin definition and connector drawing
  • Pixel Clock range
  • Horizontal and vertical porch values
  • HSYNC and VSYNC widths and polarity
  • Controller board, processor and bridge IC
  • Operating system, firmware or BSP information
  • Backlight and touchscreen requirements
  • Photographs or video of the current failure
  • Sample quantity, expected volume and project schedule

If the current system already works with another panel, include that panel’s datasheet and approved configuration. A side-by-side comparison often shows whether the difference lies in timing, pinout, interface mode, power or software.

Utiliser la synchronisation complète, pas seulement la résolution

LCD pixel clock connects resolution, blanking and refresh rate, but it is not the only compatibility parameter. Engineers must also preserve the required porches, sync widths, Data Enable behavior, polarity and sampling edge. The chosen interface and firmware then need to carry or generate that mode correctly.

This is why two same-resolution panels can produce different results on the same board. Treat the panel timing table as part of the hardware specification, not as an optional software detail.

For related engineering guidance, review LCD display interfaces, compare MIPI and LVDS for industrial LCDs, ou lisez le LVDS data-mapping guide. If you are matching a panel to a host platform, see how to match a TFT LCD with an Android board. For a project review, submit your LCD timing and controller-board information.

Questions fréquemment posées

What is the pixel clock of an LCD?

Pixel Clock is the rate at which pixel periods advance in a display timing stream. It includes active pixels and the pixel periods used by horizontal and vertical blanking.

How do I calculate LCD pixel clock?

Add the active width, horizontal porches and HSYNC width to obtain the horizontal total. Add the active height, vertical porches and VSYNC width to obtain the vertical total. Multiply both totals by the refresh rate. Then compare the result with the panel’s specified clock range.

Is pixel clock the same as refresh rate?

No. Refresh rate is the number of complete frames per second. Pixel Clock is the number of pixel periods per second. The totals for each line and frame connect the two values.

Why do two LCDs with the same resolution use different timings?

They can use different driver ICs, blanking intervals, synchronization modes, clock ranges, signal polarities and initialization requirements. Resolution describes only the active pixel matrix.

Can I change porch values if the total timing stays the same?

Do not assume so. A panel can require specific front porch, sync width and back porch ranges even when the total is unchanged. Use the exact datasheet limits and validate the complete system.

What happens when HSYNC or VSYNC polarity is wrong?

The panel may fail to recognize line or frame boundaries. Possible results include a black screen, image shift, unstable display or intermittent operation. These symptoms can also have other causes.

Does an LVDS or MIPI display still need timing configuration?

Yes. These interfaces transport display data differently from parallel RGB, but the host, bridge and panel still need a supported native mode. Link mapping, lane configuration, throughput and firmware must also match.

Can RJY match a controller board using only the LCD resolution?

No. A review also needs the LCD model, interface, pin definition, timing, driver IC when available, power, backlight, touch, firmware, operating system and application requirements.

Références

  1. STMicroelectronics, Introduction to LCD-TFT Display Controller (LTDC) on STM32 MCUs, AN4861.
  2. STMicroelectronics, Introduction to DSI Host on STM32 MCUs and MPUs, AN4860.
  3. NXP Semiconductors, Different Display Configurations on the i.MX31 Linux PDK, AN4182.
  4. NXP Semiconductors, XGATE Library: Driving a TFT LCD Panel, AN3493.
  5. Linux Kernel Documentation, Driver for PXA25x LCD Controller.
  6. Texas Instruments, DS90C387 Dual Pixel LVDS Display Interface Transmitter Documentation.
↗

Vous planifiez un projet d'affichage ?

Partagez la taille de votre écran, sa résolution, son interface, sa luminosité, ses exigences tactiles, les besoins en carte contrôleur et l'environnement d'application.

Demander un examen de compatibilité
Support de projet

Vous n'êtes toujours pas sûr de l'écran adapté à votre projet ?

Parlez à l'équipe d'ingénierie de RJY pour la correspondance d'affichage, l'examen de la carte contrôleur et une discussion sur la personnalisation.