Shop OBEX P1 Docs P2 Docs Learn Events
What is the differance between SPI and I2C — Parallax Forums

What is the differance between SPI and I2C

jonwjonw Posts: 67
edited 2006-11-20 02:20 in General Discussion
When we use shiftout to have stamp talk to the max 7219 display driver, is this· SPI communication or I2C?· When we use·a LCD display and serout (Asynschronous)· can i use this command to drive a 5x7 LED display· with the max6954 (SPI)··driver. The max web site has·a example but the program is for PIC.·· Is there· a way to·convert PIC·language to basic?· Where· can I get a book or info on these subjects· thanks· jonw

EDIT >>>· Also· on maxim site· there is lots of talk of· 2 wire interface,··· Which protocol is this·· Thanks

Post Edited (jonw) : 11/19/2006 3:29:21 AM GMT

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2006-11-19 04:07
    You can read about these and other serial protocols here. shiftout is commonly used with SPI interfaces; i2cout (on the BS2pe, BS2p, and BS2px), with I2C (a "two-wire" interface).

    -Phil
  • jonwjonw Posts: 67
    edited 2006-11-19 21:55
    Thanks· Phil···· I have the·BS2 so I will order the SPI type drivers. correct?
    ············· NEW Topic >>· On a 5x7 display What does cathode Row mean? (Maxim term)
    ·· I think it means all that row has their cathodes common.· Is this the same as saying column common ·anode · then (led american bright· term)?
    ····················· thanks· jonw
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2006-11-20 02:20
    jonw,

    Even though I2C is not natively supported by the BS2, you can still use it with appropriately-crafted subroutines. Check out this forum thread.

    -Phil
Sign In or Register to comment.