tcl59401 学习

来源:互联网 发布:python语言基本语句 编辑:程序博客网 时间:2024/05/19 08:37

IREF:    电流的参考值 
GSCLK:  grayscale PWM的基准时钟。
BLANK:  当BLANK拉高,所有的输出引脚被强制关闭,GS counter 被复位。当BLANK 拉低,输出由灰度PWM控制。
XERR:   错误输出。
SCLK:  位移时钟
SIN:   串行数据输入

XLAT:  当XLAT为高时,59401可以从shift register 往GS register 里写(MODE is low) 或者 DC register (MODE is high)。
当XLAT为低时,数据在GS或者DC register 里的数据保持不变。

SOUT:  串行数据输出
MODE:  当MODE为地,设备处在GS mode。当MODE为Vcc,设置处在DC mode。

GS Register: 12-Bit Grayscale PWM Control  用来控制亮度

DC Register: 6-Bit  Dot Correction    就是开关的意思
             LED Open Detection

setting dot correction

    Each of the 16 channels can be programmed with a6-bit word.
    16*6 = 96
The channel output can be adjusted in 64 steps from 0% to 100% of the maximum output current Imax.
Imax  这个电流值的意义
调节的是最大输出电流。

 

SETTING GRAYSCALE

    The use of 12 bits per channel results in 4096 different brightness steps, from 0% to 100% brightness.
Brightness in % = GSn/4095 * 100

The complete grayscale data format consists of 16 × 12 bit words, which forms a 192-bit wide data packet.


status information output


 

0 0
原创粉丝点击