完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,我最近买了MCP23 x17评估板,用我的树莓PI模型B+V1.2测试I2C接口。首先,我检查了评估板是操作性的:没有问题(在TP2上提供5V,TP1上的GND,所有BP执行默认代码来打开/关闭LED)。其次,我想测试我的i2C接口与我的树莓:在VDD(TP2)的电源与电源(JP-1)的J35-1(MCLR)上GND(关闭PIC)-A0,A1,A2在GND上的地址0x20-SCL(树莓)J4-2(SCK)-SDA(树莓)J4-3(树莓)当我执行“i2cDebug -Y 1”通过树莓,I2C设备不是被发现了,那我该怎么办?提前感谢。
以上来自于百度翻译 以下为原文 Hi, I bought recently MCP23X17 Evaluation Board for test I2C interface with my Raspberry Pi Model B+ V1.2. First, I started by checking that the evaluation board was operationnal : no issues (supply 5V on TP2, GND on TP1, all BP execute the default code to turn on/off the LEDs). Secondly, I wanted to test my I2C interface with my Raspberry : - 5V Supply on VDD (TP2) with EX355 Power Supply - J1-1 (MCLR) on GND (to turn off the PIC) - A0, A1, A2 on GND for Address 0x20 - SCL (Raspberry) on J4-2 (SCK) - SDA (Raspberry) on J4-3 (MDSA) When I execute "i2cdetect -y 1" via Raspberry, the I2C device is not getting detected. What should I do then ? Thanks in advance. |
|
相关推荐
2个回答
|
|
你没有提到树莓和EVE板之间的接地,如果你使用单独的电源板,就不要依赖电源连接。
以上来自于百度翻译 以下为原文 You don't mention a ground connection between the Raspberry and the Eval board. Do NOT rely on the power supply connection to do it if you're using separate supplies for each board. |
|
|
|
HQ Q B,即使当连接TP2/TP1到树莓的+5V和GND(没有单独的供应)时,它也不起作用。我也尝试用+3v3来给卡,它也不起作用。用万用表,我看到MC23017是供电的。Raspberry B +V1.2的I2C总线需要额外的上拉电阻?
以上来自于百度翻译 以下为原文 Hi qɥb, Even when connecting TP2/TP1 to the +5V and GND of the Raspberry (no separate supplies), it does not work. I also try to feed the card with +3V3, it does not work either. With the multimeter, I see that the MCP23017 is powered. The I2C bus of the Raspberry B+ V1.2 requires additional pull-up resistors? |
|
|
|
只有小组成员才能发言,加入小组>>
5132 浏览 9 评论
1985 浏览 8 评论
1914 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3153 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2213 浏览 5 评论
702浏览 1评论
593浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
476浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
608浏览 0评论
499浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-5 11:21 , Processed in 1.123245 second(s), Total 49, Slave 42 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号