Searching \ for '16c622 question' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=16C
Search entire site for: '16c622 question'.

Truncated match.
PICList Thread
'16c622 question'
1997\07\21@201315 by Philip Martin

flavicon
picon face
Hi all,

Just a quick one:-)

Should there be any difference in the code required to use the pins A0 -
A3 on a 16c622 as opposed to a 16c84.

TIA,

--
Philip Martin   ----------------------------------------------------------------
Royal Quays             If at first you don't succeed, try again. Then quit:
North Shields.          no use being a damn fool about it !
                                                       W.C. Fields
email spam_OUTphilipTakeThisOuTspamphilmart.demon.co.uk

1997\07\21@205032 by Todd Peterson

picon face
At 12:09 AM 7/22/97 +0100, you wrote:
>Hi all,

>Should there be any difference in the code required to use the pins A0 -
>A3 on a 16c622 as opposed to a 16c84.

Philip,

If I recall correctly, you will need to disable the analog comparators in
order to make the '622 behave like a '84.  CMCONN <2:0> = 111.  Power-on
reset puts these three bits at 111, which turn the comparators on (not what
you want if your code is already running in an '84.

-Todd Peterson

E-Lab Digital Engineering, Inc.
 "Embedded Control & Integrated Circuit Solutions"

EDE300 IC -  Stamp I/O Expander & PC Interface IC
EDE700 IC -  Serial to LCD Interface IC
EDE1200 IC - Stepper Motor Controller
EDE1400 IC - Serial to Parallel-Printer IC

http://www.netins.net/showcase/elab

1997\07\22@004429 by John Payson

picon face
> Should there be any difference in the code required to use the pins A0 -
> A3 on a 16c622 as opposed to a 16c84.

Yes.  In order for pins A0-A3 to operate as digital inputs, you must set
the comparators to "digital input" mode.  I believe this may best be done
via "CLRF $1F" [bank 0].

More... (looser matching)
- Last day of these posts
- In 1997 , 1998 only
- Today
- New search...