Does anyone have a spreadsheet or way to compare all the new Attiny chips that Microchip has introduced? I like they way they're being aggressive on pricing and it looks like a well thought out with naming but I'm tired of going from datasheet to datasheet...
ok I'm an idiot... I found a wiki... but discussion always help to illuminate.
If you aren't already aware, I've got a core that supports all the attiny 0-series and 1-series parts GitHub - SpenceKonde/megaTinyCore: Arduino core for the tinyAVR 0/1/2-series - this is any ATtiny with 2, 4, 6, or 7 in the 1's place, 0, 1, or 2 in the tens, and the flash size in the remaining digits. LIBRARY AUTHORS - Does your library have issues with this core? Please touch base w/me so we can ensure a solution that works on all parts and won't be broken by future changes
Also have breakout boards for sale in my tindie store.
And, yes, it's a very well thought out product line. Except for the 8 pin parts.
Amazing thank you DrAzzy... I'm just now pricing and trying to find a supplier for 8 k version of 0 or 1 series. I like how they orgainized the name and features... easier to remember.
Why stop at 8k? They go up to 32k on 20/24 pin 1-series, 16k on 14 pin (and 0 series 20/24pin). 8-pin stops at 4k though (one of several issues with the 8 pin ones)
I sell dev boards (and bare breakout boards for you to populate yourself).
Digikey and mouser sell the bare chips.
Yeah I wish the 8 pin went to 8k. I can't see ever needing 32k, cost is the biggest factor. I like that the 14 pins can go to 16k if the need arise... I still find the 1k AT13's useful... but at these prices why not go comfy and get 4-8k.
In your assessment how does the 32k versions compare to an atmega? I like the aggressive pricing so I can buy domestically again!
wolframore:
Yeah I wish the 8 pin went to 8k. I can't see ever needing 32k, cost is the biggest factor. I like that the 14 pins can go to 16k if the need arise... I still find the 1k AT13's useful... but at these prices why not go comfy and get 4-8k.
The At tiny 85 is an 8 pin, 8k part...
The 32k parts are very appealing next to the atmega parts. I can of course contrive use cases that are an exception to that, but these are all corner cases. The really limiting thing is that we don't *(yet) have optiboot or other serial bootloader. It would be awesome if we could do that, set the fuse to disable UPDI and make the shared pin work as reset pin, and program over serial. While the new internal oscillator is great, it is unfortunate that these also don't support a crystal as clock source - it usually doesn't matter (internal is good enough for UART), sometimes you want to have some particularly strange clock speed, like one of the perfect-UART clock speeds.
I also really like that they have a 16k 14-pin part (you know the 16k 1-series parts have 2k of ram, right? The 16k 0-series only has 1k though)
krupski:
The At tiny 85 is an 8 pin, 8k part...
Of course, but we're not talking about classic AVR ATtiny parts, we are talking about the new megaavr 0-series and 1-series ATtiny parts - the 8-pin ones are the 412, 212, 402, and 202. There is unfortunately not an 812 or 802, which is what we were whining about.
That said, the 8-pin megaavr parts are kinda gimped because of how they handled the pin mapping - there's only 1 hardware output compare pin, among other things (the larger 0-series and 1-series parts have all 6 output compare channels of TCA0 available, and on the 20 and 24 pin 1-series parts, there are 2 additional channels usable on TCD0. I need to look into whether the event system can be bullied into providing additional hardware PWM channels; I'm pretty sure it can be. But it's hard to get excited about the 8-pin megaavr attiny's because of the 4k flash limit. I'm hoping that they will release an 812.
I need to look into whether the event system can be bullied into providing additional hardware PWM channels
It looks like you might be able to get one additional PWM via the event system, and another via the CCL...
westfw:
It looks like you might be able to get one additional PWM via the event system, and another via the CCL...
That was my impression as well.
there's only 1 hardware output compare pin
Oh, wait! The datasheet has changed! "I/O Multiplexing and Considerations updated"
DS40001911A(2017):
DS40001911B(2019):
westfw:
Oh, wait! The datasheet has changed! "I/O Multiplexing and Considerations updated"DS40001911A(2017):
DS40001911B(2019):
ARGH! Figures that I saw that post like an hour after I did 1.0.4 release!
Support for those will be in 1.0.5 of megaTinyCore. So was the original one like... just wrong?!
Ugh... the old datasheets are still floating around... I am now signed up for updates from M/C for all the new tiny chips. These datasheets are really confusing or maybe it's just me.
Datasheet for 204/404 was released twice on Jul 5, 2019 one is one page longer no clue which one is good, plus they all say Preliminary Datasheet at the bottom.... this is a mess. [edit] oops my mistake one is for the 202/402 the other for 204/404...
Why do they keep mentioning Atmel?
does anyone else find the pin names confusing or is it just me? 0,1,2 jump to 6,7??? Where did they learn to count?
Wow the 1614 is not bad... for about $0.60... I feel like I'm getting spoiled now.
Is this how it works with new chips? The datasheet is missing all the details compared to the datasheets of other more mature chips.
DrAzzy.. your tindie site is very cool... I might have to order some stuff from you just to get started.
That would be lovely
1.0.5 is released with the newly disclosed features (more PWM pins, UART remap option) for the 412/402/212/202 - Manual version is already available for download, board manager version will be out in the next day or so (waiting on the json file getting updated)