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
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