i2c 异常之i2c1 prob 检测超时
在没加atl 的fpga 时 i2c1上的tvp5150 vpss驱动加载没问题,
加了之后出现超时
I2C: timed out in wait_for_bb: I2C_IRQSTATUS=1000
http://www.tuicool.com/articles/6BnIJ3
/*
* PSP_i2cCreate should have been called for this instance
* for its proper initialization.
*/
if(gVps_deviceObj.i2cHndl[i2cInstId] != NULL)
{
for (slaveAddr = 0x5c; slaveAddr < 0x5d/*128*/; slaveAddr++)
{
if (PSP_i2cProbe(i2cInstId, slaveAddr) == 0)
{
Vps_printf (" I2C%d: Passed for address 0x%x !!! \r\n", i2cInstId, slaveAddr);
}
}
}
只加载5150的i2c 后可以通过
https://www.baidu.com/s?ie=utf-8&f=8&rsv_bp=1&rsv_idx=1&tn=baidu&wd=pal%20有60的帧率吗?&rsv_pq=8d9b4dd0000047c8&rsv_t=0d77rREgmxm6002UvcIxG2h2NOJ90d%2FJOAqMZKlufcfmI9gt0mw6Zj9%2B3MQ&rsv_enter=1&rsv_sug3=10&rsv_sug1=2&rsv_sug2=0&inputT=317622&rsv_sug4=317622