Linux is in everything these days, and that means designers and engineers are crying out for a simple, easy-to-use module that simplifies the design of building a product to do something with Linux. The best example of this product category would probably be the Raspberry Pi Compute Module, followed by the C.H.I.P. Pro and its GR8 module. There are dozens of boards with Allwinner and Mali chips stuffed inside that can be used to build a Linux product, and the ‘BeagleBone on a Chip’ is a fantastic product if you need Linux and want to poke pins really, really fast.
Now Microchip is rolling out with their answer to the Linux System on Module. The SAMA5D2 is a single chip in a BGA package with a small footprint that runs Linux. It’s capable, it’s cheap, and if you want to put Linux in a project, this is your newest option.
The core product in this new Microchip lineup is the SAMA5D2 SIP, a system in package that puts an ARM Cortex-A5 CPU and DDR2 memory in a single BGA package that, with a cursory examination, looks easy enough to design a PCB around and reflow. There are four chips in this lineup, with 128 Mbit, 512 Mbit, and 1 Gbit of DDR2 memory. The 128 Mbit chip is meant for bare metal and RTOS applications, with the higher memory chips capable of running Linux at least as well as a repurposed router.
This chip is at the core of Microchip’s ATSAMA5D2 SOM, a system on module that adds power management (that only requires a single 3.3V supply), an Ethernet PHY, and boot memory into a single package that’s effectively as hand-solderable as a QFN package. It’s Linux on a Chip, or at least as close as we’ve gotten to such a concept.
Adding Linux to a project is hard, and while there are modules and systems that can do it, we’re always welcoming more options given to designers. While these modules and systems aren’t exactly cheap compared to a beefy ARM microcontroller — the SIP starts at around $9, the SOM is available for $39 in 100-unit quantities — this price is quite low compared to other Linux-on-Modules available.
Only the marketing guys talk in megabits if it comes to the amount of RAM/flash…
But mine goes to 11!
You mean it goes to 1011
+1
So 1100?
I think 1011 base 2 is 13 base 10 so it would be 1101 for 11
Nope 8+2+1 is 11. So it’s 1011
I printed your response, held it up to a mirror, and it started to make a little sense …
I always think it’s funny that we write ‘base 10′. ’10’ is in all the numbering scheme’s. Really, it should be ‘base A’.
>I think 1011 base 2 is 13 base 10 so it would be 1101 for 11
Do you even binary, like at all?
It would be fun to be negotiating a big quantity of these, and ask the marketing guy/salesman to provide proof of it being able to allocate a buffer of 3bits in linux…
That’s a problem of Linux – not the hardware.
It’s always fun to ask sales/marketing guys technical questions and watch them become uncomfortable and go ummm, ummm.
This is what I do everywhere all the time
It is often really hard to explain to management why yocto is not yet a full featured ecosystem like debian/Arch. Often, I feel like I am the only one who experienced yocto build recipes as a heinous mix of legacy patch levels, unstable “head” repo builds, and or kludged dependencies (like the early tar balls in slackware). Sure it supports multiple thin-hardware platforms at once… which is very ambitious, but I just can’t see the multiple concurrent vendor-specific-patched project code-trees as sustainable enough for a reliable production environment yet.
I like microchip’s 8bit/peripheral stuff, but 1/5th the resources of a Broadcom SoC at 3 times the price is a tough sell in these modern times.
meh… personally I will pass… and stick with Alpine, Debian (“my precious”), or Arch for now. =)
As soon as I saw MBit I knew it was marketing wank. Almost stopped reading the article.
Same, Im glad this is the universal EE reaction to bullshit.
Maybe one day memory suppliers align with software developers on bits and bytes
Always been a problem since marketing driven sales called the shots. Money talks and bull shit never walks in financial environments.
“Microchip’s ATSAM” I’m never going to get used to that …
Microchip AT.. anything; same
but at least the long lasting debate is over with a clear microchip winning…
Why? Has the acquisition changed anything about the respective technologies used?
now that atmel is microchip, microchip wins as microchip is both atmel and microchip
but in reality they simply had a very wide and diverse range of micros
personally i liked atmel parts for building things up as i have all the peripherals i need and i can grab a cheap generic part that does everything and does it well
ii would grab a pic for final production runs where you can shave cents by not including peripherals and memory thats not used
Take heart, even with Microchip owning both there can still be endless internet arguments over PIC vs AVR architectures.
The eval board shown there is $245!!!! A “little” too pricey for me.
https://www.microchipdirect.com/product/search/all/atsama5d27-som1-ek1
The module is $47 in qty 1. Not terrible I suppose:
https://www.microchipdirect.com/product/ATSAMA5D27-SOM1?keywords=atsama5d27-som1
Not a great price for a single board computer but a great price for a linux computer module that one would actually stick in a system
Eh, still a worse price than the OSD3358.
but less capable, a more difficult layout and less traceable
in reality when picking out a SoM you dont pick up a single SoM, you have to look at all your options and choose whats best for your system
if you need high speed SPI, LVDS, PCI-E, SATA, GbE, LCD, FPGA cores, exc you pick a module that has that perifierial at the lowest cost
The BOM based on qty 1 pricing is <$20 so it is not a great price. If you are going to sell me a bunch of your chips packaged together give me the packaging at cost.
Actually more like $28 since the soc is $17.
That certainly doesn’t put it in the cheap category mentioned in the article. It might be decent value for money, but it’s not really cheap when there’s something like a Pi Zero to be had for significantly less.
“It’s Linux on a Chip, or at least as close as we’ve gotten to such a concept.”
That’s relative – we’ve been closer, for example, check out Aria modules (in general, SoMs in this form factor have been around for at least a decade now).
Also, for anyone wondering – that BGA has 0.8mm ball pitch.
I have used countless system on modules and I have seen them in products that date back to the 80s running Unix
Nothing new here except this particular SoM
Also the Octavo OSD335x BeagleBone-on-a-chip, which has been covered on Hackaday before. More expensive, but also more powerful.
Yes, the Octavo SOMs definitely look like more bang for the buck. Also, easier to do a 4-layer board with since they have a 0.1mm ball pitch. I haven’t designed anything with them yet, but getting closer.. They will become more interesting as they flesh out the no-connect pins on the 400-pin version.
Allwinner V3s is also almost Linux-on-chip in a TQFP package.
That chip seems interesting, but do you have any link to boards with it ? On Aliexpress I could only find the bare chip
Look up LicheePi Zero
Now we’ll just have to wait for Chinese manufacturers to copy devboard and sell it for more realistic price, like 50 bucks. That, plus Microchip SoM could make nice combo.
I’d rather say: you want Linux and need to poke pins really, really fast.
There’s the nanoPi board which makes “adding [GNU/]Linux to a project” quite simple.
+1 NanoPi Neo Core and Duo modules, supported by Armbian. And isn’t the Octavo a Linux on a chip?
https://andahammer.com/index.php?route=product/product&path=61_97&product_id=229
BTW, they run the latest LTS Debian, Ubuntu, Ubuntu Core, and Android.
Even cheaper here.
http://www.friendlyarm.com/index.php?route=product/product&path=69&product_id=197&sort=p.price&order=ASC
Yes plus shipping from China. They share some ownership. You can get help from either one.
Heh. Or with a similar size some Orange Pi flavor with 4096MBits DDR3 for less than $10 shipped qty 1.
I have heard Orange Pi is subsidized by ??? and sells at a loss, making designing into a product not so attractive. I can’t recall if I got that from a reliable source. Anyone know?
*shrug* FUD Corp. maybe?
Are all the other similar $10 SBCs also sold at a loss?
I’ve been playing with an Onion Omega2 which is “Linux” on a wifi-enabled board for under $10 each. I believe there are several other small boards architected like this. These are what I would consider “tiny, cheap Linux modules”, and this new Microchip offering, is a not-so-cheap, not-so-tiny std-Linux-capable PC-on-a-chip. Yes?
The specs on this thing are much better than on e.g. the MT7688 that the Omega2 is based on, or many of the Allwinner or Broadcom SoCs that RPis and clones are based on. One thing that stuck out on the specsheet is the 12-bit ADC — of the SoCs I am familiar with, only the Allwinner A13/R8 sports an ADC and even then it’s only 6-bit, so this Microchip-one has a leg up on that.
What is cheaper $10 SoC/SoM + $2 ADC + $2 Vref LDO or $47 SoC?
The former, obviously, but then again, I never said anything to contrary, did I? I only commented on the specs, it’s not my job to tell people what to use.
Let’s put it this way: there are people who will choose the more expensive module simply because it’s less work for them, builtin ADC included.
Honestly the all-in-one. You need to remember that developing a board comes with an R&D cost, and a module that has everything baked in means someone else has footed part of the bill for your product development.
Yet I still need to design my own PCB to use this part. So replacing this SoM/SoC with something much cheaper and adding two small parts is still better. It might be a better solution, if I’m limited in available board area and/or can’t duplicate other functionalities of this particular part by adding more cheaper parts…
There is also a matter of the fact this is a new part and probably will end up with rather thick errata soon. And Microchip has tendency to leave their parts, especially 16- and 32-bit ones with thick erratas full of workarounds and suggestions that they might fix the problem somewhere in the distant future, maybe even before part becomes obsolete…
Well, the AM335x has 8 pins of 12-bit general-purpose ADC. Don’t know if these pins are actually exposed on the Octavo OSD335x (BeagleBone-on-a-chip), but I think they’re available on the actual BBB, so I’d assume they are on the SIP too. Aref is limited to 1.8V though.
It’s really a quite competent ADC machinery too, with a programmable FSM that can make custom scan schemes, has HW averaging of 2/4/8/16 samples, FIFOs, DMA etc. (But, consequently, also a bit of a pain to configure and get it going.)
Yea, it also has a mode for sampling and monitoring (resistive?) touch-panels, but I’ve only used the general-purpose ADC mode myself.
I thought all the SOCs from Samsung, Allwinner, Amlogics, Rockchip, etc. have 12 bit ADCs. They are phone and set-top box chips. If you don’t see the ADC it is because PCB designers did not bring it out to a pin? But looking I see multiple channels of 12bit ADC only on the Samsung 210 [same ARM core as TI 33XX], 4418, and 6818 (and all the older ones that are EOL like 2440/2451[in most Chinese O’Scopes] and 6410[same core as Raspberry Pi]).
Well, okay, the Allwinner H3 does also sport a 6-bit ADC ( http://linux-sunxi.org/images/4/4b/Allwinner_H3_Datasheet_V1.2.pdf ) but e.g. the Broadcom BCM2835 that’s used by Raspberry Pi Zero doesn’t sport an ADC at all ( https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2835/BCM2835-ARM-Peripherals.pdf )
Still, Raspberry Pi + Arduino, or whatever combo with the bare chips, and you’ve got that, plus the Atmel as a slave to do the bit-twiddling stuff it’s good at. Or whatever other mix of big CPU + little micro. Or there’s that board you can already get with the 8 little auxiliary units on it.
For the much higher price, I suppose this new chip must have something it’s best at.
Skim linxgizmos.com for 10 minutes and you’ll find a dozen more computer-on-module options with every combination of memory, storage, and connectivity you could imagine. Those features won’t make anything special in this market.
The two things that actually matter for people reading this site are:
1. Can I actually buy today, and without buying 1000 of them?
2. Can I run up-to-date Linux and interface to the hardware peripherals without my own team of full-time developers?
For most of the awesome-looking CoMs on the market, the answer to both of those questions is no. The first one is easier to find a “yes” to, but the second one is very, very hard to satisfy. Most of the hardware vendors provide atrociously out-of-date board support packages (you wanted to run a 3.10 kernel, right?) and spotty peripheral support (we’ll get around to enabling that MIPI CSI peripheral one of these years, we promise!). This is what made Edison unusable, and what keeps Raspberry Pi and Beaglebone hardware atop the hacker market despite their unimpressive hardware specs and power consumption.
If Hackaday is going to post about every shiny new compute module that shows up, it would be far more useful to evaluate the software situation than to just regurgitate the manufacturer’s feature list.
@Bunsen: IMO your comment is the best so far in this thread.
You said: “If Hackaday is going to post about every shiny new compute module that shows up, it would be far more useful to evaluate the software situation than to just regurgitate the manufacturer’s feature list.”
I second this big time! Add value HaD – don’t just parrot a manufacturer’s PR, especially when it comes to Microchip which has a reputation for “hidden costs” at the (often crippled) BSP/development toolchain level, recurring support/licensing fees, proprietary program/debug dongles, on-and-on…
big time.
at $245 its massively expensive. What is the support for it? Are there any HAD readers that would buy one of these at that price? I doubt it.
This. Nail on the head.
Great questions.
The SIP and SoMs are available in single quantities at MicrochipDirect now.
Atmel has been mainlining their drivers since 2002. Microchip continues that tradition. More information on the software story at linux4sam.com
Maybe we have a Microchip bias on the part of the writer? This article sounds a bit like a marketing press release.
No, they don’t have a Microchip bias, they give fair coverage to both Microchip and Atmel… oh wait
Lazy journalists who don’t investigate anything any more. It’s infested all journalism. They just re-word press releases. Like a student doing his assignment at the last minute, re-phrasing the textbook as he reads it.
Still at least here it’s just some microchip or other. There’s a world of stuff that actually matters that suffers from this terribly.
meh
Don’t forget that Linux is everywhere.
My DVD recorder uses it. My two tv sets use it. My blu-ray player uses it. And so does my TomTom One GPS receiver.
So there is demand for this, cheap and in massive quantities.
Michael
But does your toaster?
Of course not! It runs NetBSD.
Pretty sure Talkie runs a variant of Mac OS.
https://www.youtube.com/watch?v=LRq_SAuQDec
I agree, if your app needs the libs and data for GPS or video decoding, etc. and you don’t want to hire the people who can pull that together for a lightweight free RTOS. And as Linux is used for more and more, that option will shrink I suppose. But at the moment? If you can run it on an ESP32 yo can save a lot of costs.
The cost savings are negligible if you’re only building a few widgets. IMHO the real savings is in the power consumption.
Microchip has lost me forever to the ESP32. I used to be a big fan of Microchip, but the last few chips I used from them had a lot of bugs, the documentation had lots of bugs, no mention in the errata of the bugs, and I wasted a lot of valuable dev time on time-sensitive projects to these bugs. ESP32 is still ‘beta’ but I’m having a lot of fun with it.
The SAM lineup is outstanding because it was meant to run on battery power. You will be able to run Linux projects on a coin cell. That’s where this product will exceed.
But why would I want to run an entire OS on a coin cell? When and where it would make sense to use something like that, when I could use one of thousands of different microcontrollers in 8, 16 and 32 bit versions with extremely low power consumption, flexible sleep modes, etc? My sports tracker runs for almost a year on one button battery, has a 32-bit ARM microcontroller and doesn’t run Linux to do advanced movement tracking and run RTC…
I *was* on a search for battery-powered Linux devices for selling in my product when I decided to just plug the darned thing in and save myself a lot of hassle. But I may return to the SAMA5D4 if I ever get around to building and selling cell-network solar-powered security cameras. 3.4ms wake time, uses 4.7mA in sleep mode, and has a hardware h.264 compressor:
http://ww1.microchip.com/downloads/en/DeviceDoc/60001525A.pdf
Linux will never excell in the power stakes. It is not what it was designed for.
Linux was designed to run on the i386 system on Linus Torvalds desk. It was not designed to run on 64 bit systems or on ARM, these things were hacked in later. It was not designed to run on phones or supercomputers or on IBM mainframes. It was not designed to e a high performance web server. The features necessary to support these sorts of applications was added in later. You assert that things can only be good at the things that they were originally deigned for, and that assertion is patently false.
Seems to do all right in smart phones. But it’s a system-wide issue rather than just a hardware or kernel issue. Having the best low-power and sleep support in the world doesn’t help if you have processes waking up every 100 milliseconds just because. That is an area where lots of software, originally built for desktop or server use, is still lacking, but the desire to run well on smartphones and laptops has been a driver for improvements in that area. For example, when Mozilla were still trying to make Firefox OS, and worked on the MemShrink push, they removed lots of unnecessary wakeup events, and coalesced the remaining events into fewer ones.
Interesting family, the trend towards SiPs is a positive one. The variant caught my attention because it’s targeting RTOS applications (though no indication of which will support it.) At 500 MHz, an M7 is still probably a better bet with more oomph, but having some of that DDR2 on package may be appealing for some use cases.
Go Darwin go!