Shop OBEX P1 Docs P2 Docs Learn Events
BS2 External Memory — Parallax Forums

BS2 External Memory

ArchiverArchiver Posts: 46,084
edited 2001-05-11 23:42 in General Discussion
Hi all,

I'm currently running an app that logs data to external serial memory.

The chip that I'm using is the 24LC256. Is there a different memory
that I can use with the stamp of equal or higher storage capacity,
that has faster read and write access times? If so, are there any
example circuits around.

I don't mind if the memory is serial or otherwise, I only use serial
at the moment because there were heaps of examples available, my only
requirements are high speed access and large storage space.

All ideas appreciated.

Thanks,

Simon

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-04-26 16:20
    >Hi all,
    >
    >I'm currently running an app that logs data to external serial memory.
    >
    >The chip that I'm using is the 24LC256. Is there a different memory
    >that I can use with the stamp of equal or higher storage capacity,
    >that has faster read and write access times? If so, are there any
    >example circuits around.
    >
    >I don't mind if the memory is serial or otherwise, I only use serial
    >at the moment because there were heaps of examples available, my only
    >requirements are high speed access and large storage space.
    >
    >All ideas appreciated.
    >
    >Thanks,


    The 24LC256 is an i2c memory, and that must mean, if you have a
    vanilla BS2, that you are bit-banging the code for the i2c protocol.
    Or you have an exteral protocol converter. ???? That is very slow.
    The BS2P has support for i2c built in, so access to the i2c memory
    would be very fast, and a "no-brainer" for code.

    An alternative faster memory is the AT25256 (atmel), which is SPI
    3-wire. The vanilla BS2 and the BS2e and BS2SX do support SPI, so it
    does not take nearly as much code as the 24LC256. If you are using
    the BS2P, it is a tossup.

    There are much faster serial memories available, for digital cameras,
    voice recorders etc. They include large multiple RAM buffers so that
    data can be streamed in continuously at very high rates. However,
    the Stamp is way too slow to attain those rates.

    -- regards,
    Tracy Allen
    electronically monitored ecosystems
    http://www.emesystems.com
  • ArchiverArchiver Posts: 46,084
    edited 2001-04-26 17:37
    <><> You wrote:
    Date: Thu, 26 Apr 2001 06:29:39 -0000
    From: egroups@d...

    The chip that I'm using is the 24LC256. Is there a different memory
    that I can use with the stamp of equal or higher storage capacity,
    that has faster read and write access times? If so, are there any
    example circuits around.
    ......
    <><><

    I sent message below out March 8th and there was no reply..
    I'm still interested and your need may be met by some
    Ramtron part/parts.... check their site...

    >>>
    I wonder if anyone has used a Ramtron non-volatile
    memory in a BS2?

    They have an FM24CL16 that is quite similar to the
    24LC16B Microchip unit I have in my BS2 but is rated
    for high speed writing and a trillion write cycles
    - 10 year retention [noparse][[/noparse]24LC16B rated about 1 million and
    200 years retention]. In any case these Ramtron units
    could perhaps be used with the I2C bus on the BS2p.

    Data sheet available at www.ramtron.com
    >>>

    ________________________________________________________________
    GET INTERNET ACCESS FROM JUNO!
    Juno offers FREE or PREMIUM Internet access for less!
    Join Juno today! For your FREE software, visit:
    http://dl.www.juno.com/get/tagj.
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-05 02:11
    >The vanilla BS2 and the BS2e and BS2SX do support SPI...

    >
    > -- regards,
    > Tracy Allen
    > electronically monitored ecosystems
    > http://www.emesystems.com

    Really? How to do I use it on a BS2?
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-05 13:51
    At 5/4/2001 Friday 09:11 PM, agarb@j... promulgated:
    > >The vanilla BS2 and the BS2e and BS2SX do support SPI...
    >
    > >
    > > -- regards,
    > > Tracy Allen
    > > electronically monitored ecosystems
    > > http://www.emesystems.com
    >
    >Really? How to do I use it on a BS2?
    >
    >Check the manual under Shiftin and Shiftout. Make sure you carefully check
    the parameters in the datasheet for the particular device you are using.
    Specifically, the MSB/LSB and PRE/POST sub-parameters in the respective Shift
    instructions, are MOST important. Device examples are shown in the manual.

    The PBASIC Stamp Manual is available, free for the download, from the Parallax
    web site [noparse][[/noparse] http://www.parallaxinc.com ] in the Download section.

    If you have trouble with a given device. just check back here with:

    1) Name of the manufacturer
    2) Type of device and
    3) Specific part number (including suffixes if appropriate)

    That should be enough to begin troubleshooting any problems you might
    encounter.

    Regards,

    Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2001-05-11 23:42
    On Sat, 05 May 2001 08:51:29 -0400 Bruce Bates <bvbates@u...>
    writes:
    > At 5/4/2001 Friday 09:11 PM, agarb@j... promulgated:
    > > >The vanilla BS2 and the BS2e and BS2SX do support SPI...
    > >
    > > >
    > > > -- regards,
    > > > Tracy Allen
    > > > electronically monitored ecosystems
    > > > http://www.emesystems.com
    > >
    > >Really? How to do I use it on a BS2?
    > >
    > >Check the manual under Shiftin and Shiftout. Make sure you
    > carefully check the parameters in the datasheet for the particular
    device you are
    > using. Specifically, the MSB/LSB and PRE/POST sub-parameters in the
    > respective Shift instructions, are MOST important. Device examples are
    shown in the
    > manual.

    Thanks. I didn't realize you used Shiftin/Shiftout to do this.

    Aaron
Sign In or Register to comment.