Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/14/05 23:30
Read: times


 
#101060 - I2C & SPI shared clock line
Hi all

I am short of one pin on my LPC925 and want to implement a bit banged SPI port, I have the I2C port in use to I2C devices, and would like to use the SCL line as an IO line for the SPI. I was thinking of using it as the CS or the CLOCK line to the SPI.

I would not be using the SPI and the I2C similtaenously.

The questions are.
1. Can anyone see any adverse effects of doing this?
2. Are there any "gotchas" in doing it
3. Will the I2C devices behave erratically if there is a CLOCK on the SCL line, in potentially the wrong format.

Thanks, appreciate any responses.

Regards

Marshall

List of 14 messages in thread
TopicAuthorDate
I2C & SPI shared clock line            01/01/70 00:00      
   Yes            01/01/70 00:00      
   i2c io port            01/01/70 00:00      
      I2C External IO            01/01/70 00:00      
         other GPIO            01/01/70 00:00      
            All IO used.            01/01/70 00:00      
               i2cchip            01/01/70 00:00      
                  Thanks for the link            01/01/70 00:00      
      Because LPC has hardware IIC built in            01/01/70 00:00      
   I am not too worried baout the IIC, but            01/01/70 00:00      
      Reconfiguring the port to IO after start            01/01/70 00:00      
         but it will still toggle when configured            01/01/70 00:00      
      Why does the SPI care            01/01/70 00:00      
         yes, but            01/01/70 00:00      

Back to Subject List