Is there a way to list devices connected to I2C bus?

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

cross mob
JaGo_1745041
Level 1
Level 1
Welcome! First question asked

Hi ,

Using WICED SDK-3.1.2 is there a way to list all devices connected to SPI, I2C bus?

I see platform functions to init, deinit, probe, transmit message, receive message to devices connected to SPI, I2C bus.

Thanks,

-janaki

0 Likes
1 Solution
Anonymous
Not applicable

Hello Janaki,

There is no direct API call to scan all the devices connected to SPI or I2C bus. But what I would suggest you is to go under SDK-->Include--> wiced_platform.h and look for wiced_i2c_read. Using this you can find out if any hardware in connected via I2C similarly you can do for SPI too.

Best,

RJ

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

Hello Janaki,

There is no direct API call to scan all the devices connected to SPI or I2C bus. But what I would suggest you is to go under SDK-->Include--> wiced_platform.h and look for wiced_i2c_read. Using this you can find out if any hardware in connected via I2C similarly you can do for SPI too.

Best,

RJ

0 Likes