Different package of same chip, pinouts

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
hyperion007
Posts: 528
Joined: Sat Dec 01, 2012 1:23 pm
Location: Sweden
Has thanked: 49 times
Been thanked: 101 times
Contact:

Different package of same chip, pinouts

Post by hyperion007 »

Hi,

I would like to use the PIC 18F24K22 in the 28-pin QFN, UQFN package but when I choose this chip in FC it shows the chip in it's 28-pin PDIP, SOIC, SSOP package.

The pinout is not identical and differ quite a lot.

So what needs to be done for me to use this chip in the package I need?

Thanks
PIC18F24K22 package difference.JPG
(82.87 KiB) Downloaded 587 times

jj34
Posts: 15
Joined: Mon Sep 08, 2014 10:57 am
Has thanked: 1 time
Been thanked: 7 times
Contact:

Re: Different package of same chip, pinouts

Post by jj34 »

You can make your own copy of the FCDX file (save the original one with another name), and change the "pin names" sequence accordingly, something like the attached file maybe.
Not too sure about the "Pins sides" statement but Benj should check it.
Attachments
18F24K22.fcdx
(36.71 KiB) Downloaded 171 times

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: Different package of same chip, pinouts

Post by kersing »

The package does not matter for code generation. You can use any package to create the flowchart and compile it. The only advantage of a modified definition file is cosmetic, the chip displayed in Flowcode will look like the chip on your board.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

hyperion007
Posts: 528
Joined: Sat Dec 01, 2012 1:23 pm
Location: Sweden
Has thanked: 49 times
Been thanked: 101 times
Contact:

Re: Different package of same chip, pinouts

Post by hyperion007 »

Ok, so the pin number doesn't matter at all, only the pin name for example if I want to output "1" to RA0 it will be on pin 2 for one package type and pin 28 on the other package type?

I wasn't sure so I thought it would be best to check :)

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: Different package of same chip, pinouts

Post by kersing »

The code generated by Flowcode does not contain pin numbers, the code uses the port name. So you are right, the same code will drive different pins on different packages of the same device.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

hyperion007
Posts: 528
Joined: Sat Dec 01, 2012 1:23 pm
Location: Sweden
Has thanked: 49 times
Been thanked: 101 times
Contact:

Re: Different package of same chip, pinouts

Post by hyperion007 »

Great, thanks for clearing that up for me :)

Post Reply