[NTLK] Enabling serial channel 3 on newton interconnect port
DPROLDAN at telefonica.net
DPROLDAN at telefonica.net
Fri Mar 26 06:16:46 EDT 2010
Hi
When you set the option for the kCMOSerialHWChipLoc, you are telling the newton which channel to use.
Once you have the 1st serial port working, substitute the kHWLocExternalSerial constant with kHWLocBuiltInModem.
local option := {
type: 'option,
label: kCMOSerialHWChipLoc,
opCode: opSetRequired,
form: 'template,
result: nil,//
data : {
arglist: [
kHWLocExternalSerial, <---- change this to kHWLocBuiltInModem or "mdem" (with quotes)
0
],
typelist: [
'struct,.....
This is explained in pages 21-4 and 21-5 of the programmers referenceOS2.0.
Remember that this port uses TTL levels on the interconnect and the internal connector, if you want to communicate with another computer, you'll have to use a TTL-RS232 level shifter.
Hope this helps
Daniel
On Thu, Mar 25, 2010 at 9:24 AM, Bhavishya Goel <bhavishya.goel at gmail.com>wrote:
> Isn't anyone here who can help me with serial channel 3 on interconnect
> port?
>
> > ------------------------------
> >
> > Hi,
> >
> > I am trying to use the serial channel 3 available on the Newton
> Interconnect
> > Port of Messagepad 2100. But I am not sure how to enable it. The Newton
> >
> > Interconnect guide says that one should refer to Newton Programmer's
> guide
> > to know how to access this channel. But the Newton Programmer's Guide and
> > Newton programmer's reference are totally silent about differentiating
> >
> > between different serial channels either on the interconnect port or
> > internal serial slot. After rummaging through the two said manuals for
> some
> > time, I guessed that "serial chip location" (kCMOSerialHWChipLoc) option
> >
> > mentioned in chapter 24 was the way to go, but it doesn't explicitly
> talk
> > about different channels. I tried changing the different values for this
> > option, but I didn't see any activity on serial channel 3 (only on serial
> >
> > channel 0). Can someone tell me how can I tell Newton to use serial
> channel
> > 3 instead of channel 0 on the interconnect port and how to drive the
> > InternalMdmSelect signal?
> >
> > Thanks
> >
More information about the NewtonTalk
mailing list