Hi, 2010/3/12 m...@watty <[email protected]>: > > > 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. > Matt is right and solving is not as straight forward as this, since both clock and data are bidirectional in i2c. If you can spare one pin, I'd suggest you use that as a dedicated i2c clk pin. i2c data can be one of the pins that is output when used with spi. If you don't have a spare pin or insist on use hardware i2c, use a 'gate' like 4066 to keep the i2c clk high during spi operation.
Joep Joep -- 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.
