Tag Archives: tinyAVR MCU

tinyAVR in 8- and 14-pin SOIC now self-programming


The ATtiny102/104 retain the AVR performance advantage — still a 12 MIPS core with 1KB Flash and 32B SRAM — and upgrade many of the features around it.


At this week’s Embedded World 2016, Atmel is heading back to 8-bit old school with their news, straight to the low pin count end of their MCU portfolio with a significant upgrade to the tinyAVR family.

According to Atmel’s briefing package, development of the ATtiny102 and ATtiny104 has been in progress for some time. We got a peek at the company’s roadmap for AVR where these are labeled “next generation tinyAVRs,” and all we can say is this is the beginning of a significant refresh — alas, we can’t share those details, but we can now look at these two new parts.

What jumps out immediately is how the AVR refresh fills a significant gap in Atmel’s capability. The existing tinyAVR family is anchored by the ATtiny10, a capable 8-bit AVR core running at up to 12 MIPS with 0.5 or 1KB Flash and 32B of SRAM. The pluses of extended availability are obvious at the beginning of the lifecycle, but by the midpoint of a long run, the technology can start to seem dated.

 ATtiny102/ ATtiny104

ATtiny102/ ATtiny104

That is certainly the case for the ATtiny10 introduced in April 2009. At that time, the ATtiny10 was a shot straight at the Microchip PIC10F, with much higher CPU performance and a competitive 6-pin SOT and 8-pin DFN package offering. Outside of the CPU itself, the ATtiny10 and PIC10F line up pretty closely except for two areas: self-programming, and the accuracy of on-chip oscillators and voltage references. ATtiny10 parts require pre-programming from Atmel or a distributor, and its rather wide accuracy specs need help from product calibration and external componentry – however, cost and code compatibility still have a lot of sway, and the popularity of the ATtiny10 was unshaken.

The ATtiny102/104 retain the AVR performance advantage — still a 12 MIPS core with 1KB Flash and 32B SRAM — and upgrade many of the features around it. First and most noticeable is a packaging improvement. The ATtiny102 comes in an 8-pin SOIC (with the 8-pin DFN option still available). For a generation of applications needing more I/O in a low-cost part, the ATtiny104 comes in a pin-compatible 14-pin SOIC with 6 extra I/O pins.

Features for ATtiny102/ ATtiny104

Self-programming of Flash has been added to both versions, and with the same core footprint a single production image for both parts is achievable. Fast start-up time is available as an option as well. The internal voltage references are now highly accurate, with calibrated 1.1V, 2.2V, and 4.3V taps at +/- 3%. Internal oscillator accuracy is now +/- 2% over a 0 to 50 degrees C temperature range at fixed voltage. Those changes prompted expanding successive approximation ADC resolution to 10-bit, and channels are doubled to eight. Two of the I/O pins can now be configured for a USART, adding serial communications capability. A new 10-byte Unique ID provides a serial number.

Those features translate to customer satisfaction with intelligent devices using the ATtiny102 and ATtiny104. The more accurate internal oscillator improves the precision of motor control in personal care devices such as toothbrushes and electric shavers. The calibrated voltage references enable applications where rechargeable battery management is a primary function, for example in the d.light family of portable solar-powered lighting.

For more information on the ATtiny102 and ATtiny104 MCUs, you can check out Atmel’s recent post here.

This announcement, and what I think will follow from Atmel later this year, reaffirms just how important 8-bit is for the future at Atmel. The AVR architecture is beloved because of its simplicity and ubiquity with over 7B cores now shipped. The advances in the ATtiny102 and ATtiny104 are aimed at reducing BOM and manufacturing costs and enabling further innovation in intelligent consumer devices.

Arduino and Adafruit unveil the Arduino Gemma

During his Maker Faire Rome presentation, Arduino Co-Founder Massimo Banzi offered attendees a preview of the company’s new collaboration with Adafruit — the Arduino Gemma, a tiny wearable MCU board packed in a 1-inch (27mm) diameter package.

ArduinoGemma

Similar to the original Adafruit Gemma, the mini yet powerful wearable platform board is powered by the versatile ATtiny85. The board will be default-supported in the Arduino IDE, equipped with an on/off switch and a microUSB connector. Since it is programmable with the Arduino IDE over USB, all Makers will have the ability to easily create wearable projects with all the advantages of being part of the Arduino family.

BzGFaEdIYAA6jnK.jpg-large

“We wanted to design a microcontroller board that was small enough to fit into any project, and low cost enough to use without hesitation,” Adafruit’s Limor Fried (aka LadyAda) explained in a blog post last September. “Gemma is perfect for when you don’t want to give up your Flora and aren’t willing to take apart the project you worked so hard to design. It’s our lowest-cost sewable controller.”

Ideal for small and simple projects sewn with conductive thread, the [tinyAVR based] Arduino Gemma fits the needs of nearly every entry-level wearable creations — ranging from reading sensors to driving addressable LED pixels.

