Yes. The Mini-Din-8 layout Apple uses has positive and negative TxD and
RxD lines, but all the flow control signals only have one pin - they are
effectively RS-423 instead of RS-422.
> I don't mind using phonenet connectors which use differential, terminated
> signals I believe.
Phonenet or LocalTalk would impose half duplex (can't transmit and
receive simultaneously) but I expect you'd want to do that anyway. You
need to use the flow control output signal as a transmit enable. No
external clock will be possible, because the GPI pin is not connected.
Phonenet adapters are not internally terminated - they require a
termination resistor in the empty socket at each end of the bus. I don't
know offhand if there are any impedance issues which would prevent them
working reliabily at higher speeds than 230400 bps.
For comparison, LocalTalk adapters have internal terminators, which is
automatically connected if nothing is plugged into the corresponding
Mini-Din-3 plug.
> Though since I'd have a short cable, I'm not sure the noise-resistance is
> important, so maybe RS-423 (signal relative to ground) is fine?
Probably, if short enough.
The IIgs has RS-422 transceivers, but RS-422 is compatible with RS-485
(with some limits).
> Other than Appletalk, I don't remember hearing of any use of the serial
> ports for RS-422 or RS-485, and most serial port use was as RS-423 mode
> (ie, non-differential signaling) because it's compatible with RS-232C.
> Does that sound right to you?
Yes.
> > In theory you might be able to get as fast as 1 Mbps in sync modes with
> > an external clock, short enough cables, and if the IIgs can keep up.
>
> That's what I was thinking too. Or at least I have yet to find any
> evidence that the 8530/GS maxes out at 230K.
>
> I can see why localtalk didn't go faster as the GS used 65816 IRQs to
> interface with the SCC, and GS IRQs have a ton of overhead.
LocalTalk was implemented for the Mac and LaserWriter first. Timing
suggests the Apple II Workstation Card was part of the original plan.
The IIgs was introduced about a year later.
The Mac, Workstation Card and IIgs implementations all use a Z8530 SCC;
the Workstation Card has a dedicated 6502 processor to offload the time
critical work, but the IIgs was fast enough to keep up (only just - it
required special implementation in the interrupt handler).
I haven't looked into the LaserWriter but I expect it shares a lot of
its implementation with the Mac.
> Localtalk also has overhead from collision detection, retries, etc which
> also slows the CPU. Luckily I could skip all that complexity for
> point-to-point xfer.
If the device at the other end is compatible, using HDLC framing with
automatic CRC handling in the SCC will make error detection easier.
I haven't worked with the byte-synchronous modes of the SCC, but have
implemented HDLC on the SCC and other hardware (including bit-banging a
modem).
> So my thinking is that all I need is a USB to RS422/485 FTDI chipset which
> will use lower voltages and differential signaling which should allow the
> 8530 to handle whatever max synchronous clock it can.
>
> I'm still a bit fuzzy on whether I can use a RS422 DB9 to mDIN8 null-modem
> (ie non-differential signaling & believe)
That's what I'd expect. The DE-9 to Mini-Din-8 doesn't carry the
positive half of the Tx/Rx pairs.
> or if I need to go with RS422->RJ11 to a phonenet connector with terminators.
If you are making your own hardware at the other end, another option to
consider is to put a Mini-Din-8 on your device, and use a standard
Mini-Din-8 to Mini-Din-8 cable (e.g. the one used with an ImageWriter
II).
The standard cable has a crossover arrangement for the appropriate pins
(HSkO to HSkI, RxD pair to TxD pair), with straight through for signal
ground, GPI and shield.
There isn't much point involving LocalTalk/PhoneNet hardware if you
don't need multidrop or long cables.
--
David Empson
dem...@actrix.gen.nz