码迷,mamicode.com
首页 > 其他好文 > 详细

i2c 异常之i2c1 prob 检测超时

时间:2015-05-19 14:24:26      阅读:382      评论:0      收藏:0      [点我收藏+]

标签:

在没加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

i2c 异常之i2c1 prob 检测超时

标签:

原文地址:http://www.cnblogs.com/pengkunfan/p/4514456.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!