Quick question on PIC

Status
Not open for further replies.

bigal_scorpio

Active Member
Hello to all,

Just built a circuit that uses the PIC16F628, and then realised that the one I have is a 628A.

Is the code from the older chip ok to use on the "A" version and do I need to use an "A" include file as opposed to the original one?

I am led to believe that the pins are exact on each version so I think the migration should work circuit wise at least?

Thanks.......Al
 
Use the A version of the include file. A means it's a silicon revision, but it's the same chip. So the software should still work (like you said the pinouts are the same). But the internal memory mapping might be different from the silicon revision, so use the A version of the include file.
 
Includes


Hi dknguyen,

Thanks for the swift reply, one more question though, since I am just beginning with PICs, where do these elusive Include files come from?

Thanks again........Al
 
I thought the A version had comparators while the older version didn't.

You might want to check how the ports are initialised if this is the case.
 
picbits said:
I thought the A version had comparators while the older version didn't.

You might want to check how the ports are initialised if this is the case.
I think the non A version has comparators too for 628.
87x family has no comparator for non A version.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…