Here's the setup I'm going to talk about:
Tandy 102, serial cable to my Arduino with an RS-232 shifter.  I'm
using the SoftwareSerial library to interface the RS-232 shifter to
the Arduino via the Arduino's TX/RX pins - as opposed to using the USB
cable.

Software-wise, this is pretty simple.  I'm just writing a text file in
the Text app and saving it to COM:98N1E

Here's my frustration.  No matter what I do, the 102 stops sending
after about 80 bytes.

The only way I could get it to work was to reduce the speed to 300 BPS
(and, of course, saving to COM:38N1E).

Keep in mind that this is the 102 sending to the Arduino.  I find it
difficult to believe that the Arduino couldn't keep up.  And when I
tried other BPS, it stopped in exactly the same place: at 80 bytes.

The 102 never showed an error message.  Everything looked like it
worked fine on that end.  But the rest of the text file never appeared
on the Arduino side.

The Arduino set up doesn't support hardware flow control.  So I
thought that enableing XON/XOFF would make sure that the 102 didn't do
that (No, I didn't see any XON/XOFF characters on the Arduino side
either).


Is there some sort of strangeness in the 102 that turns some sort of
hardware flow-control on for speeds > 300 BPS?  Or did I miss setting
something?

If there was a problem with one side keeping up, I expected to see
dropped characters, not communications just stopping after 80 bytes.


-- 
Ron Lauzon - rlauzon at acm dot org
   Homepage: http://webpages.charter.net/rlauzon/
   Weblog: http://ronsapartment.blogspot.com/

TRS-80 Pocket Computer 2 - TRS-80 Pocket Computer 4 - TRS-80 Model 100/102
Some people like to work on old cars.  But old computers are cheaper
and don't require a big garage.

Reply via email to