I2C Scanner

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I2C Scanner

1,401 次查看
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 回复

1,393 次查看
ErichStyger
Specialist I

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 项奖励
回复