This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
专家:我现在正在使用tvp5160做cvbs和svideo的输入处理,机器上电后延时500ms后会对5160做一次检测,读取5160的 0x80和0x81两个寄存器,之后再对5160进行初始化。可是现在的问题就是在检测的时候判断不等于0x51和0x60的情况下,等初始化结束后我去 通过i2c读取5160就会出现i2c挂死的现象。有时候掉电重启在检测的时候判断等于那两个值,这样的情况下i2c不会挂死,可以正常访问。
这是我们的初始化配置:
// ROM Initialization Procedure - Required
0xee, 0x01,
0xe8, 0x63,
0xe9, 0x00,
0xea, 0xb0,
0xe0, 0x01,
0xee, 0x00,
// CV prior to YC
0x00, 0x01,
// Autoswitch: (M)PAL, (B, D, G, H, I, N)PAL, (M, J)NTSC
0x04, 0x7f,
// No pedestal present
0x06, 0x40,
// Component Autoswitch includes 576i 480i
0x30, 0x0c,
// VS Active high, HS Active high
//0x32, 0x0c,
// 40 for 10bit emb, 41 for 20bit separate, 43 for 10bit separate
0x33, 0x40,
// C[9:0] Y[9:0] enabled, SCLK(PCLK) enabled, Data out on SCLK falling edge
0x34, 0x11,
// GPSO[1:0](pin82) output 0, AVID[1:0](pin115) DE out, GLCO[1:0](pin83) input, FID[1:0] is FID output
0x35, 0x2e,
// VS/VBLK vertical syncs
// HS/CS horizontal syncs
// C0, C1 output 0
0x36, 0xa0,
// all C_X output 0
0x37, 0x00,
0x38, 0x00,
// SDRAM control - 4 Banks 32Mbits, Enabled
0x59, 0x05,
// 3DYC and 3DNR Enabled
0x0d, 0xc4
我想请问下我们的操作是否有哪里不对?
还有请问个,datasheet里面写到上电后需要对VBUS地址0xB00063进行写操作:
可是在另外一个地方发现有写到该地址是保留的:
还请专家给我讲解下,特别是为什么在自检失败的时候会不能访问?谢谢!