EYE on NPI – AVR DD Family of Microcontrollers #Digikey #EYEonNPI @DigiKey @microchipmakes @adafruit

This week’s EYE ON NPI (video) is a throwback to the 8-bit era, with a new spin on the classic AVR microcontrollers we’ve loved for decades: it’s Microchip’s AVR® DD Family of Microcontrollers, a powerful update to the powerful and low-power AVR RISC core that came from Atmel.

While many folks may be moving to Cortex M0 or RISC-V chipsets to get 32-bit performance, there’s still a lot of demand and use for 8-bit microcontrollers. Cost, simplicity, reliability, code-size, and power usage can all be better on 8-bit.

If you’re only on a 32-bit micro because of peripherals that tend to come with the fancier chips, you might be surprised by what the AVR DD family has to offer.

For example, these chips have external interrupts on (just about all) the GPIO pins. There’s four 16-bit timers plus one 12-bit (that’s *five* total timers!), SPI & I2C, two UARTs, a 10-bit DAC, and 12-bit input ADC that’s muxed to almost every pin. In particular, the high-bit ADC and DAC are a little unusual to see in an 8-bit platform.

There’s also some funky MCP-specific peripherals that can help reduce BOM cost. For example, CCL/LUT is a peripheral that allows you to make custom logic-lookup-tables for making simple – but very very fast – multi-input logic gates that can use interrupts or peripherals as input. For example, you can make a SR latch, logic gate, or Manchester encoder – you can think of it as like a ‘micro’ PIO or CPLD.

MVIO is a new capability that we haven’t seen before, where an IO port can run at a different logic level – either higher or lower than the VCC power. This allows easy bi-directional interfacing of SPI/I2C/GPIO to 3V logic from 5V, or vice versa, without the use of level shifting! Perfect if you want to run this main core at 5V for speed and signal strength, but have some 3V sensors to interface to, or run the core at 1.8V for power and IO but have a 3.4V LED you want to light up.

Clock rate is up to 24 MHz, can be powered from 1.8 to 5.5V – it’s exceedingly rare to find 5V ARM chips – and have FLASH, SRAM, EEPROM and NVM. EEPROM in particular is not common on ARM chips, and some don’t even have built in Flash. So think of this as a compact li’l chip with pretty much everything you need to get a product out the door, with a range of memory sizes and physical packages from QFN to DIP! It’s nice to see Microchip is still innovating the AVR line, to make better 8-bit micros that power the electronics around us.

For programming, of course you can use MPLAB IDE but we like Arduino compatibility and SpenceKonde’s DxCore looks like it’s adding or added AVR DD support, so you can quickly get going with compiling code and using the basic peripherals in just a few minutes!

Best of all, the AVR DD family of parts are totally in stock at Digi-Key right now for immediate shipment. There’s SOIC, SSOP and QFN packages with up to 64KB flash / 8 KB RAM, all for about $1.50 in individuals, $1 in qty.

If you’re looking for an alternative to the ATmega328, this is a nice step up. We recommend getting started with the AVR DD Curiosity Nano board, which is breadboard compatible and has everything needed to get started. Order today and you can be MVIOing towards your next AVR 8-bit based product by tomorrow afternoon!


Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Join Adafruit on Mastodon

Adafruit is on Mastodon, join in! adafruit.com/mastodon

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 36,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


Maker Business — “Packaging” chips in the US

Wearables — Enclosures help fight body humidity in costumes

Electronics — Transformers: More than meets the eye!

Python for Microcontrollers — Python on Microcontrollers Newsletter: Silicon Labs introduces CircuitPython support, and more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

Adafruit IoT Monthly — Guardian Robot, Weather-wise Umbrella Stand, and more!

Microsoft MakeCode — MakeCode Thank You!

EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — #NewProds 7/19/23 Feat. Adafruit Matrix Portal S3 CircuitPython Powered Internet Display!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.