你好技术老师:
现在有一个项目需要用到贵公司的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);