SPI BUS issues; conflicts with simultaneous I2C ?
HI!
When i Try to use I2C Bus and initialize Wire.begin() ; then SPI BUS dosn`t work but I2C working.
In board_defs.h i defined missing SCL and SDA as 3,2
And in Cyton lib. i dissabed CS2 and CS3 pins to use them with I2C BUS .
I need cnnect to I2C bus gpio expander and MAX30102 to measure heart rate and oxigen concentration.
Comments
Hi Ainars,
Did you see this related thread?
https://openbci.com/forum/index.php?p=/discussion/534/chipkit-onboard-i2c-device-access
Apparently there are conflicts with the hard defined I2C pinouts, that overlapped with those needed by SPI devices.
Regards, William
Ok thanks ! I will use software i2c .