And SCL completely in the midline in the area of the SPI is synchronous clock, to complete the real synchronous communication,
This lack of description in the document, often leading to me such a small white don't see the difference between, at least there are a lot of hardware on the label is the same: the SDA/SCL,
CodePudding user response:
SPI with 4 wire MISO, MOSI, SCLK, CS,IIC in 2 lines to SDA and SCL,
CodePudding user response:
Did you write the difference, has been far away from the small white,CodePudding user response:
I am against the third party data, such as LCD display, almost no mention of SDA/SCL on IIC and SPI, don't know is talking about that, we watch them unless they can see a little difference from the sequence diagram, pin are common, so one-sided speak a little bit easier to see mix difference, not in the true sense,Thanks for your attention,
CodePudding user response:
SPI at least 4 lines (not counting ground) MISO, MOSI, SCLK, CS. Nature is a shift register, clock directly drive the two-way shiftIIC in 2 lines (not counting ground) SDA and SCL, need to reply, need to send address, reading and writing direction, commands and data, not as directly SPI
CodePudding user response:
Supplement: SPI is data exchange, that is, the master will register the value in the "pay" to slaver, at the same time the slaver will register the value in the "pay" to masterCodePudding user response:
Spi is more than the i2c complex, selected from input and output, faster