LoginSignup
0
1

More than 5 years have passed since last update.

AD2 > I2C > ERRORという表記 > SCLとSDAの接続が反対でした

Last updated at Posted at 2018-03-02
動作環境
Windows 8.1 Pro (64bit) 
  - on VMware workstation 14 Pro, version:14.0.0 build-6661328
Analog Discovery 2 (以下AD2)
WaveForms 2015 v3.7.5

Raspberry Pi > C > RPi_i2c_comm_180227: v0.4 > GPIOピンのレベル設定と、レベル読取まで
で実装中のI2C通信確認のため、AD2を使い始めている。

ERROR

qiita.png

ERRORというデータが表示される。

対処

It seems that you have reversed the clock and data lines. Set SCL 7 and SDA 15. After this, configure the trigger again.

SCLとSDAの接続を反対にしたところ。。。

qiita.png

読めた。

h2Cに対するACKが取れていない?

ACKとしての表記をするには横幅が足りないだけのようだ。

「Mode:」を「Repeated」から「Record」に変更し、記録した出力の時間軸を拡大すると、h06に対するACKも取れていることを確認できた。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1