Over the last year or so I’ve acquired six ARM Cortex-M4 boards; I have some experiments planed for them, and hope to be able to do some write ups this fall.Â Here’s a chart highlighting some of their key specifications (of course, these boards can do a lot more, such as SPI and I2C communications).
|LM4F120 LP||TM4C1294 LP||NucleoF401||STM32F4 Discovery||Micro Python||Pixy|
|MCU||LM4F120||TM4C1294||STM32 F401RE||Â STM32 F407VBT6||Â STM32 F405RG||LPC4330|
|MHz||Â 80||Â 120||Â 84||Â 168||Â 168||204|
|SRAM||Â 32K||Â 256K||Â 96K||Â 192K||Â 192K||264K|
|Flash||Â 256K||Â 1024K||Â 512K||Â 1024K||Â 1024K||1024K|
|Debug||Â Yes||Â Yes||Â Yes||Â Yes||Â No||No|
|USB||Â Yes||Â Yes||Â Yes||Â Yes||Â Yes||Yes|
|Ethernet||Â No||Â Yes||Â No||Â No||Â No||No|
|microSD||Â No||Â No||Â No||Â No||Â Yes||No|
|Headers||1 Booster Pack XL||Â 2 Booster Pack XL||Arduino Uno R3 plus STM Morpho||STMF4 Discovery Headers||Micro Python skins (planned)||None|
|Frame workÂ||Energia, eLua (beta)||Energia, eLua (beta)||mbed||eLua (beta)||Micro Python||Pixy vision|
Notes on the Chart
- Debug means built-in debug support over USB, JTAG connector, or similar.
- USB support varies; for example, some boards include USB OTG support.
- eLua support is probably usable, but not very polished, on the various platforms, but that’s a guess because I haven’t tried itÂ yet.
- Energia is a Wiring-based IDE and framework for Launch Pads that’s very similar to Arduino.
- Prices are approximate.
- My apologies if the chart is hard to read; I haven’t had time to update my theme to allow for wider charts.
Stellaris LM4F120 LaunchPad (Tiva TM4C123G LaunchPad)
The LM4F120 LaunchPad is no longer available; however, theÂ Tiva TM4C123G LaunchPad is very similar (it does have a few improvements).
I bought this board when it first come out, since TI had a special offer (around $5 IIRC).
I bought one of this when it first came out because I’ve been waiting for a successor to the Stellaris LM3S9Bxx MCUs (which had on-chip PHY and plenty of SRAM).Â Yes, I do love to buy boards before I have time to play with them…
At EE Live! 2014 these LaunchPads were the top tool swap choice.Â (At the TI tool swap, TI gives you a new TIÂ dev board in exchange for an old, non-TI board).
I wasn’t planning on picking up one of these,Â but I managed to snag a free one at EE Live! 2014 from the STÂ booth.Â It’s definitelyÂ a very impressive boardÂ for the price
I wanted a STM32F4 board with Ethernet, and had a hard time choosing between the STM4F Discovery with Base Board (which adds Ethernet and more) or the Olimex STM32-E407 (which has Olimex UEXT connectors).Â I went the STM32F4 Discovery routeÂ because it seems to have better software support.
I backed the MicroPython Kickstarter project primarily because I like the Python language (and have used it on production machines), and was curious to see how much of Python’s goodness could be packed into a MCU.Â As you can see, it’s a pretty tiny board.
The base Kickstarter price was about $40; when it becomes available to all, the price will probably be a bit higher.
The Pixy is primarily a machine vision system, designed to track objects and work well with Arduinos and similar systems.Â However, it could be used as a pretty powerful embedded board.
I backed the Pixy because I like machine vision (I also own 5 smart cameras), I’ve wanted to play with the NXP LPC43xx MCU at the heart of the Pixy, and because I remember the Charmed Labs guys from their Nintendo hack days.
The base Kickstart price was $59; it’s currently available on Amazon for $69.
June 23, 2014 No Comments
In early April I managed to sneak off work for a day and wander down to the San Jose Convention Center for the EE Live! 2014 Exhibition (formerly known as the Embedded Systems Conference).Â The ESC has had its ups and downs, going from the San Jose Convention Center (which I like a lot) to the Moscone in SF (bigger, but not better), back to the SJCC, and next year, down to the Santa Clara Convention Center (which is a pretty nice setup, but not the location for major shows).
I skipped ESC last year, so I was surprised how much the show has shrunk.Â On the plus side, there was a lot of exhibition floor training sessions, and all the ones I saw were well attended.Â In fact, NXP skipped the product booth and only did training.Â Since I do enjoy
harassing talking to sales dudes and want to encourage companies to come back, I spent most of my time at the vendor booths.Â Here are my show notes, which reflect my interests (which tend towards industrial applications, MCUs, and DSPs):
- I was surprised at the size of the x86/x64 contingent: Intel, AMD, and a trio of motherboard manufacturers (Asrock, Supermicro, and MSI).Â There were also several flash vendors.
- I have to put in a plug for ASRock, because my desktop PC has an ASRock motherboard, and when it had a minor problem (PS/2 ports quit working), ASRock’s service was quite good.Â However, the industrial division is separate (and much smaller), selling compact industrial motherboards direct or through distributors such as Logic Supply.
- TI had a pretty big booth, showing off their more embedded-oriented lines (no C6x DSPs or analog), including the BeagleBone and the various LaunchPads.
- TI’s EE Live! 2014 videos are available on Youtube.
- TI still did their tool swap, so I traded an old Philips 8051 CAN dev kit for a shiny new Tiva Connected LaunchPad, which I have since donated to an eLua volunteer.Â TI said the Connected LaunchPad was very popular.
- I had fun discussing industrial safety (standards, light curtains, safety PLCs, and such) with the Hercules guys – and verified that the RM48 Hercules MCUs do indeed support double precision floating point.
- It’s always fun to see motors run, and TI was demonstrating their InstaSPIN techology with a conveyor.Â I had fun complaining about too many serial encoder protocols (Biss, EnDAT. SSI, Panasonic, Tamagawa, etc).
- Microchip had a pretty big booth, with a wide array of products.Â The new PIC32MZs are pretty impressive, but what I wanted to see was their metal-over-cap button technology.Â Microchip has been improving it; this year they showed off metal dome capacitive buttons (my favorite, since they had good tactile feedback) and backlit buttons.
- ST ran a lot of in-booth seminars;Â I listened to the mbed presentation for a while (and now want to learn more).Â I didn’t spend much time looking at their products since I’m pretty familiar with them.
- Atmel didn’t have a booth: instead they had their roadshow trailer.Â The coolest demo was a 3D printer, powered by Atmel of course.
- NI had a booth showing off LabView and their hardware, including a motion-and-vision demo featuring Kollmorgen drives and motors.Â I spent most of my time there discussing industrial applications with a guy from Xilinx who is interested in industrial applications (such as real time Ethernet) for FPGAs.
- I took a class from Rhode & Schwarz on oscilloscopes basics, and received a free Digital Stimulus Board for my time.Â My big take-away from the class: short, good grounds are critical (long, looping ground wires can be great antennas).Â Their oscilloscopes are impressive and fun to play with, but quite a bit more advanced than I need.
- I stopped by Pico Technology briefly to see what was new.Â Pico makes what are probably the highest end USB oscilloscopes.Â Some of the newest models support USB 3.0.Â Another series has variable resolution (you can trade slower speeds for increased resolution).Â Most of them are fairly large.Â I asked about USB latency; the salesman said they used some tricks, but noted that they perform a lot of processing in the scope using a FPGA, so the USB connection isn’t as critical.
- Vision Components was showing off their OEM smart cameras, so I stopped by as always to see what was new.
- I stopped by Acces I/O and chatted about industrial Ethernet protocols and data acquisition.Â Their USB-DA12-8A is one of the more affordable options if you need a precisely timed DAC output.Â And they might have some good stuff coming in the Ethernet DAQ arena.
- I talked briefly with Sealevel Systems; they make a variety of industrial grade computers, serial interfaces, digital I/O, and analog I/O.
- Trinamic was showing off their stepper and DC motor drive chips, boards, and enclosed drives.Â Although they’re not the best fit for my current requirements, they’re worth checking out, and have some low cost models (especially for the chips and boards).Â Some models support CANOpen or EtherCAT.
- Silvertel was showing off a variety of PoE modules, with prototypes up to 200W.Â They claim their module pricing is cost-competitive with rolling your own up to medium volumes (say 1000’s or 10,000’s per year).
April 23, 2014 No Comments
As I’ve mentioned before, I like to follow embedded development, but unfortunately don’t have much time to do it, either at work or at home.Â There truly is an amazing number of very capable microcontrollers, such as theÂ ST STM32F4, NXP LPC18xx, and Microchip PIC32MZ, that most don’t stand out.Â However, I’d like to highlight a couple MCU families that have uncommon features:
- TI’s Tiva TM4C129x is a typical high end ARM Cortex M4F MCU with FPU, up to 256K SRAM, up to 1M flash, and lots of connectivity and other peripherals.
- What’s unusual?Â It includes an Ethernet PHY on chip (IIRC, the only other ARM MCU with PHY was TI Stellaris LM3S9B models, which are now legacy parts.Â Freescale also has some MCUs with Ethernet PHYs, such as the Coldfire MCF5223X).
- NXP’s LPC4370 is another Cortex M4 MCU, clocked at 204MHz,Â with FPU, 264K SRAM, no flash, Cortex M0 co-processor, and lots of peripherals.
- What’s unique?Â An 80M samples/sec 6-channel 12-bit ADC.Â Even if the ADC isn’t as good as a dedicated ADC chip, that’s still quite impressive, especially for the price (~$10 in small quantities).
- Freescale’s Vybrid series features a Cortex A5 at up to 500MHz, optional Cortex M4 co-processor, 1.5M SRAM, no flash, and lots of communications peripherals; a low cost dev board is available.
- What’s unusual?Â The most SRAM in an affordable (VF3xx is <$12 in 100’s) and available chip; double precision FPU is also uncommon.Â (Renesas has some MCUs with 1M SRAM, with up to 10M SRAM coming, but they aren’t widely available or affordable).
- Cypress’ PSoC 5LP is a Cortex M3 MCU with up to 64K SRAM, 256K flash, 2 1M samples/sec ADC, and a 20-bit ADC.
- What’s unique?Â Cypress’ PSoC programmable analog peripherals combined with a powerful ARM core.
- The XMOS xCORE-XA has a Cortex M3 core, up to 192K SRAM, up to 1M flash, and a $15 dev kit that attaches to a Raspberry Pi.
- What’s unique?Â It also has 7 deterministic XMOS cores, for a total speed of 500 MIPS, which can be used to create peripherals in software.Â The concept is very similar to Ubicom’s chips (Ubicom started by making the speed PIC-compatible SX chips, then created a multi-threaded (IIRC) MCU.Â They went bankrupt, and IIRC, Qualcomm bought their assets), and a bit similar to the Parallax Propeller (but much faster).Â Note: the dev kit uses the xCORE-Analog A8 chip withÂ 8 xCORES, but no Cortex M3.
- Spansion’s FM series of MCU’s are a broad range of ARM-based MCUs.
- What’s unique?Â All series include parts that can run at 2.7V to 5.5V, which is very unusual for a 32-bit MCU.
Note that the Tiva and FM series aren’t in full production yet.
December 2, 2013 3 Comments
I now have a TI Stellaris LM3S8962 evaluation kit.Â Specs include a 50MHz Cortex M3 core, 64K on chip RAM, 256K on chip flash, 10/100BaseT Ethernet with IEEE-1588 support, CAN, a 128×96 OLED, a virtual serial port (via USB), and JTAG (also via USB). Â It’s pretty amazing that a commodity (<$10) MCU is much more powerful than the first personal computers such as the Apple II, Commodore 64, and CP/M systems.Â (I’ve always thought it would be interesting to see how CP/M would run on a 50MHz Zilog eZ80, which should be about 200 times faster than a 4MHz Z80).
I like TI’s packaging: they stick everything into the box using two-ring CD-ROM holders.
Below is a picture of the board running an eLua demo program.Â eLua is a reduced size version of the Lua scripting language that can run on many MCUs.
January 2, 2010 No Comments