Serial question about DEBUG and using SERIN on port 16 BS2P
Archiver
Posts: 46,084
I have some code that worked on port pin 0 and 1 but I decided to use the
DEBUG port to cut down on parts and pin requirements. Debug sends my data
out as expected but when I use SERIN with a pin argument of 16 I get a
strange artifact. The serial port echos each character back as it comes in.
I assume there is no way around this short of modifying the stamp hardware.
Is that loopback required for the programming function?
DEBUG port to cut down on parts and pin requirements. Debug sends my data
out as expected but when I use SERIN with a pin argument of 16 I get a
strange artifact. The serial port echos each character back as it comes in.
I assume there is no way around this short of modifying the stamp hardware.
Is that loopback required for the programming function?
Comments
Stamp's programming port. It's not too tough to work around this by having
your external app filter the echo.
-- Jon Williams
-- Parallax
In a message dated 5/20/2003 2:09:52 PM Central Standard Time,
larrysr@m... writes:
> I have some code that worked on port pin 0 and 1 but I decided to use the
> DEBUG port to cut down on parts and pin requirements. Debug sends my data
> out as expected but when I use SERIN with a pin argument of 16 I get a
> strange artifact. The serial port echos each character back as it comes in.
> I assume there is no way around this short of modifying the stamp hardware.
> Is that loopback required for the programming function?
[noparse][[/noparse]Non-text portions of this message have been removed]
on the BS2. They use the Tx-In signal voltage to
drive the Rx-Out signal. And no, there's no way
to defeat it (this from earlier Parallax people's
posts).
Ignoring the echo has been the recommendation.
--- In basicstamps@yahoogroups.com, "Larry G. Nelson Sr"
<larrysr@m...> wrote:
> I have some code that worked on port pin 0 and 1 but I decided to
use the
> DEBUG port to cut down on parts and pin requirements. Debug sends
my data
> out as expected but when I use SERIN with a pin argument of 16 I
get a
> strange artifact. The serial port echos each character back as it
comes in.
> I assume there is no way around this short of modifying the stamp
hardware.
> Is that loopback required for the programming function?