Pinout for VQFN packages (e.g. Attiny1616) #786
Replies: 8 comments 47 replies
-
I don't make the pinout images. I beg for pinout images, and I use whatever image format I get them in. That's why the images for my different cores all look different, like they were done by different people and there's no standard or template. It's because that's exactly what happened. It's very frustrating, but I don't have the graphics skills needed to do this, and I don't even know if software that's appropriate for this even exists anymore. Basically, some sort of graphics software more sophisticated than paint, but not as complicated to learn as a full CAD program like autocad. Something like Designer, which I used around when the company that made it went under 20 years ago) and I was less than 20 years old. When I have had to update DxCore files to reflect changes tio the core like the way on DxCore you can just set PORTMUX.TCAROUTEA and analogWrite() will know which pins it can be used on. |
Beta Was this translation helpful? Give feedback.
-
It's no more useful than the SOIC-20 pinout that we already have.... |
Beta Was this translation helpful? Give feedback.
-
So I must admit I'm quite good in Inkscape and I love Adafruit and what they do. So I found this guide on their website, The guy provides a pretty good template in the style of these diagrams BQ or Pighixxx did. |
Beta Was this translation helpful? Give feedback.
-
@SpenceKonde I have a few variants to compare. Can you please pick among styles A-E and indicate whether the physical PIN number should be added as a small box right before PIN_Pxy or be part of the chip (it is currently part of the chip) and whether you want the semi-documented signals like break removed. (I can delete any signals we don't want. The PTC signals are another candidate. Right now I am including everything. Personally I sometimes generate a version that deletes the UART signals other than RX/TX as clutter). And identify any other changes you would like to see. Style A: (pins on 4 sides. text in two orientations)Pros:
Cons:
Style B: (diagonal layout with staggered pins)Pros:
Cons:
Style C: (diagonal chip without staggered pins)Pros:
Style D: (style B with a duck by request)Pros:
Cons:
Style E: rectangular layout (existing)Pros:
Cons:
|
Beta Was this translation helpful? Give feedback.
-
Damn, you're gonna scare the poor guy off. I know I'd be running for the hills. :D |
Beta Was this translation helpful? Give feedback.
-
Json is a good format for this. I don't think csv matches the data as well
csv. I thibk the reason i appear to like csv is that i often use it as the
easiest bridge between text and excel when processing tabular data
generated by or pertaining to microcontrollers. I think json is probably
the most reasonable thing to use for this, as it has a hierarchical
structure
…____________
Spence Konde
Azzy’S Electronics
New products! Check them out at tindie.com/stores/DrAzzy
GitHub: github.com/SpenceKonde
ATTinyCore: Arduino support for almost every ATTiny microcontroller
Contact: ***@***.***
On Fri, Sep 2, 2022, 14:41 ObviousInRetrospect ***@***.***> wrote:
I already handle groups of signals in the Dx by suffixing alt positions
with .n where N is the mux position. So MOSI, MOSI.1, MOSI.3 (and
corrosponding MISO, MISO.1, MISO.3). This carries over to the tiny but on
the tiny I just describe it as .1 is the alternate position. I think it
generalizes better than the purple boxes. Especially for things like SPI on
the DD where they went kinda crazy. (I wish they went crazy with UART mux
positions - those I actually use. Their UART portmux options are pretty
terrible.)
Features can be added at a couple levels of the stack. GenPinoutSVG did a
poor job separating concerns. It intermixes the logical signal definitions,
styling, and physical layout. It also doesn't handle relative positions
well which makes edits suck. Right now I have a pipeline that generates a
json that concerns itself only with the logical (what signals in what
groups are on each pin) + some software to generate that automagically from
the atpacks and then a second stage that generates the GenPinoutCSV from
the logical. Some things like rotated rectangles had to be hacked into
GenPinoutSVG but I prefer to avoid hand writing inputs to that.
From some of your other threads I don't know how you feel about JSON but I
know you like CSV. If you don't like this sort of chip definition:
https://github.com/ObviousInRetrospect/avr_pinout_diagrams/blob/main/json/ATtiny1616-QFN.json
I could easily do a bidirectional translation between the current json and
a csv format where the columns are the things you see on the legend (signal
groups) + the physical PIN number and the rows contain any boxes to be
generated in the color corresponding to the column (with | separating cases
where there are multiple signals on a pad in the signal group). This would
look pretty similar to the IO multiplexing table in the datasheets except
using more specific definitions for alternate positions and more consistent
signal naming. I figure core-specific features get treated a lot like
signals and are just extra columns.
—
Reply to this email directly, view it on GitHub
<#786 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTXEW4442H32YJFEIAFAYDV4JC5ZANCNFSM6AAAAAAQBFWMOE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Getting closer. Have numbers. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi,
i found the .gif files in the extras folder. If i can get a svg template I'm willing to do QFN pinout diagrams. Either side by side or as an extra .gif.
Btw. why gif? wouldn't png a more appropiate format?
Cu
David
Beta Was this translation helpful? Give feedback.
All reactions