-
Notifications
You must be signed in to change notification settings - Fork 712
Corrected footprint for Atmega-48-MHN and Atiny-48-MHN #752
Conversation
59102b2
to
39166cd
Compare
The original footprint had the wrong EP size. (Was taken from an unrelated application note)
39166cd
to
1a087a4
Compare
For the 28 pin, I guess you mean page 479 (not 477) of http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A_88A_168A-Data-Sheet-40002007A.pdf? That is wrong in the footprint. For the 32 pin, change the link to http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A_88A_168A-Data-Sheet-40002007A.pdf page 477. The link you used is the same package drawing but this one is rev F (instead of rev E). |
Also, since these are footprints built for a specific pad size, should the footprint name indicate that? Perhaps add |
I am a bit on the fence with this one to be honest. On the one hand having the pad size in the footprint name gives more information to the user. On the other it will confuse users if the default generic footprint has it. (I would have only used it where there is a consious decision to change the pad size. An example would be handsolder versions) Edit: My main argument against adding pad sizes is that i do not want to have another massive naming convention change so shortly after having updated the names for these parts. (Only doing it for some footprints would really be wrong.) I would really like to see the lib stable in this regard for at least a year or so. |
I used a different datasheet in the footprint then here in the description of the bugreport. (I used a shorter datasheet as it downloads faster and users will find the drawing faster. Did forget to update the description here. Sorry about that.)
Edit: oops that was meant for the other pull request. (removed that part from here.) |
I'm not sure how this confuses users. If the user picks a part with a default footprint, then they're good. If they deviate, it's up to them. If the part they choose doesn't have a default footprint, and it's a part in a QFN package, they will need to figure out the package. Let's say there are only two footprint options in CvPcb and it's not too hard to figure out which footprint is correct (and both are likely to work, anyway, so it's not as if there is one horrendously bad choice). I think the potential burden on users to drive KiCad properly is higher than, say, Excel, and this is a case where making available the correct footprint for a package is a higher priority than pandering to some ideal of simplicity in a PCB design tool. I agree only adding pad size for some footprints would be poor form, but having the correct footprint for a package seems like a more important goal. I didn't extensively try to find two package drawings showing the same size package and EP and pin count and pin pitch but different lead sizes, so if that exists in the future we can cross that bridge. Since you're good with this and I've made my concerns noted, I'll merge now. |
Edit: i originally looked at the wrong page of the datasheet. This is now corrected.
The original footprint had the wrong EP size (taken from an unrelated application note)
Datasheets:
Symbol PR: KiCad/kicad-symbols#769
Script PR: pointhi/kicad-footprint-generator#149
Responsible file for the dimension is qfn-2x.yaml
Script params for reference:
Screenshot of the thermal vias version
32 pin version should have 3.1x3.1mm ep instead of 3.8x3.8mm
Example datasheet:
Parameters:
The AVR MCU uses an already existing footprint (3.6x3.6mm EP) it is not added here for this reason.