Jump to content
ELFORUM - Forumul electronistilor
adicontakt

PIC16F819 si PIC16F628 echivalente?

Recommended Posts

m-am apucat de un proiect bun bazat ca am prin sertar un pic16f628 , acum constat ca de fapt am f819

sunt echivalente fara sa modific hexul? pt ca nu am codul sursa

este vorba de un ceas cu termometru

Share this post


Link to post
Share on other sites

Nu poti schimba Pic-urile intre ele. Ele sunt echivalente doar ca pini. Chiar daca au acelasi set de instructiuni si aceeasi mapare a registrilor tot trebuie recompilat pentru alt model.

Share this post


Link to post
Share on other sites

Imi este greu sa inteleg cum se poate inlocui 16f84 cu 16f628 mai ales ca sunt diferente mari intre ele. Ai un exemplu concret ?

Edited by djvas

Share this post


Link to post
Share on other sites

nu merge ptr ca in hex-ul de F84 nu are registrul CMCON ptr a dezactiva intrarile analogice

    movlw    0x07        ; Comparator off    movwf    CMCON       ;

Share this post


Link to post
Share on other sites

Nu, hexul este ptr 628

in surse este scris ca este portat pentru F628

si uite aici in sursa ca se selecteaza tipul de PIC

;*******************************************************************;;    "Digital" Frequency display;;    Crystal freq. = 4.000MHz +/- a bit;;*******************************************************************;;    First, let us choose our weapon - 16F84 or 16F628;;    Comment out the next line [;#define F84] if using a 16F628#define    F84#ifndef    F84    #define    F628#endif

Share this post


Link to post
Share on other sites

nu ma mai contrazic , ca la programare nu ma pricep 

referitor la titlul topicului? sa inteleg ca raspunsul este NU

Edited by adicontakt

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.Terms of Use si Guidelines