• AVR Freaks

Differences between SPI, 3-Wire and Microwire

Author
meereck
Starting Member
  • Total Posts : 88
  • Reward points : 0
  • Joined: 2006/10/23 08:19:19
  • Location: 0
  • Status: offline
2006/11/12 14:27:58 (permalink)
0

Differences between SPI, 3-Wire and Microwire

Hello,
would anyone be so kind and explain me differences between these 3 interfaces?
Thanks in advance,
mEErEck
#1

3 Replies Related Threads

    JoeV
    Super Member
    • Total Posts : 598
    • Reward points : 0
    • Joined: 2006/12/13 07:16:38
    • Location: Buffalo, NY USA
    • Status: offline
    RE: Differences between SPI, 3-Wire and Microwire 2006/12/22 09:46:51 (permalink)
    0
    The 3-wire nomenclature is the general category of emcompassing the SPI and Microwire busses. The Microwire is a subset of SPI with slightly different timing and data latching. This last part tripped us up at work when we tried to access an SPI EEPROM with a PIC configured for the Microwire data latching.

    These interface standards are all about the same in benefits (high speed, less bus overhead, full duplex) and drawbacks (high  I/O pin count, no flow control).
    #2
    JoeV
    Super Member
    • Total Posts : 598
    • Reward points : 0
    • Joined: 2006/12/13 07:16:38
    • Location: Buffalo, NY USA
    • Status: offline
    RE: Differences between SPI, 3-Wire and Microwire 2006/12/22 09:56:02 (permalink)
    0
    Here's some more on Microwire...

    MICROWIRE is a 3Mbps [full-duplex] serial 3-wire interface standard defined by National Semiconductor. The MICROWIRE protocol is essentially a subset of the SPI interface, CPOL = 0 and CPHA = 0.

    Microwire is a serial I/O port on microcontrollers, so the Microwire bus will also be found on EEPROMs and other Peripheral chips. The 3 lines are: SI, the serial input line to the microcontroller, SO is the serial output line, and SK is the serial clock line. Data is shifted out on the falling edge of SK, and is valued on the rising edge. SI is shifted in on the rising edge of SK. In some cases a 4.7k W pull-up resistor may be used to increase the low-to-high rise time. The voltage level and swings is based on the microcontroller's I/O voltage, normally TTL. The protocol is a '1' state bit followed by a variable length instruction/address word, followed by a variable length data field. Or the device may send no start bit, just a variable length bit stream. The minimum clock cycle time is 2uS, 1uS high and 1uS low. The clock speed is dependent on the microcontroller, typical speeds are 0Hz to 250kHz.

    An additional bus enhancement to MICROWIRE is called MICROWIRE/Plus. The main difference between the two buses seems to be that MICROWIRE/Plus architecture within the microcontroller is more complex.
    #3
    meereck
    Starting Member
    • Total Posts : 88
    • Reward points : 0
    • Joined: 2006/10/23 08:19:19
    • Location: 0
    • Status: offline
    RE: Differences between SPI, 3-Wire and Microwire 2006/12/23 12:48:15 (permalink)
    0
    thank you
    Best regards
    #4
    Jump to:
    © 2021 APG vNext Commercial Version 4.5