Shop OBEX P1 Docs P2 Docs Learn Events
I2C counter chip — Parallax Forums

I2C counter chip

ArchiverArchiver Posts: 46,084
edited 2003-07-01 15:42 in General Discussion
Does anyone know of an I2C up-down counter chip.

Original Message
From: Steve Ziuchkovski [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=RBOClqKwWBMh62zyJfMkA0bnjjYJYG_-0RTEPskvUhohkfHjHJjK8Sy4cUzjqnwa2lpAsk9S-T_3]zman97211@y...[/url
Sent: Friday, June 27, 2003 1:47 PM
To: basicstamps@yahoogroups.com
Subject: Re: [noparse][[/noparse]basicstamps] Re: Flow control simulation with RTS and
CTS

Usage of RTS (request to send) and CTS (clear to send) is fairly simple.
There is a distinction between DTE (data terminal equipment, e.g. a
computer) and DCE (data communication equipment, e.g. a modem, or a radio
that can module data onto a carrier). The RTS and CTS signals flow from one
to the other in opposite direction (I forget which is which). Each signal
required one conductor between the equipments, and one pin for each signal
on both. In any event, the equipment that wants to send data (the sender) to
a receiver raises the RTS line saying "I want to transmit data", then waits
until the receiver senses this, becomes ready to receive, then raises CTS to
say "OK, go ahead and send it!". The sender senses the CTS going high, and
then send the data.

Ideally, at any time, the receiver can lower the CTS line to pause the
sender's transmission (this could be because a buffer is full, or it may
take a short time to process the data just received before more data can be
received). The sender should then wait until CTS goes high again. This might
not happen, so the sender should include a timeout so that is the CTS line
does not go high within a specified amount of time, the process will halt.

Once the sender is done sending data, it should drop the RTS line low,
showing the receiver that it's now able to go on doing whatever it needs to
do.

Steve

Original Message
From: "yellowniter" <yellowniter@y...>
To: <basicstamps@yahoogroups.com>
Sent: Friday, June 27, 2003 7:08 PM
Subject: [noparse][[/noparse]basicstamps] Re: Flow control simulation with RTS and CTS


> Yes, I did use what Mr. Allan Lane suggested. Thank you very much
> Mr. Lane! (And also thanks to Mr. Tracy Allen and Al Williams.)
> However, the only part I was able to glean from Mr. Lane's message
> was WriteConfig, WriteData, and ReadData.
> Mr. Lane, if you are reading this, could you please advise how
> you "bit banged" to ReadConfig?
>
> In addition, does anyone know where I can find good info. (i.e.
> protocol) on how hand-shaking is done via RTC and CTS?
>
>
>
> --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
> wrote:
> > You are certainly free to use HIGH and LOW to adjust flow-control
> pin
> > levels, as was suggested by Allan in an earlier post.
> >
> > -- Jon Williams
> > -- Parallax
> >
> >
> >
Original Message
> > From: yellowniter [noparse][[/noparse]mailto:yellowniter@y...]
> > Sent: Friday, June 27, 2003 11:31 AM
> > To: basicstamps@yahoogroups.com
> > Subject: [noparse][[/noparse]basicstamps] Re: Flow control simulation with RTS and CTS
> >
> >
> > Mr. William, I quickly scanned that article.
> > I'm not sure if I can use it because I'm using SHIFTIN/SHIFTOUT
> > commands to send character from first BS2 to MAX3110 (in
> trasmitter)
> > and SHIFTIN/SHIFTOUT to receive from another MAX3110 to another BS2.
> > Since I'm not using SERIN/SEROUT, I cannot use the tradtional SERIN
> > with flow control.
> >
> > I want to simulate flow control with extra pins on Stamp.
> >
> > Can this be done?
> >
> > --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
> > wrote:
> > > I did an article on flow-control for serial IO in Nuts & Volts.
> > You can
> > > find it on our web site. Look in:
> > >
> > > Downloads >> Nuts & Volts Columns >> Volume #3 >> Article #89
> > >
> > > -- Jon Williams
> > > -- Parallax
> > >
> > >
> > >
> > >
Original Message
> > > From: yellowniter [noparse][[/noparse]mailto:yellowniter@y...]
> > > Sent: Friday, June 27, 2003 10:04 AM
> > > To: basicstamps@yahoogroups.com
> > > Subject: [noparse][[/noparse]basicstamps] Flow control simulation with RTS and CTS
> > >
> > >
> > > Does anyone know how SERIN/SEROUT with flow control can be
> > simulated
> > > with industry standard RTS and CTS signals for RS-232?
> > >
> > > I am trying to have a BS2 communicate to another BS2 via MAX3110
> > (SPI
> > > UART), but find that receiving BS2 is seeing multiple characters
> > for
> > > each transmitted character.
> > >
> > > I think I need some sort of hand-shaking to eliminate multiple
> > > reception.
> > >
> > >
> > >
> > >
> > >
> > > 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/
> > >
> > >
> > >
> > >
> > > This message has been scanned by WebShield. Please report SPAM to
> > > abuse@p...
> >
> >
> > 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/
> >
> >
> >
> >
> > This message has been scanned by WebShield. Please report SPAM to
> > abuse@p...
>
>
> 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/
>


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/



[noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.