Go Down

Topic: MKRWIFI1010 with one SPI and one I2C boards together (Read 426 times) previous topic - next topic

costef

Hello everyone

for my project I'm using the MKR WiFi 1010.
It has 1 SPI port and 1 I2C port.
I need to connect to the MKR 1010, an external SPI board and an I2C one, simultaneusly,
but I've a problem with the SCL pin.
There's only one in the board.
Is it "shared" between SPI and I2C ?

I mean,
the SPI board will be connected to the pins: MOSI, SCK, MISO and SCL of the MKR 1010
the I2C board will be connected to the pins: SDA and SCL of the MKR 1010
I attached a .png image that explains what I mean.

As you see, the same SCL is used twice.
Is it possible ? If not, how can I connect both the boards ?

Thanks a lot in advance for any help.

costef

Go Up