Shop OBEX P1 Docs P2 Docs Learn Events
max 3100 code samples... — Parallax Forums

max 3100 code samples...

ArchiverArchiver Posts: 46,084
edited 2002-11-02 17:59 in General Discussion
anyone know of some code samples for the MAX 3100 that specifically
uses ShiftOut/ShiftIn? Actually, I am looking for input/output
register programming format tips along with an example of a 16-bit
data format (8 bits of 3100 control and 8 bits of data). I am
looking for another explanation that is different from the MAX 3100
data sheet..

Once I am successful, I'll be more than happy to post my results here
as MAX 3100 shiftin/out sample code.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-10-31 20:59
    At 08:40 PM 10/31/2002 +0000, you wrote:
    >anyone know of some code samples for the MAX 3100 that specifically
    >uses ShiftOut/ShiftIn? Actually, I am looking for input/output
    >register programming format tips along with an example of a 16-bit
    >data format (8 bits of 3100 control and 8 bits of data). I am
    >looking for another explanation that is different from the MAX 3100
    >data sheet..
    >
    >Once I am successful, I'll be more than happy to post my results here
    >as MAX 3100 shiftin/out sample code.
    Jim -

    Here is one use of the MAX3100 in an IrDA Application from Tracy Allen's
    web site: http://www.emesystems.com/BS2IrDA.htm

    That may get you started.

    Regards,

    Bruce Bates




    >To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the Subject and
    >Body of the message will be ignored.
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-31 21:26
    Have a look at http://www.wd5gnr.com/suart.htm -- our sites were down
    for 30 minutes today unexpectedly, but they are up again. This is a 3110
    but it should be about the same.

    Al Williams
    AWC
    * Easy RS-232 Prototyping
    http://www.al-williams.com/awce/rs1.htm



    >
    Original Message
    > From: Jim Cambron [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=e8nPfQdnTcgA8aS7C1z0GfCGDbSF_MmoJjPp02pFYSnLpXcgzh0QOv9IWu-a8XOaXj5hP11SsZdDleulmrFWQ2njecUw]nehsoft@n...[/url
    > Sent: Thursday, October 31, 2002 2:41 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] max 3100 code samples...
    >
    >
    > anyone know of some code samples for the MAX 3100 that specifically
    > uses ShiftOut/ShiftIn? Actually, I am looking for input/output
    > register programming format tips along with an example of a 16-bit
    > data format (8 bits of 3100 control and 8 bits of data). I am
    > looking for another explanation that is different from the MAX 3100
    > data sheet..
    >
    > Once I am successful, I'll be more than happy to post my results here
    > as MAX 3100 shiftin/out sample code.
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the
    > Subject and Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-01 19:52
    Hi Jim,

    I posted a new diagram about the configuration word for the MAX3100
    at http://www.emesystems.com/BS2IrDA.htm, near the bottom of the page
    after the program listing.

    It is easy to modify that program for a hardwired connection. Attach
    a line driver to the tx and rx pins, instead of the LED and
    photodetector, and turn off the IrDA bit in the configuration word.

    -- regards
    Tracy Allen
    electronically monitored ecosystems
    http://www.emesystems.com
    mailto:tracy@e...




    >At 08:40 PM 10/31/2002 +0000, you wrote:
    >>anyone know of some code samples for the MAX 3100 that specifically
    >>uses ShiftOut/ShiftIn? Actually, I am looking for input/output
    >>register programming format tips along with an example of a 16-bit
    >>data format (8 bits of 3100 control and 8 bits of data). I am
    >>looking for another explanation that is different from the MAX 3100
    >>data sheet..
    >>
    >>Once I am successful, I'll be more than happy to post my results here
    >>as MAX 3100 shiftin/out sample code.
    >Jim -
    >
    >Here is one use of the MAX3100 in an IrDA Application from Tracy Allen's
    >web site: http://www.emesystems.com/BS2IrDA.htm
    >
    >That may get you started.
    >
    >Regards,
    >
    >Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-02 17:59
    --- In basicstamps@y..., Bruce Bates <bvbates@u...> wrote:
    > At 08:40 PM 10/31/2002 +0000, you wrote:

    > Jim -
    >
    > Here is one use of the MAX3100 in an IrDA Application from Tracy
    Allen's
    > web site: http://www.emesystems.com/BS2IrDA.htm
    >
    > That may get you started.
    >
    > Regards,
    >
    > Bruce Bates

    Excellent, Bruce! Exactly what I was looking for!

    Thanks!

    Jim
Sign In or Register to comment.