Page 1 of 1
Different package of same chip, pinouts
Posted: Sat Feb 21, 2015 11:21 am
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
Re: Different package of same chip, pinouts
Posted: Sat Feb 21, 2015 11:52 am
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.
Re: Different package of same chip, pinouts
Posted: Sat Feb 21, 2015 12:09 pm
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.
Re: Different package of same chip, pinouts
Posted: Sat Feb 21, 2015 1:31 pm
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

Re: Different package of same chip, pinouts
Posted: Sat Feb 21, 2015 2:03 pm
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.
Re: Different package of same chip, pinouts
Posted: Sat Feb 21, 2015 2:07 pm
by hyperion007
Great, thanks for clearing that up for me
