AVR DD vs TINY 2 #293
Replies: 9 comments 5 replies
-
Nice comparison. Can you add code formatting so everything lines up? |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
I just transferred it into a table. Spence: I edited the table to clear up a few things and add a bit more information where I thought key things were omitted.
Note on LUTs: the 2-series lacks rhyme or reason to placement of CCL pins (it's classic Atmel dartboard style). On the other hand, the DD-series orderly approach means that low pincount devices just don't have hardly any LUT input pins available. Not that the lut pin inputs arewhat anyone cares about - the CCL is about the INTERNAL inputs, which allow you do to mighty and terrible things; IMO the combinantion of EVSYS and CCL is the most powerful and flexible peripheral on the modern AVRs.
make sure you read the portmux section, They clearly added them for lowpincount versions, but high pincount parts get them too.... and that may be the standard moving forward! |
Beta Was this translation helpful? Give feedback.
-
right, sorry |
Beta Was this translation helpful? Give feedback.
-
Will correct. Should be 11 at the most, one of which is input only and
requires disabling reset, and another of which requires disabling updi
(which there has normal drive strength). He pulse on dd also needs to be
delivered to reset.
Something about the hb tolerance ce make output drivers terrible
I'm nit immediately seeing whet page this is on, can you point me in the
general direction? Thanks
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 Wed, Jul 6, 2022, 15:43 ObviousInRetrospect ***@***.***> wrote:
I think the General Purpose I/O line has a bug - not sure how you get 13
on a 14-pin part. The data sheet just says 12.
—
Reply to this email directly, view it on GitHub
<#293 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTXEWYJQUXNXQWHP3CP2LLVSXOU5ANCNFSM52PS36IQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
It's. Fuse setting like usual (its exposed by the core wirh warning if the
option will require hv to do firther programming . If you set reset as inpu
t, you just lose the reset function. Updi still works. If you set updi as
gpio, you can t do any updi programming without an Hv programmer that
understands that dd series and later gets they hv pulse on reset, not updi.
I expect to have one for sale late summer
…____________
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 Wed, Jul 6, 2022, 17:44 trimarco232 ***@***.***> wrote:
right
un addition, how one can use the special pins (RESET, UPDI) as GPIOs isn't
that obvious
—
Reply to this email directly, view it on GitHub
<#293 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTXEW3MRANRGG6YJNXJE2DVSX425ANCNFSM52PS36IQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Noticed what might be a significant difference for some applications that might be worth putting in this table: The voltage references in the DD are all a horrendous +/- 4% [1] instead of the +/-2% [2] in the attiny3224 for the 1v024 and 3% for the others. I went back and checked the attiny1614 which also specifies 2% for 1v024. When I went to check the other DX parts I couldn't find any spec for the vref in the da/db (?!?!). I'd be kind of surprised if these were also 4%, does anyone have a number for the DA/DB? Edit: it isn't in the TOC, but DS40002300A-page 611 does in fact say that all the v-refs on the DB are "typical +/-4" with no min or max specified. Yuck. Looks like I may start populating an external vref or using vcc more often. I usually target tighter vcc regulation than +/-4. [1]https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/AVR32-16DD20-14-Prel-DataSheet-DS40002413.pdf page 575 |
Beta Was this translation helpful? Give feedback.
-
Re reference accuracy - it's worth testing how accurate they are under realistic conditions, because the figures they give are often over the whole temperature range, whereas we often know that our devices will be operated in a relative ly narrow temperature band |
Beta Was this translation helpful? Give feedback.
-
Yeah the ADC not being ready is one thing. The references being massively less accurate than dividing down VCC off the cheap LDOs I use that I select for low quiescent current and not accuracy is still unacceptable and seems unrelated. I was pleasantly surprised to get a response from Microchip on my support case on the DB datasheet (they have been pretty good with documentation cases pointing out obvious documentation errors and asking for clarifications). They are tightening up the spec somewhat (in the direction of an O(10%) better being the min/max instead of the typical) but it is still disappointing for what seems like their analog flagship (built in op-amps etc). You'll note the tiny-2 has somewhat more restricted temperature ranges for the 2% spec. I'd be happy(er) with something like 1% typ at 25c and +/-2 max from 0c-40c. But really for a 12-bit ADC I want 0.5% typical, 1% min/max over temperatures humans are comfortable in for at least one reference. Can usually divide down the input to use the good reference. Next rev of my dev board for this chip is getting a footprint for a non-terrible external vref. Also, I think the new docs say don't use Fclkadc >500khz with the 1.024v reference on the DB but it still wasn't clear to me whether that applies to an external reference or the internal references too. I didn't ask explicitly but I kind of expect all of the above will apply to the DD/DA as well. |
Beta Was this translation helpful? Give feedback.
-
..........................................................AVR16DD14.........ATTINY1624
General Purpose I/O ........................9(10,11) ....... 11(12)
Beta Was this translation helpful? Give feedback.
All reactions