Scans the I2C-bus for devices

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Can we use I2C component in PSoC 4 BLE to scan the I2C-bus for devices? This can be done in Arduino using beginTransmission follows by endTransmission and check for a return value (http://playground.arduino.cc/Main/I2cScanner). Thanks for your help in advance.

0 Likes
1 Solution
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

I use fragment from  PSoC® 4 CY8CKIT-049 4xxx Prototyping Kits   (CY7C65211).
Program:      I2C_finder.exe
The source code for VISUAL STUDIO-2015 (C ++):    vs_usb_I2C.zip
Page of the program (Russian)

   

 

   

View solution in original post

0 Likes
1 Reply
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

I use fragment from  PSoC® 4 CY8CKIT-049 4xxx Prototyping Kits   (CY7C65211).
Program:      I2C_finder.exe
The source code for VISUAL STUDIO-2015 (C ++):    vs_usb_I2C.zip
Page of the program (Russian)

   

 

   

0 Likes