Re: HP48 - Motorola MC68HC08 SCI Message #7 Posted by James M. Prange on 16 July 2004, 12:37 p.m., in response to message #2 by Bill Wiese
Quote: The HP48 serial port, IIRC, is at a logic level (+5VDC,
swinging down to 0V)
You recall incorrectly. Maybe you were thinking of a Sharp model?
For transmitting, it's (minimum) +3.0V for a space and -3.0V for a
mark, and "typically" +3.5V and -3.5V.
For receiving, it's +1.0V to +15.0V for a space, and -15.0V to
-0.3V (Maybe this should be +0.3V, or even -0.03V or +0.03V?) for a mark.
The absolute maximums are listed as -25V to +25V.
Quote: -- whereas 'true' RS232 communication
requires a level converter to deal with swings between +9 to
+12VDC and -9 to -12VDC.
Actually, if I recall correctly, RS-232 is supposed to transmit at
at +5.0V to +15.0V for space, and -15.0V to -5.0V for mark, and
receive at +3.0V to +25.0V for space, and -25.0V to -3.0V for mark.
So, although it doesn't fully comply with RS-232, it's generally
RS-232 compatible.
Information about the 48 series I/O is available at
http://www.hpcalc.org/details.php?id=1722 and
http://www.hpcalc.org/details.php?id=4741.
Quote: If the 48 can only communicate using Kermit
protocol,
The 48 series can also use "raw" serial I/O. That is, without any
file transfer protocol; just sending and receiving strings with
the length limited only by available memory. That's what the XMIT
and SRECV commands are all about. Optionally, XON/XOFF software
flow control can be enabled for sending and/or receiving. The
input buffer is only 255 bytes and buffer overruns are quite
likely to occur if you try to receive longer strings without using
software flow control. A variety of parity/pseudo-parity options
are also available.
Actually, the printing commands (with flag -34 set, "Print via
wire") are a lot like XMIT, but decompile an object to a string
form before actually transmitting it from the I/O port.
The 48G series also has the Xmodem protocol built-in, and an
"Xmodem Server" library is included with the Conn4x package.
The built-in speeds on the 48 series are 1200, 2400, 4800, and
9600 bps.
But "Serial IR" is 2400 bps only, and is half-duplex instead of
full-duplex, so software flow control isn't available in this
mode.
The 49G series is similar to the 48G series for I/O via wire, but
IR isn't available, and XON/XOFF software flow control is broken
for both transmitting and receiving. The 49G has the Xmodem server
built-in, and has additional (non-standard) speeds of 1920, 3840,
7680, and 15360 bps built-in.
Regards, James
|