max baud?
Nick-
In theory, a BS2SX can be pushed to ~119 KBaud:
int(2,500,000 / 119,000) - 20 = 1
and a BS2 to ~47 KBaud:
int(1,000,000 / 47,000) - 20 = 1
See page 296 of the Stamp Manual for the explanation of these
equations. To get anywhere near these limits, strip your code down
so no modifiers or intermediate processing is done while the data
stream is active.
Regards,
Steve
On 25 Sep 02 at 14:41, Nick Stedman wrote:
> Hi,
> What's the maximum baud rate for Serial I/O that a Stamp2 or
> Stamp2sx can manage. So far trying getting the sx above 57.6 kb/s
> has failed, but that could be problems on the PC side. TIA Nick
In theory, a BS2SX can be pushed to ~119 KBaud:
int(2,500,000 / 119,000) - 20 = 1
and a BS2 to ~47 KBaud:
int(1,000,000 / 47,000) - 20 = 1
See page 296 of the Stamp Manual for the explanation of these
equations. To get anywhere near these limits, strip your code down
so no modifiers or intermediate processing is done while the data
stream is active.
Regards,
Steve
On 25 Sep 02 at 14:41, Nick Stedman wrote:
> Hi,
> What's the maximum baud rate for Serial I/O that a Stamp2 or
> Stamp2sx can manage. So far trying getting the sx above 57.6 kb/s
> has failed, but that could be problems on the PC side. TIA Nick
Comments
What's the maximum baud rate for Serial I/O that a Stamp2 or Stamp2sx can
manage. So far trying getting the sx above 57.6 kb/s has failed, but that
could be problems on the PC side.
TIA
Nick
>What's the maximum baud rate for Serial I/O that a Stamp2 or Stamp2sx can
>manage. So far trying getting the sx above 57.6 kb/s has failed, but that
>could be problems on the PC side.
>TIA
>Nick
8191 0
BS2, BS2e minimum 122 baud for baudmode=$1fff
maximum 50000 baud for baudmode=0
BS2sx, BS2p minimum 304 baud for baudmode=$1fff
maximum 125000 baud for baudmode=0
It is easier for the Stamp to "manage" it on the transmitting side.
Receiving multiple chars at high speed >9600 usually takes some kind
of pacing or flow control.
Nick
on 25/9/02 10:23 PM, Tracy Allen at tracy@e... wrote:
>> Hi,
>> What's the maximum baud rate for Serial I/O that a Stamp2 or Stamp2sx can
>> manage. So far trying getting the sx above 57.6 kb/s has failed, but that
>> could be problems on the PC side.
>> TIA
>> Nick
>
> 8191 0
> BS2, BS2e minimum 122 baud for baudmode=$1fff
> maximum 50000 baud for baudmode=0
> BS2sx, BS2p minimum 304 baud for baudmode=$1fff
> maximum 125000 baud for baudmode=0
>
> It is easier for the Stamp to "manage" it on the transmitting side.
> Receiving multiple chars at high speed >9600 usually takes some kind
> of pacing or flow control.
>
>
> 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/
>
>