hey everyone
i'm trying to connect 2 devices with my pic 18f2550 , one of them uses spi and the other uses i2c
the i2c bus needs pullup resistor , are they going to have any influence on the spi knowing that they have 2 pins in common ?
I don't know the answer, but what about powering the pull-up resistor from another PIC output? To turn it off, just set the pin to input so it is high impedance.
In my experience, it is possible, but of course not at the same time. The two pullup does not interfere with the SPI.
But I do not use the compiler built-in routines (SPI and I2C libraries), just the ones I wrote.
zuisti