SPI + I2C ?

Coding and general discussion relating to the compiler

Moderators: David Barker, Jerry Messina

Post Reply
rubenpena
Registered User
Registered User
Posts: 32
Joined: Sun Mar 25, 2007 2:07 am
Location: Monterrey,Mexico

SPI + I2C ?

Post by rubenpena » Thu Jan 31, 2008 9:52 pm

Hi:
It is possible to use the hardware SPI and the hardware I2C at the same time?
When I am reading or writing on a spi device, I use the CS pin to select it.
But If I connect a external eeprom (to PORTC.3 and PORTC.4)
what happens to the eeprom when I am accesing the SPI...?
Or do I need to "float" the eeprom lines..?
Thanks in advance...
Ruben de la Pena V.

Post Reply