完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
Platform: Rockchip
OS: Android 6.0 Kernel: 3.10.92 使用rk3288的i2c5读写时,会出现以下error log: root@rk3288:/ # cat /sys/bus/i2c/drivers/at24/5-0050/eeprom [ 24.297924] rockchip_i2c ff170000.i2c: Addr[0x0050] wait event timeout, state: 1, is_busy: 1, error: 0, complete_what: 0x0, ipd: 0x0 [ 24.302052] rockchip_i2c ff170000.i2c: I2C_CON: start bit is set [ 24.514383] rockchip_i2c ff170000.i2c: Addr[0x0050] wait event timeout, state: 2, is_busy: 1, error: 0, complete_what: 0x2, ipd: 0x20 解决方法: [kris@:~/rk3288/kernel]$ g df arch/arm/boot/dts/rk3288-pinctrl.dtsi diff --git a/arch/arm/boot/dts/rk3288-pinctrl.dtsi b/arch/arm/boot/dts/rk3288-pinctrl.dtsi index a35d4d7..4a4ebc8 100755 --- a/arch/arm/boot/dts/rk3288-pinctrl.dtsi +++ b/arch/arm/boot/dts/rk3288-pinctrl.dtsi @@ -404,21 +404,21 @@ gpio7_i2c5 { i2c5_sda:i2c5-sda { - rockchip,pins = + rockchip,pins = rockchip,pull = rockchip,drive = //rockchip,tristate = }; i2c5_scl:i2c5-scl { - rockchip,pins = + rockchip,pins = rockchip,pull = rockchip,drive = //rockchip,tristate = }; i2c5_gpio: i2c5-gpio { - rockchip,pins = + rockchip,pins = rockchip,drive = }; }; 很奇怪I2C的配置居然也有两种,datasheet也没具体说明这两种i2c复用功能的区别。 |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
1890 浏览 1 评论
synopsys 的design ware:DW_fpv_div,浮点数除法器,默认32位下,想提升覆盖率(TMAX),如果用功能case去提升覆盖率呢?
2359 浏览 1 评论
RK3588 GStreamer调试四路鱼眼摄像头四宫格显示报错
5160 浏览 1 评论
【飞凌嵌入式OK3576-C开发板体验】RKNN神经网络-YOLO图像识别
254 浏览 0 评论
【飞凌嵌入式OK3576-C开发板体验】SSH远程登录网络配置及CAN通讯
1336 浏览 0 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-21 00:22 , Processed in 0.591535 second(s), Total 72, Slave 54 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号