is it possible to interface SPI to serial?

Discussion in 'Electronic Design' started by Michael Noone, Feb 1, 2005.

  1. Hi - I'm looking to connect an RF chip with an SPI interface
    (http://www.nordicsemi.no/index.cfm?obj=product&act=display&pro=83) to a
    computer through the serial port. Right now I'm just planning on putting a
    microcontroller that has both a uart and an spi interface between the
    computer and the chip - but are there any more elegant solutions? Thanks,

    Michael
    Michael Noone, Feb 1, 2005
    #1
  2. Michael Noone

    Tim Wescott Guest

    Michael Noone wrote:

    > Hi - I'm looking to connect an RF chip with an SPI interface
    > (http://www.nordicsemi.no/index.cfm?obj=product&act=display&pro=83) to a
    > computer through the serial port. Right now I'm just planning on putting a
    > microcontroller that has both a uart and an spi interface between the
    > computer and the chip - but are there any more elegant solutions? Thanks,
    >
    > Michael


    Nope, that's probably the best. Look around, there should be some very
    small solutions. Don't overlook parts that have UARTs but no SPI -- SPI
    is easy to bit-bang. If you hold the baud rate down and you don't mind
    consuming lots of processor resources you can even bit-bang asynchronous
    serial; I believe that Microchip has app notes.

    --

    Tim Wescott
    Wescott Design Services
    http://www.wescottdesign.com
    Tim Wescott, Feb 1, 2005
    #2
  3. Michael Noone

    Wim Ton Guest

    "Michael Noone" <mnoone.uiuc.edu@127.0.0.1> wrote in message
    news:Xns95F09555824A3mnooneuiucedu127001@216.148.227.77...
    > Hi - I'm looking to connect an RF chip with an SPI interface
    > (http://www.nordicsemi.no/index.cfm?obj=product&act=display&pro=83) to a
    > computer through the serial port. Right now I'm just planning on putting a
    > microcontroller that has both a uart and an spi interface between the
    > computer and the chip - but are there any more elegant solutions? Thanks,
    >
    > Michael


    It is also possible to bit-bang the status lines of the serial port. You
    need level shifters/drives of course. It moves the programming effort from
    the uC to to PC's OS

    Wim
    Wim Ton, Feb 2, 2005
    #3
  4. Michael Noone

    Ron Guest

    Michael,

    Maxim makes a few chips specifically for spi-uart interfacing.
    max3100, max 3110, max3111
    the latter 2 come in pdip packages if you are doing this homebrew.
    super simple chips and have worked well for me.

    http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1731/ln/
    Good luck

    Ron
    Ron, Feb 2, 2005
    #4
  5. Michael Noone

    Anders F Guest

    "Tim Wescott" <> wrote in message
    news:...
    > Michael Noone wrote:
    >
    > > Hi - I'm looking to connect an RF chip with an SPI interface
    > > (http://www.nordicsemi.no/index.cfm?obj=product&act=display&pro=83) to a
    > > computer through the serial port. Right now I'm just planning on putting

    a
    > > microcontroller that has both a uart and an spi interface between the
    > > computer and the chip - but are there any more elegant solutions?

    Thanks,
    > >
    > > Michael

    >
    > Nope, that's probably the best. Look around, there should be some very
    > small solutions. Don't overlook parts that have UARTs but no SPI -- SPI
    > is easy to bit-bang. If you hold the baud rate down and you don't mind
    > consuming lots of processor resources you can even bit-bang asynchronous
    > serial; I believe that Microchip has app notes.


    I think they all have. And I know Texas has for the MSP430.

    /Anders

    > --
    >
    > Tim Wescott
    > Wescott Design Services
    > http://www.wescottdesign.com
    Anders F, Feb 2, 2005
    #5
  6. "Wim Ton" <> wrote in message
    news:3t0Md.44952$...
    >
    > "Michael Noone" <mnoone.uiuc.edu@127.0.0.1> wrote in message
    > news:Xns95F09555824A3mnooneuiucedu127001@216.148.227.77...
    >> Hi - I'm looking to connect an RF chip with an SPI interface
    >> (http://www.nordicsemi.no/index.cfm?obj=product&act=display&pro=83) to
    >> a
    >> computer through the serial port. Right now I'm just planning on
    >> putting a
    >> microcontroller that has both a uart and an spi interface between the
    >> computer and the chip - but are there any more elegant solutions?
    >> Thanks,
    >>
    >> Michael

    Look at the Maxim 3100 family. These are SPI interface UARTs, complete
    with the line drivers built in.

    Best Wishes
    Roger Hamlett, Feb 2, 2005
    #6
  7. "Ron" <> wrote in news:1107336802.610066.246010
    @z14g2000cwz.googlegroups.com:

    > Michael,
    >
    > Maxim makes a few chips specifically for spi-uart interfacing.
    > max3100, max 3110, max3111
    > the latter 2 come in pdip packages if you are doing this homebrew.
    > super simple chips and have worked well for me.
    >
    > http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1731/ln/
    > Good luck
    >
    > Ron
    >
    >


    Ah - the max3110/3111 (http://www.maxim-
    ic.com/quick_view2.cfm/qv_pk/2052) look perfect for my needs. Thanks for
    the help!

    -Michael
    Michael Noone, Feb 3, 2005
    #7
  8. Michael Noone <mnoone.uiuc.edu@127.0.0.1> wrote in message news:<Xns95F282D8D58B0mnooneuiucedu127001@204.127.199.17>...
    > "Ron" <> wrote in news:1107336802.610066.246010
    > @z14g2000cwz.googlegroups.com:
    >
    > > Michael,
    > >
    > > Maxim makes a few chips specifically for spi-uart interfacing.
    > > max3100, max 3110, max3111
    > > the latter 2 come in pdip packages if you are doing this homebrew.
    > > super simple chips and have worked well for me.
    > >
    > > http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1731/ln/
    > > Good luck
    > >
    > > Ron
    > >
    > >

    >
    > Ah - the max3110/3111 (http://www.maxim-
    > ic.com/quick_view2.cfm/qv_pk/2052) look perfect for my needs. Thanks for
    > the help!
    >
    > -Michael


    I haven't looked too closely at the datasheets but I doubt, my guess
    is that both the RF and the MAX31xx is a SPI slave i.e. it won't work
    .....

    use a micro instead

    -Lasse
    Lasse Langwadt Christensen, Feb 4, 2005
    #8

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. hpk@groups

    Serial communication between 2 PIC16F877 via I2C or SPI

    hpk@groups, Feb 9, 2004, in forum: General Electronics
    Replies:
    1
    Views:
    2,575
    ChronoFish
    Feb 9, 2004
  2. Joe Plane
    Replies:
    1
    Views:
    434
    Rich Grise
    Oct 20, 2003
  3. Joe Plane
    Replies:
    1
    Views:
    431
    Rich Grise
    Oct 20, 2003
  4. Adrian Hjelmslund

    Serial number rom ic, with spi or i2c interface?

    Adrian Hjelmslund, Jan 25, 2006, in forum: Electronic Design
    Replies:
    12
    Views:
    2,150
    Adrian Hjelmslund
    Jan 26, 2006
  5. Joe Plane
    Replies:
    1
    Views:
    634
    Rich Grise
    Oct 20, 2003
Loading...

Share This Page