I2C Scanner

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I2C Scanner

651件の閲覧回数
raduansarif
Contributor I

Hello, I am using MKL27Z128LH4 MCU and  MCUxpresso IDE, with different sensors and I2C communication. Now I could not find out one sensor in I2C. In order to find out that device in I2C,  I want to use the I2C scanner.  I am requesting your help with the I2C scanner, how will I get it..?? 

 

Thank you

Raduan

0 件の賞賛
1 返信

643件の閲覧回数
ErichStyger
Senior Contributor V

Are you looking for something which scans the I2C bus and reports the devices found on it?

See https://mcuoneclipse.com/2012/12/23/csi-crime-scene-investigation-with-i2cspy-and-freedom-board/ and the implementation of it (working with the MCUXpresso SDK as well) is on GitHub here:

https://github.com/ErichStyger/McuOnEclipseLibrary/blob/master/lib/src/McuI2CSpy.c

It features scanning the bus, including a command line interface, plus the ability to read and dump the device memory map and content.

I hope it helps,

Erich

0 件の賞賛