I am trying to run a breakout light sensor board using I2C and at the same time run a CC3000 wifi breakout board. I can
confirm that both cards work as expected, separately. The problem comes when we try to use these boards at the same time.
For the light sensor we are using B8 and B9 for SLC and SDA and it works fine. But the wifi board uses B8 for IRQ and I
presume that this is set in the module. I noticed that B10 and B11 can be used as for I2C SLC and SDA but when I use these
pins the with the light sensor board I get timeout errors. I am connecting using I2C2 function but I have tried using I2C1
as well without success.
So I see 2 options; work out why B10 and B11 aren't working with I2C or change the CC3000 module so that it uses another
pin from B8.
Does anyone have any suggestions on either options?
Phil
@philw started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I am trying to run a breakout light sensor board using I2C and at the same time run a CC3000 wifi breakout board. I can
confirm that both cards work as expected, separately. The problem comes when we try to use these boards at the same time.
For the light sensor we are using B8 and B9 for SLC and SDA and it works fine. But the wifi board uses B8 for IRQ and I
presume that this is set in the module. I noticed that B10 and B11 can be used as for I2C SLC and SDA but when I use these
pins the with the light sensor board I get timeout errors. I am connecting using I2C2 function but I have tried using I2C1
as well without success.
So I see 2 options; work out why B10 and B11 aren't working with I2C or change the CC3000 module so that it uses another
pin from B8.
Does anyone have any suggestions on either options?
Phil