Hi all,
Because I think there is a big lack of knowledge of the new ATtiny 1 series and 0 series about in topics likes timers (TCA, TCB , TCD) ,ADC , DAC,TWI...etc. I saw recently that MC has updated some application notes on "How to get started", I thought its a good idea to post the links here so it can help beginners to look up for these notes themselves and after that if there is any questions they can share it in freaks, the notes has has some basic source codes that can be adapted to any mcu from tiny 1 and tiny 0 series.
so here it is:
- TB3229 - Getting Started with GPIO
- TB3209 - Getting Started with ADC
- TB3210 - Getting Started with DAC
- TB3211 - Getting Started with AC
- TB3212 - Getting Started with TCD
- TB3213 - Getting Started with RTC
- TB3214 - Getting Started with TCB
- TB3215 - Getting Started with SPI
- TB3216 - Getting Started with USART
- TB3217 - Getting Started with TCA
- TB3218 - Getting started with CCL
- AN3007 - Getting Started with FreeRTOS on megaAVR 0-series
- AN2451 - Getting Started with Core Independent Peripherals on AVR Microcontrollers
- AVR1000: Getting Started with Writing C-Code for XMEGA
- AVR1000b: Getting Started with Writing C-Code for AVR® MCUs
- AVRAPPS-1544:Getting Started with Events on the tinyAVR 1-series
- AN2503 - Getting Started with tinyAVR 1-Series Microcontrollers
- Fundamentals of the C Programming Language
- Fundamentals of C Programming - Enumerations
These are just links to the Appnotes, so its just a copy/paste. I posted it here because i noticed many of the new attiny users overlook these notes which might be helpful, althought i havent tested the whole source codes but so far it all compiled. with small changes you can also adapt it to any part in the tiny 1 & 0 series.
------------------------------------------------------------------------------------------------------------------------------------
C Codes:
- Getting started with TWI -> See the attachment
This code includes: Blinking a LED, Long and short Button press, Wake up on Button Press
- Discussion about USART Github example can be found in this thread:
https://www.avrfreaks.net/forum/...
- Discussion about Power consumption "Power Down" mode with PIT can be found in this thread:
https://www.avrfreaks.net/forum/...
*Source: Microchip
Regards,
Moe
EDIT:
15/05/2019: Added getting started with FreeRTOS with megaAVR 0-series (Also valid for ATtiny 1 series).
21/05/2019: Added getting started with core independant peripherals (valid for ATtiny 1 & 0 series).
19/07/2019: Added getting started with writing C-Code for XMEGA (valid for ATtiny 1 & 0 series).
24/07/2019: Added getting started with Events in the tinyAVR 1-series (valid for ATtiny 1 & 0 series).
19/08/2019: Added links to Micochip repository with examples to: Blinking a led, Long and short Button press, Wake up on Button Press.
22/08/2019: Added link to other thread discussing about the USART in ATtiny404 (similar to 1 & 0 series)
27/08/2019: Added attachment to Getting started with TWI, "C Codes" section
07/10/2019: Added application note "Getting started with GPIO"
17/10/2019: Added link to thread about Power consumption with PIT and Power Down mode
21/08/2020: Added Getting started with Tiny1 series: includes using Evaluation kits Xplained Nano/Mini/Pro and STK600
24/08/2020: Added Getting started with Writing C-Code for AVR MCUs
24/08/2020: Added "Fundementals of C programming language + Enumeration (A beginner guide written by MC)