嗨,我最近买了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 Evalua
tion 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.
0