微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 硬件电路设计 > TI模拟硬件电路设计 > ths8200显示异常问题(左边黑边),图像没有显示完全,颜色偏绿色

ths8200显示异常问题(左边黑边),图像没有显示完全,颜色偏绿色

时间:10-02 整理:3721RD 点击:

如图片所示,显示异常,左边出现大块黑边,图像没有完全显示,另外颜色也不对,偏绿色,目前寄存器的配置如下所示:

                 status &= I2C_writeReg(Devid,0x04,0x81); // csc_ric1            
            status &= I2C_writeReg(Devid,0x05,0xD5); // csc_rfc1            
            status &= I2C_writeReg(Devid,0x06,0x00); // csc_ric2            
            status &= I2C_writeReg(Devid,0x07,0x00); // csc_rfc2            
            status &= I2C_writeReg(Devid,0x08,0x06); // csc_ric3            
            status &= I2C_writeReg(Devid,0x09,0x29); // csc_rfc3            
            status &= I2C_writeReg(Devid,0x0A,0x04); // csc_gic1            
            status &= I2C_writeReg(Devid,0x0B,0x00); // csc_gfc1            
            status &= I2C_writeReg(Devid,0x0C,0x04); // csc_gic2            
            status &= I2C_writeReg(Devid,0x0D,0x00); // csc_gfc2            
            status &= I2C_writeReg(Devid,0x0E,0x04); // csc_gic3            
            status &= I2C_writeReg(Devid,0x0F,0x00); // csc_gfc3            
            status &= I2C_writeReg(Devid,0x10,0x80); // csc_bic1            
            status &= I2C_writeReg(Devid,0x11,0xBB); // csc_bfc1            
            status &= I2C_writeReg(Devid,0x12,0x07); // csc_bic2            
            status &= I2C_writeReg(Devid,0x13,0x44); // csc_bfc2   ?         
            status &= I2C_writeReg(Devid,0x14,0x00); // csc_bic3            
            status &= I2C_writeReg(Devid,0x15,0x00); // csc_bfc3            
            status &= I2C_writeReg(Devid,0x16,0x14); // csc_offset1         
            status &= I2C_writeReg(Devid,0x17,0xAE); // csc_offset12        
            status &= I2C_writeReg(Devid,0x18,0x8B); // csc_offset23        
            status &= I2C_writeReg(Devid,0x19,0x02); // csc_offset3  ? 

      status &= I2C_writeReg(Devid,0x4A,0x00); // csm_mult_gy_msb 

        status &= I2C_writeReg(Devid,0x82,0x3F); // pol_cntl   
        status &= I2C_writeReg(Devid,0x1C,0x1b); // dman_cntl

       status &= I2C_writeReg(Devid,0x03,0x01); // chip_ctl
        status &= I2C_writeReg(Devid,0x1D,0xFF); // dtg_y_sync1 setup tri-level sync
        status &= I2C_writeReg(Devid,0x1E,0x49); // dtg_y_sync2
        status &= I2C_writeReg(Devid,0x1F,0xB6); // dtg_y_sync3
        status &= I2C_writeReg(Devid,0x20,0xFF); // dtg_cbcr_sync1
        status &= I2C_writeReg(Devid,0x21,0xFF); // dtg_cbcr_sync2
        status &= I2C_writeReg(Devid,0x22,0xFF); // dtg_cbcr_sync3
        status &= I2C_writeReg(Devid,0x23,0x13); // dtg_y_sync_upper
        status &= I2C_writeReg(Devid,0x24,0x15); // dtg_cbcr_sync_upper
        status &= I2C_writeReg(Devid,0x25,0x28); // dtg_spec_a use spec registers to set up horizontal timing
        status &= I2C_writeReg(Devid,0x26,0x6E); // dtg_spec_b
        status &= I2C_writeReg(Devid,0x27,0x28); // dtg_spec_c
        status &= I2C_writeReg(Devid,0x28,0x04); // dtg_spec_d
        status &= I2C_writeReg(Devid,0x2A,0x04); // dtg_spec_e
        status &= I2C_writeReg(Devid,0x2B,0xC0); // dtg_spec_h_msb
        status &= I2C_writeReg(Devid,0x2C,0x00); // dtg_spec_h_lsb
        status &= I2C_writeReg(Devid,0x2F,0x6E); // dtg_spec_k_lsb
        status &= I2C_writeReg(Devid,0x30,0x00); // dtg_spec_k_msb
        status &= I2C_writeReg(Devid,0x34,0x06); // dtg_total_pixel_msb 1650 pixels per line
        status &= I2C_writeReg(Devid,0x35,0x72); // dtg_total_pixel_lsb
        status &= I2C_writeReg(Devid,0x36,0x00); // dtg_linecnt_msb
        status &= I2C_writeReg(Devid,0x37,0x01); // dtg_linecnt_lsb
        status &= I2C_writeReg(Devid,0x38,0x82); // dtg_mode select 720p mode (defines vertical structure the video frame)
        status &= I2C_writeReg(Devid,0x39,0x27); // dtg_frame_field_msb 2EEh for 750 lines per frame
        status &= I2C_writeReg(Devid,0x3A,0xEE); // dtg_frame_size_lsb
        status &= I2C_writeReg(Devid,0x3B,0xFF); // dtg_field_size_lsb
        status &= I2C_writeReg(Devid,0x79,0x00); // dtg_hs_in_dly_msb adjusts horizontal input delay
        status &= I2C_writeReg(Devid,0x7A,0x60); // dtg_hs_in_dly_lsb
        status &= I2C_writeReg(Devid,0x7B,0x00); // dtg_vs_in_dly_msb adjust vertical input delay
        status &= I2C_writeReg(Devid,0x7C,0x07); // dtg_vs_in_dly_lsb

从图像看, 只有单一绿色通道. 其它颜色没有显示. 另外行幅度设置没有匹配显示器

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top