electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

PIC16F to PIC16C


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> PIC16F to PIC16C
Author Message
Sobakava



Joined: 27 Mar 2002
Posts: 367


Post16 Dec 2003 22:43   

pic16c


I've simple but high-volume design based on PIC16F84. We found PIC16C84's in high volume and extremely low price. My code does not use flash capabilities of F84. We don't plan to upgrade firmware later.
So, OTP is OK...

What do I have to port my code from F84 to C84? Do I have to take care of anything or does my hex file work on C84 too without modiifcation?

Regards

there is a link about this issue:
http://hem.passagen.se/sat/16f84.html
Back to top
Google
AdSense
Google Adsense




Post16 Dec 2003 22:43   

Ads




Back to top
ME



Joined: 14 Mar 2002
Posts: 1523
Helped: 13


Post16 Dec 2003 23:54   

pic 16c


16C84 is not OTP! 16C84 was the first reprogrammable PIC, it uses EEPROM rather than Flash, but you can reprogram it just like 16F84.
I think 16C84 was the only reprogrammable 16Cxx device.
There are some minor differences.
One difference between 16C84 and 16F84 is the polarity of some fuses:
http://hem.passagen.se/sat/encyclo.htm
From above link:
Fuses - eight flags in the PIC1684 processor. They can only be changed when programming the chip. Once programmed, the whole chip needs to be erased and then reprogrammed. Two important fuses are code protect and power-up timer. Power-up timer has caused much confusion since the interpretation of that bit was changed when PIC16C84 was replaced by PIC16F84!

PIC16F84 or PIC16c84A - same chip as PIC16c84, but with some minor improvements. Power-up timer has to be set differently when you program it - that's the only difference.

Power-up timer - a fuse in PIC1684. For some reason, it's inverted in 16F84. Therefore you need to invert power-up timer if you program a PIC16F84! Other than that, PIC16F84 is backwards compatible with PIC16C84.



16F84 vs 16C84: http://groups.yahoo.com/group/SeattleRobotics/message/581

http://www.ussc.com/~turner/psk_ver2x_guide.html
From above link:
Important notice pertaining the use of a PIC16C84 versus the PIC16F84:

For the PIC16C84 version, the available RAM is 16 bytes instead of 48 for the PIC16F84. This means that the PIC16C84 version may hold up to 15 characters in RAM for a message or transfer up to 16 characters to EEPROM at a time.



You can find 16C84 datasheet here for comparison: http://www.microchip.com/download/lit/pline/picmicro/families/16f8x/30445c.pdf

Becuse 16C84 has less ram than 16F84 you need to recompile your project for 16C84.

Anyway 16F84 is obsolete and very expensive, it have been replaced with the much cheaper 16F627. Maybe you can buy 16F627 cheaper than the obsolete 16C84.

Please read this topic: PIC 16F84 vs. 16F627 / 16F628
http://www.elektroda.pl/eboard/searchtopic43570-16f84.html+16f628
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> PIC16F to PIC16C
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Sample cod for PIC16f (5)
PIC16f + ULN2003a + DC motor 24V (16)
9 MHz crystal with PIC16F series (1)
PIC16F 18F Parallel Port Programmer (8)
PIC16F programming with MPLAB-C18 compiler (1)
Digitally controlled current source to be used with PIC16F (5)
NRF401 circuitry for remote control by using PIC16F series (1)
Protel DXP library for Microchip PIC16F and PIC18 series (4)
Going crazy with PIC16F and 74HC595 serial-parallel register (1)
Is the program that works in PIC16F works with PIC18F? (7)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS