求问有没有用过GM7122芯片的。死活就调不出来,网上资料也很少,相关BT656转cvbs的方案就很少。也不知道哪里出了问题。
II2通讯应该没问题,可读可写。
这里晶振及相关元器件没有焊接。
代码是按照范例上写的。
WriteReg(GM_REG_BURST_START,0x21); //0x28:Burst开始
WriteReg(GM_REG_BURST_END,0x1D); //0x29:Burst结束
WriteReg(GM_REG_INPUT,0x13); //0x3A:输入端口控制,00010011,SYMP=1行场通过数据获取
//CBENB,-,-,SYMP,-,-,Y2C,UV2C
WriteReg(GM_REG_1,0x00); //0x5A:色差相位
WriteReg(GM_REG_U_GAIN,0x6D); //0x5B:U增益
WriteReg(GM_REG_V_GAIN,0x9F); //0x5C:V增益
WriteReg(GM_REG_BLACK,0x0E); //0x5D:U-MSB,黑电平?
WriteReg(GM_REG_2,0x1C); //0x5E:消隐电平
WriteReg(GM_REG_STANDARD,0x06); //0x61:输出标准
WriteReg(GM_REG_RTC_BURST_,0x3B); //0x62:RTC不使能,Burst振幅控制
WriteReg(GM_ADDR_SUBCARRIER1_0,0xCB); //0x63:副载波0123
WriteReg(GM_ADDR_SUBCARRIER1_1,0x8A);
WriteReg(GM_ADDR_SUBCARRIER1_2,0x09);
WriteReg(GM_ADDR_SUBCARRIER1_3,0x2A);
WriteReg(GM_ADDR_RCV,0x00); //0x6B:RCV端口控制
WriteReg(GM_ADDR_TRIGGER_1,0xF5); //0x6C:触发
WriteReg(GM_ADDR_TRIGGER_2,0xB1);
|