微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 硬件电路设计 > TI模拟硬件电路设计 > 关于ths8200颜色问题

关于ths8200颜色问题

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

你好技术老师:

           现在有一个项目需要用到贵公司的ths8200,输入是1080P 60 Hz 30bit RGB 444,输出Ypbpr。现在调试上遇到一些问题,发现输出画面亮度有点亮,用K-8258信号发生器产生color-56  50%到100%亮度单色画面,红色和蓝色不同亮度下区分不明显,输入32灰阶发现低3灰阶和高3灰阶都饱和,颜色稍微有点偏红。使用了CSC转换,寄存器设置如下,还有请教一下CSM寄存器是不是可以调节输出色彩的,如何配置?忘回复,非常感谢。

printf("\r\n ### 1080P ### \r\n");
THS8200_WriteByte(0x03,0x81); // chip_ctl
// CSC
THS8200_WriteByte(0x04,0x00);
THS8200_WriteByte(0x05,0xDA);
THS8200_WriteByte(0x06,0x80);
THS8200_WriteByte(0x07,0x78);
THS8200_WriteByte(0x08,0x02);
THS8200_WriteByte(0x09,0x0C);

THS8200_WriteByte(0x0A,0x02);
THS8200_WriteByte(0x0B,0xDC);
THS8200_WriteByte(0x0C,0x81);
THS8200_WriteByte(0x0D,0x84);
THS8200_WriteByte(0x0E,0x81);
THS8200_WriteByte(0x0F,0xDC);

THS8200_WriteByte(0x10,0x00);
THS8200_WriteByte(0x11,0x4A);
THS8200_WriteByte(0x12,0x02);
THS8200_WriteByte(0x13,0x0C);
THS8200_WriteByte(0x14,0x80);
THS8200_WriteByte(0x15,0x30);

THS8200_WriteByte(0x16,0x00);
THS8200_WriteByte(0x17,0x08);
THS8200_WriteByte(0x18,0x01);//0x02);//cscoffset=0x79
THS8200_WriteByte(0x19,0xE5);//0x01);

THS8200_WriteByte(0x1C,0x20);
// composite sync amplitude control
THS8200_WriteByte(0x1D,0xFF);
THS8200_WriteByte(0x1E,0x49);
THS8200_WriteByte(0x1F,0xB6);
THS8200_WriteByte(0x20,0xFF);
THS8200_WriteByte(0x21,0xFF);
THS8200_WriteByte(0x22,0xFF);
THS8200_WriteByte(0x23,0x13);
THS8200_WriteByte(0x24,0x15);
// horizontal timing setup
THS8200_WriteByte(0x25,0x2C);
THS8200_WriteByte(0x26,0x58);
THS8200_WriteByte(0x27,0x2C);
THS8200_WriteByte(0x28,0x84);
THS8200_WriteByte(0x29,0x00);
THS8200_WriteByte(0x2A,0xC0);
THS8200_WriteByte(0x2B,0x00);
THS8200_WriteByte(0x2C,0x00);
THS8200_WriteByte(0x2D,0x00);
THS8200_WriteByte(0x2E,0x00);
THS8200_WriteByte(0x2F,0x58);
THS8200_WriteByte(0x30,0x00);
THS8200_WriteByte(0x31,0x00);
THS8200_WriteByte(0x32,0x58);
THS8200_WriteByte(0x33,0x00);
THS8200_WriteByte(0x34,0x08); 
THS8200_WriteByte(0x35,0x98);
THS8200_WriteByte(0x36,0x80);
THS8200_WriteByte(0x37,0x02);
THS8200_WriteByte(0x38,0x80);
THS8200_WriteByte(0x39,0x44);
THS8200_WriteByte(0x3A,0x65); 
THS8200_WriteByte(0x3B,0x65);

// CSM setup not required if not used

THS8200_WriteByte(0x4F,0x00);

//discrete output sync control
THS8200_WriteByte(0x70,0x18);
THS8200_WriteByte(0x71,0x48);
THS8200_WriteByte(0x72,0x44);
THS8200_WriteByte(0x73,0x17);
THS8200_WriteByte(0x74,0x04);
THS8200_WriteByte(0x75,0x65);
THS8200_WriteByte(0x76,0x00);
THS8200_WriteByte(0x77,0x02);

THS8200_WriteByte(0x78,0x32);

// discrete input sync control - use to align picture
THS8200_WriteByte(0x79,0x08);//THS8200_WriteByte(0x79,0x00);
THS8200_WriteByte(0x7A,0x17);//0x00);//h
THS8200_WriteByte(0x7B,0x00);
THS8200_WriteByte(0x7C,0x04);//0x01); //v
THS8200_WriteByte(0x82,0x1B);

您好,抱歉回复较慢,

您的问题我建议您在以下链接想关的板块来发帖,这个板块有视频方面的专家。希望能帮到您!

http://www.deyisupport.com/question_answer/dsp_arm/f/22/t/31240.aspx

您好,

亮度的问题,通常可以用调节FSADJ1/2外接的电阻大小来进行调节的。

确认一下,你的这台测试设备,是作为源来使用吧?是不是要通过视频decoder先到某主芯片,再去驱动THS8200的?这里的话可能需要排除一下前端的影响,或者你也可以直接在主芯片端发送测试图样。

你所说的灰阶饱和,指的是这几个灰阶无法辨认?  这个和显示器也有一定关系的。   你可以再确认一下,是否黑足够黑,白足够白?

色偏的问题,你可以直接测量RGB的数字信号值来确认问题是在哪一端产生的。  

如果在THS8200上做调节,你看看csc_offset这几个寄存器,对色彩有一定的影响。

CSM是拿来调整输出范围的,是可以改变颜色,但是结果显得不可控了。 我的建议是,尽量保留原配的设置,因为这个是在最多的硬件上验证可用的配置,仍然是最可信的。  多看看硬件和信号测量上得到的直接证据,不然直接去改寄存器可能会改好了这个改坏了那个。。。

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

网站地图

Top