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
Different package of same chip, pinouts
Moderator: Benj
-
- 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
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.
Not too sure about the "Pins sides" statement but Benj should check it.
- Attachments
-
- 18F24K22.fcdx
- (36.71 KiB) Downloaded 171 times
-
- 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
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
― C.S. Lewis
-
- 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
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
I wasn't sure so I thought it would be best to check
-
- 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
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
― C.S. Lewis
-
- Posts: 528
- Joined: Sat Dec 01, 2012 1:23 pm
- Location: Sweden
- Has thanked: 49 times
- Been thanked: 101 times
- Contact: