On Mar 12, 6:07 pm, mattschinkel <[email protected]> wrote: > I think another issue is that if a SPI device is in use, it will be > sending data to the pic on the SDI line, and at the same time, the clk > line will be running. If this occurs, I2C devices could pickup the > signal if addressed accidently via SDI. So, maybe it's not possible to > use both on the same pins.
However if you gate the I2C clock line with the CS of the SDI device, (using AND gate or 1/4 4066) then the I2C will not see any clocks while the CS is low to enable the SD card. You can even make gate from two Schottky diodes from pull up resistor of I2C slave device clock pin to SCLK and SD card /CS if it is low to active SD card. -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
