EYE on NPI - AVR DD Family of Microcontrollers episode artwork

EPISODE · Aug 25, 2022 · 12 MIN

EYE on NPI - AVR DD Family of Microcontrollers

from Adafruit Industries · host Adafruit Industries

This week's EYE ON NPI 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 (https://www.digikey.com/en/product-highlight/m/microchip-technology/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. (https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/AVR32-16DD20-14-Prel-DataSheet-DS40002413.pdf) 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. (http://ww1.microchip.com/downloads/en/AppNotes/TB3218-Getting-Started-with-CCL-90003218A.pdf) 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! (http://ww1.microchip.com/downloads/en/Appnotes/GettingStarted-MVIO-AVRDB-DS90003287A.pdf) 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! (http://ww1.microchip.com/downloads/en/DeviceDoc/AVR-DD-Product-Brief-DS40002215A.pdf) 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 (https://github.com/SpenceKonde/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 (https://www.digikey.com/short/m4qb8wf8) 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. (https://www.digikey.com/short/10n70tmc) Order today and you can be MVIOing towards your next AVR 8-bit based product by tomorrow afternoon!

This week's EYE ON NPI 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 (https://www.digikey.com/en/product-highlight/m/microchip-technology/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. (https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/AVR32-16DD20-14-Prel-DataSheet-DS40002413.pdf) 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. (http://ww1.microchip.com/downloads/en/AppNotes/TB3218-Getting-Started-with-CCL-90003218A.pdf) 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! (http://ww1.microchip.com/downloads/en/Appnotes/GettingStarted-MVIO-AVRDB-DS90003287A.pdf) 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! (http://ww1.microchip.com/downloads/en/DeviceDoc/AVR-DD-Product-Brief-DS40002215A.pdf) 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 (https://github.com/SpenceKonde/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 (https://www.digikey.com/short/m4qb8wf8) 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. (https://www.digikey.com/short/10n70tmc) Order today and you can be MVIOing towards your next AVR 8-bit based product by tomorrow afternoon!

NOW PLAYING

EYE on NPI - AVR DD Family of Microcontrollers

0:00 12:10

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

API Intersection Stoplight Building a successful API requires more than just coding. It starts with collaborative design, focuses on creating a great developer experience, and ends with getting your company on board, maintaining consistency, and maximizing your API’s profitability.In the API Intersection, you’ll learn from experienced API practitioners who transformed their organizations, and get tangible advice to build quality APIs with collaborative API-first design.Jason Harmon brings over a decade of industry-recognized REST API experience to discuss topics around API design, governance, identity/auth versioning, and more.They’ll answer listener questions, and discuss best practices on API design (definition, modeling, grammar), Governance (multi-team design, reviewing new API’s), Platform Transformation (culture, internal education, versioning) and more.They’ll also chat with experienced API practitioners from a wide array of industries to draw out practical takeaways and insights you can use.H TV Podcast Industries Chris Jones, Derek O'Neill and John Harrison. TV Podcast Industries TV Podcast Industries is a podcast that provides discussions and reviews of various TV shows, including recent popular series like Alien Earth, The Sandman, The Last of Us, The Boys, and Daredevil Born Again. They also cover shows such as Ironheart, Star Trek: Picard, The Rings of Power, and many more, spanning both Marvel and DC universes, as well as other genres. Heart to Heart Podcast One on One / Next Level Studios In the Heart to Heart Podcast, we talk to some of our favorite & most interesting people in the entertainment industry so you can feel empowered and learn that even in the most challenging of industries, where there’s a will there’s a way.Whether you’re an actor, a writer, a casting director, a talent rep, or just someone interested in the behind the scene happenings of the entertainment industry, this podcast will have something for you. NOW, this isn’t just another How To podcast for actors. Plenty of those shows already exist. In Heart to Heart, every guest will share stories inspired by their sometimes winding path to success on their own terms. Revisionist History Pushkin Industries Revisionist History is Malcolm Gladwell's journey through the overlooked and the misunderstood. Every episode re-examines something from the past—an event, a person, an idea, even a song—and asks whether we got it right the first time. From Pushkin Industries. Because sometimes the past deserves a second chance.To get early access to ad-free episodes and extra content, subscribe to Pushkin+ in Apple Podcasts or at pushkin.fm/plus.iHeartMedia is the exclusive podcast partner of Pushkin Industries.

Frequently Asked Questions

How long is this episode of Adafruit Industries?

This episode is 12 minutes long.

When was this Adafruit Industries episode published?

This episode was published on August 25, 2022.

What is this episode about?

This week's EYE ON NPI 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...

Can I download this Adafruit Industries episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!