feature article
Subscribe Now

The $5 Supercomputer

Atmel’s SAMD2 Series Looks Like Any MCU, but…

Ho-hum, another ARM-based microcontroller. Not really news, right? But every once in a while you get surprised in this business.

Today I got surprised by Atmel and its new SAMA5D2 series of MCU chips. At first, they sounded like any other low-cost family of MCUs – and, in a lot of ways, they are. They’re based on the popular ARM Cortex-A5 CPU core; they have on-chip peripheral controllers; they come in a few different packages; and prices start at $4.95 in decent volumes.

But one interesting factoid jumped out at me. Atmel offers a choice of operating systems for these new chips, including ThreadX, FreeRTOS, NuttX, and Linux. Hang on – what? Linux on a $5 microcontroller? What is the world coming to?

Some of you are old enough to remember when Linux first came out. It was a spinoff of Unix, of course, which was the go-to operating system for big academic computer systems, expensive engineering workstations, and other he-man machines. Sun Microsystems based its entire product line on (its own version of) Unix. The University of California at Berkeley had (its own version of) Unix. Telecom giant AT&T invented (its own version of) Unix. The whole C programing language owes its existence to Unix. Its primary developers, Brian W. Kernighan and Dennis Ritchie, are so much a part of computer lore that their names are just abbreviated as K&R.

For a long time, Unix was synonymous with big iron, and Linux was just one of many alternative attempts to tame the big, complex monster and domesticate it. It’s been a huge success, no question. Linux is pretty much the de facto choice for embedded designers who want a fully featured operating system without hard real-time features. As such, it’s edged out most of the other non-RTOS choices. You’d have a hard time justifying why you’re not using (some version of) Linux in place of an RTOS.

The software triage was pretty simple. If you had a really small system, you programmed on bare metal. Medium-sized systems got some sort of RTOS or kernel or dispatcher or task manager. Big systems got Linux. Easy.

But now we’ve got Linux on $5 single-chip MCUs. What happened to the big iron? Atmel says that about 25% of its customers still do “bare metal” programming or use a small RTOS. The other 75% are using (some version of) Linux. It can’t be long before the whole operating system comes preloaded in ROM. I give it two years.

Back to the chips themselves, the new D2 family looks a lot like Atmel’s many other ARM-based chips, which is to say it does a lot in a little package. There are seven distinct chips in the D2 series, with the differences mainly in packaging and, necessarily, peripheral mix. All share the same 500-MHz CPU, and all have a DDR3 memory controller. From there, the feature set gets a little tricky, depending on which of the seven devices you take a fancy to.

Some have CAN bus, for you automotive or industrial designers. Some can tolerate extended temperature ranges. Some have HSIC, the chip-to-chip version of USB that’s sort of a modern version of I2C. (They have I2C, too.) And a few have obsessive security features to prevent tampering, reverse-engineering, and general mischief.

All seven new chips boast a new audio subsystem that’s a nice upgrade from the brain-dead speaker outputs that most MCUs have. It’s not an on-chip MP3 player by any means, but it replaces a simple PWM or bit-banging an output amplifier. In fact, the D2 chips have their own Class D audio amplifier on-chip, so all you need is a handful of cheap analog components and you’re good to go; no DAC or output filter needed.

Although the chips all come with a DRAM controller, you can also configure them to work in a RAM-less mode, wherein the on-chip L2 cache is converted to SRAM. You’d have only 256KB of RAM to work with, but it’s better than nothing if you’re worried about board space or system cost. There’s also a dual QSPI interface that will connect you to off-chip flash memory, so your channel to external memory needn’t be particularly fast or wide. The SAMA5D2 processors are quite happy to execute directly out of flash, too, so there’s no need to download or copy code into the local SRAM.

Want to do a user interface? The 24-bit TFT LCD controller is just the ticket. It ain’t fast, but with 24-bit color depth, displays will look nice and pretty. Combined with the new audio unit, your industrial user interface doesn’t have to rely on embarrassingly blocky icons and robotic beeps anymore.

Naturally, there’s an inexpensive evaluation board and lots of free driver and development software. And did I mention the thing runs Linux? Best of all, the Atmel people never once mentioned “internet of things” during our discussion. Bonus points for originality.  

8 thoughts on “The $5 Supercomputer”

  1. Pingback: GVK BIO
  2. Pingback: Bdsm training
  3. Pingback: Aws Alkhazraji
  4. Pingback: additional reading

Leave a Reply

featured blogs
Jun 20, 2018
https://youtu.be/-fwwmFE6yUs Coming from Automotiv Elektronik Kongress (camera Robert Schweiger) Monday: Embargoed Tuesday: DAC day 1 Wednesday: DAC day 2 Thursday: DAC day 3 Friday: Embargoed www.breakfastbytes.com Sign up for Sunday Brunch, the weekly Breakfast Bytes email....
Jun 19, 2018
Blockchain. Cryptocurrencies. Bitcoin mining. Algorithmic trading. These disruptive technologies depend on high-performance computing platforms for reliable execution. The financial services industry invests billions in hardware to support the near real-time services consumer...
Jun 7, 2018
If integrating an embedded FPGA (eFPGA) into your ASIC or SoC design strikes you as odd, it shouldn'€™t. ICs have been absorbing almost every component on a circuit board for decades, starting with transistors, resistors, and capacitors '€” then progressing to gates, ALUs...
May 24, 2018
Amazon has apparently had an Echo hiccup of the sort that would give customers bad dreams. It sent a random conversation to a random contact. A couple had installed numerous Alexa-enabled devices in the home. At some point, they had a conversation '€“ as couples are wont to...
Apr 27, 2018
A sound constraint management design process helps to foster a correct-by-design approach, reduces time-to-market, and ultimately optimizes the design process'€”eliminating the undefined, error-prone methods of the past. Here are five questions to ask......