Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
As Hardware SPI most likely is in the Mhz Speed , and I2C is either 100Khz or 400Khz.
Maybe on a slow ARM that has HW I2C and has to do software SPI , a 400Khz I2C could be faster. As i recall that an Arm is rather slow in softwarecontrolled "Pin-IO" on the pins.
My Atmels runs SPI at 8 Mhz (Tx) and 4 Mhx (Rx) @16Mhz Clock
/Bingo
Added after 8 seconds:
It usually is not
As Hardware SPI most likely is in the Mhz Speed , and I2C is either 100Khz or 400Khz.
Maybe on a slow ARM that has HW I2C and has to do software SPI , a 400Khz I2C could be faster. As i recall that an Arm is rather slow in softwarecontrolled "Pin-IO" on the pins.
My Atmels runs SPI at 8 Mhz (Tx) and 4 Mhx (Rx) @16Mhz Clock
I2C isn't faster then SPI. As far as I know the I2C Fast-Mode specification says 400kHz, if we ignore start and stop conditions we will have 400000 bits each second.
With the SPI interface you can transmit date with several MHz clock and in some applications also in full duplex mode. You see SPI is faster...
[nemolee]
many of the I2C devices can work only with 400kHz or low SCL signal.
for example, in my design i use the 256K flash AT24C256. this flash are 1 MHz (5V), 400 kHz (2.7V) and 100 kHz (1.8V) compatibility.
my digital design use 3.3V and low voltages ->i can read this flash only with 400kHz or low SCL signal
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.