Searching \ for 'Convert Code From Pic16c622 To Pic12c508/9' 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: 'Convert Code From Pic16c622 To Pic12c508/9'.

Truncated match.
PICList Thread
'Convert Code From Pic16c622 To Pic12c508/9'
2000\01\03@220432 by Martin Browne

flavicon
face
<x-flowed>Hi Guys,
       another newbie, I'm trying to learn to program the Pic12c508/9 any help
would be great, however i have some code for the 16c622 and i would like to
take parts of it and insert it into a Pic12c508/9 looking at the commands
they seem alike. Is this possible and can anyone help?.

Thanks In Advance
Martin

</x-flowed>

2000\01\03@224715 by quozl

flavicon
face
On Tue, Jan 04, 2000 at 02:59:15AM +0000, Martin Browne wrote:
>         another newbie, I'm trying to learn to program the Pic12c508/9 any help
> would be great, however i have some code for the 16c622 and i would like to
> take parts of it and insert it into a Pic12c508/9 looking at the commands
> they seem alike. Is this possible and can anyone help?.

I'm afraid I don't know what a 16C622 is like, but chances are it is
similar to the 16F84.  If so, then I've been there.

Have a look at http://quozl.us.netrek.org/porting-16f84-12c509/

--
James Cameron   spam_OUTquozlTakeThisOuTspamus.netrek.org   http://quozl.us.netrek.org/

2000\01\03@234743 by Mark Willis

flavicon
face
James Cameron wrote:
>
> On Tue, Jan 04, 2000 at 02:59:15AM +0000, Martin Browne wrote:
> >         another newbie, I'm trying to learn to program the Pic12c508/9 any help
> > would be great, however i have some code for the 16c622 and i would like to
> > take parts of it and insert it into a Pic12c508/9 looking at the commands
> > they seem alike. Is this possible and can anyone help?.
>
> I'm afraid I don't know what a 16C622 is like, but chances are it is
> similar to the 16F84.  If so, then I've been there.
>
> Have a look at http://quozl.us.netrek.org/porting-16f84-12c509/
>
> --
> James Cameron   .....quozlKILLspamspam@spam@us.netrek.org   http://quozl.us.netrek.org/

Fairly similar, only EPRom/OTP;  Capable of 20MHz;  And has some
different peripherals onboard, specifically 2 Analog comparators, that's
a noticeable difference.
http://www.microchip.com/Download/Lit/PICmicro/16C62X/30235g.pdf tells
the tale.

Used a few, back in my Parallax assembler days.  It's been a while.

So - basic worries:  Clock speed (20MHz down to 4MHz is a squeeze, if
your application used a fast crystal and needed it, potentially.)  Code
Size 2k down to 1k, RAM 128 locations down to 41.  And if they're using
those comparators, you'll need to do some of the "pin-twiddling" tricks
to handle those being absent, potentially.  Also, fewer pins, but you
knew that <G>

 Mark

--
I re-ship for small US & overseas businesses, world-wide.
(For private individuals at cost; ask.)

2000\01\04@010921 by quozl

flavicon
face
On Mon, Jan 03, 2000 at 08:47:13PM -0800, Mark Willis wrote:
> And if they're using those comparators, you'll need to do some of the
> "pin-twiddling" tricks to handle those being absent, potentially.

Which reminds me ... any pointers available to information on the
classic simple inaccurate analog to digital conversion possibilities
using a straight I/O pin?

I had a think over breakfast.  Capacitor to ground and resistor to
voltage being measured.  Lower pin to discharge capacitor, let pin
float, time how long it takes for capacitor to reach "1" potential.

Worries: non-linearity, how to calculate voltage from time properly,
current consumed when the capacitor is shorted by the pin latch, time
taken to measure things, and one can't measure very low voltages without
first amplifying them.

Presumably you could measure higher voltages if you are sure they will
not exceed the current limits of the pin through the resistance?  I'm
thinking 12V here.

--
James Cameron   quozlspamKILLspamus.netrek.org   http://quozl.us.netrek.org/

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