To better visualize just how small we are talking, look at this image from an earlier version of the Adafruit Gemma.

flora_1222scale_LRG

“The ATtiny85 is a great processor because despite being so small, it has 8K of flash and 5 I/O pins, including analog inputs and PWM ‘analog’ outputs. It was designed with a USB bootloader so you can plug it into any computer and reprogram it over a USB port (it uses 2 of the 5 I/O pins, leaving you with 3),” Arduino noted in its announcement.

In addition to ATtiny85 MCU, other key hardware specs include:

  • Operating Voltage: 3.3V
  • Input Voltage (recommended): 4-16V via battery port
  • Input Voltage (limits): 3-18V
  • Digital I/O Pins: 3
  • PWM Channels: 2
  • Analog Input Channels: 1
  • DC Current per I/O Pin: 40 mA
  • DC Current for 3.3V Pin: 150 mA
  • Flash Memory: 8 KB (ATtiny85) of which 2.5 KB used by bootloader
  • SRAM: 0.5 KB (ATtiny85)
  • EEPROM: 0.5 KB (ATtiny85)
  • Clock Speed: 8 MHz
  • MicroUSB for USB Bootloader
  • JST 2-PH for external battery

For those seeking to use an Arduino Gemma in their next DIY wearable project, the board will be available for purchase on the Arduino Store and Adafruit Industries beginning late Fall 2014.

Atmel’s ToT hits the road for EELive!

Atmel’s Mobile Training Center is heading to Las Vegas Nevada on March 26th and EE Live! in San Jose in early April.

We’ll be at the McEnery Convention Center on 150 W San Carlos on Tuesday, April 1 – Thursday, April 3, showcasing a wide variety of tech across a number of spaces 
including touchsecuritymicrocontrollers (MCUs), wirelesslighting and automotive.

More specifically, you can check out:

Atmel, along with Xively, will also be co-hosting an Internet of Things (IoT) Engineering Summit at EE Live! on Tuesday, April 1, 2014 @ 11:00 – 11:45 am. Participants are slated discuss the following IoT-related topics:

  • Embedded processing and security
  • Connectivity and interface
  • Software tools and development

You can register for Atmel’s ToT Las Vegas stop here and EE Live! here.

Interested in learning more about Atmel and the IoT? You can check out our article archive on the subject here as well as Atmel’s recent SoMa panel discussion on the IoT here.

Atmel’s SAM4S – powering smart watches and more

Based on ARM’s powerful Cortex-M4 core, the Atmel SAM4S lineup offers increased performance and power efficiency, higher memory densities (up to 2MB of Flash and 160KB of SRAM), along with an extensive peripheral set for connectivity, system control and analog interfacing.

The SAM4S operates at 120MHz and integrates Atmel’s Flash read accelerator, along with optional cache memory to increase system performance. The SAM4S also features a multi-layer bus matrix, multi-channel direct memory access (DMA) and distributed memory to support high data rate communication.

As previously reported on Bits & Pieces, Atmel’s SAM4S microcontroller took center stage earlier this week when it tipped up in the Agent smart watch, a Kickstarter project that has already managed to raise over $413,000 with an impressive 3,000 backers.

Indeed, the Agent smart watch effectively combines the above-mentioned SAM4S and tinyAVR MCUs to provide longer battery life – consuming less than half the power of competing silicon.

“Extremely low power consumption is achieved through Atmel’s picoPower
with the low-power RAM retention capabilities of the SAM4S microcontroller. Essentially, the tinyAVR MCU handles maintenance tasks and events while the SAM4S ARM deals with the operating system and related apps,” an Atmel rep explained.

“This combination optimizes power use and enables the larger SAM4S microcontroller to remain in sleep mode for as long as possible. Additionally, the smart watch intelligently switches into airplane mode when remaining battery life reaches 10 percent, enabling
traditional watch functionality even in low-battery conditions.”

So how low is low in terms of power consumption? Well, the SAM4S lineup manages to achieve 200µA/MHz in dynamic mode at a low operating frequency; 30mA at 120MHz; and 1µA at 1.8V in back-up mode with the real-time clock (RTC) running. In short, it offers some of the best power consumption/performance rates on the market for standby mode, achieving 120MHz+ operating frequency with a RAM retention mode below 25µA.

On the security side, the SAM4S prevents unauthorized access to on-chip memory, supports secure device reconditioning (chip erase) for reprogramming – while a 128-bit ID and scrambled external bus interface ensures software confidentiality as the hardware cyclic redundancy check (CRC) checks memory integrity.

And last, but certainly not least, fitting a device with a SAM4S means easy access to Atmel Studio 6, which offers hundreds of ARM project examples with source code to streamline the design process.

Key data about the SAM4S can be found here, while additional information about the Agent smart watch is available here on Kickstarter.