SLVAFI4 july   2023 LP5890 , LP5891 , TLC6983 , TLC6984

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Design Recipe
    1. 2.1 Check Sub-period Number and Segment Length
    2. 2.2 Design Scan Line Number
    3. 2.3 Design SCLK Frequency
  6. 3Summary
  7. 4References

Design SCLK Frequency

As shown in Figure 2-1, cascaded devices compose one data stream (SIN1, SIN2…,SINx). The SCLK frequency is determined by the data volume of the data stream in each frame and frame rate. Each scan line of TLC6983 has 48-bit-wide memory for every corresponding RGB channel. If dual devices are in stackable mode (Nstack = 2), there are 32 channels for each sub-block. If three devices are in stackable mode (Nstack = 3), there are 48 channels for each sub-block.

Note that if there are unused channels in the sub-block, the FPGA controller still needs to send zero gray scale data (GS data) to the unused channels since the GS data needs to be continuously stored into the SRAM for all 16 RGB channels in each scan line. The channel counter resets to 0 after 16 gray scale data-write operations. However, there is no need to send the zero data to unused scan lines since all scan lines have been updated with new gray scale data once the line counter exceeds the scan line number.

The equation of the data volume is,

Equation 6. V D a t a = N s c a n _ l i n e × 16 × N m o d e × 48   b i t s × N c a s c a d e N m o d e = N s c a n _ l i n e × 16 × 48   b i t s × N c a s c a d e

In this example, the data volume VData = 18 × 16 × 48 × 6 = 82.944Kb.

For the data transmission, with the exception of the effective gray scale data, there is other data. Some of the other data is head bytes, a check bit, end bits, and more. The data transmission efficiency is supposed to be 80% based on empirical value.

Hence, the equation of the minimum SCLK frequency with single-edge transmission is,

Equation 7. f S C L K = V D a t a × f f r a m e _ r a t e 0.8

In this example, the minimum SCLK frequency is 12.4 MHz with single-edge transmission and 6.2 MHz with dual-edge transmission. Finally, single-edge transmission of 12.5-MHz SCLK can be selected, which is generally used in an FPGA.

Table 2-2 lists the updated design requirements based on above calculations. Then engineers can start the configuration work for the driver registers to match those requirements.

Table 2-2 LED Display Screen Design Requirements Summary
Parameters Symbol 60-Hz FPS 120-Hz FPS
Frame Rate (Hz) fframe_rate 60 120
PWM Resolution, Gray scale Intensity, or Color depth (bits) K 16 16
Maximum Refresh Rate (Hz) frefresh_rate 7680 7680
Maximum Sub-period Number within one frame Nsub_period 128 64
GCLK number per segment (Line switch time excluded) NGCLK_seg 512 1024
Cascaded devices number (#) Ncascade 6 6
Scan Lines number (#) Nmode 18 18
Independent or Stackable mode device number (#) fSCLK 2 2
SCLK Frequency (MHz) fmin_GCLK 12.5 12.5
Minimum GCLK frequency (MHz) - 77 147.8
Gamma Coefficient - 2.6 2.6
Typical Brightness (nit) - 48 48
Color Temperature (K) - 6000 6000