element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Lowest cost ARM + Arduino headers expansion for Pi
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 31 replies
  • Subscribers 680 subscribers
  • Views 3781 views
  • Users 0 members are here
  • raspberry_pi
Related

Lowest cost ARM + Arduino headers expansion for Pi

morgaine
morgaine over 13 years ago

As Eben Upton has often said, Arduino and Raspberry Pi don't really compete significantly because they're so different (maybe just 10% overlap).  They should instead be regarded as complementary.  When the rather meagre hardware interfacing of the Pi is not enough for your project, combining an Arduino with your Pi will often provide a very effective mix of extensive low-level interfacing and high-level programmability.

 

However,  traditional Arduino boards are based on 8-bit microcontrollers, and although these are perfect for a huge range of applications, there are times when it is desireable to use an ARM microcontroller when interfacing with the Pi's ARM1176, and not only for ARM symmetry.  Some things are simply easier to do with a 32-bit processor, and if processing speed matters in your application then an ARM microcontroller will almost always leave the 8-bit micro way behind.

 

Unfortunately your options become somewhat limited if you want to use an ARM microcontroller board yet still want to enjoy the ability to use Arduino "shields", the many hundreds of daughterboards that can plug into an Arduino board's headers and which make Arduino such a singularly impressive ecosystem.  Although the Arduino organization will soon be releasing their own ARM-based Arduino Due using an Atmel SAM3X8E device (a Cortex-M3), it's not officially out yet (despite having been sighted on flickr), and not many third parties have tackled this empty spot in the market.

 

The best known are probably the Maple from LeafLabs http://leaflabs.com/devices/maple/ , and the Olimexino-STM32 from Olimex http://www.olimex.com/dev/olimexino-stm32.html which offers quite a lot more and yet is cheaper (£16.96 from Farnell).  Both are based on an ARM Cortex-M3 from ST, and offer a degree of Arduino header compatibility.

 

Well, this area is about to be given an interesting shakeup, courtesy of yet another ARM licensee, Freescale.  Their Kinetis KL25Z Freedom Board is now on pre-order at Element 14:

 

  • http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/kinetis_kl2_freedom_board
  • http://uk.farnell.com/freescale-semiconductor/kl25z128vlk/board-kinetis-l-series-kl25z/dp/2115294?COM=freedompage_knode ,

 

and you really can't go wrong at its board price of £8.10 + Arduino header form factor . image

 

Admittedly the Kinetis KL25Z's KL2 microcontroller is a Cortex-M0 which is the little brother of the Cortex-M3, but for hardware interfacing that will often be more than ample and is still a huge step up from the 8-bit AVR.  What's more, it's highly likely to undercut the price of Arduino's about-to-be-released Arduino Due, so things may get quite interesting in this market niche.

 

[Added note:  the Kinetis KL25Z board uses  uses a Cortex-M0+, not M0  -- see post 16, http://www.element14.com/community/message/54650#54650 ]

 

For expanding the Pi (and the BeagleBone too) into the Arduino niche, the Kinetis KL25Z looks extremely good to me. Admittedly, it won't provide anything like the power of an STM32F4-Discovery board which uses a Cortex-M4  http://uk.farnell.com/stmicroelectronics/stm32f4discovery/board-eval-stm32f4-discovery/dp/2009276?Ntt=STM32F4-Discovery , and at £9.96 from Farnell this Discovery is the very clear price-performance leader.  However, the Kinetis KL25Z has the Arduino form factor, and that may make all the difference.  YMMV !!

 

Very interesting times ahead! image

 

And just in case that isn't tempting enough, ST's Discovery range has a Cortex-M0 version, the STM32F0-Discovery http://uk.farnell.com/stmicroelectronics/stm32f0discovery/eval-board-cortex-m0-stm32f0/dp/2096251?Ntt=STM32F0-Discovery which is even cheaper at £5.88.  If Arduino headers aren't essential but you want the cheapest possible Cortex-M0 board to expand your Pi, beating £5.88 on sheer price will be very hard.  It's fairly safe to predict that the Cortex-M0[+] range is going to have a colossal impact.

 

 

Morgaine.

  • Sign in to reply
  • Cancel
  • GregC
    GregC over 13 years ago

    Hello Morgaine,

     

    Freescale KL25Z freedom board embeds a Kinetis KL25 32-bit MCU based on the new ARM Cortex-M0+ core.

    Based on ARM informations, Cortex-M0+ should be more energy efficient (MIPS/mA), fastest I/O and peripheral access and extended system-level capabilities compared to previous Cortex-M0 core version.

     

    Of course each solution has its own strenghs ...

    Freescale Freedom board includes an additional component (from Kinetis-K family) to manage the debug and the programming of the KL25 M0+ MCU.

    Which means that no additionnal hardware tool is needed to evaluate and develop on this board and makes the price really competitive for a complete hardware development tool solution.

    Additional comment concerning embedded debugger as it is based on the OpenSDA new standard supporting SWD and JTAG interfaces, in addition debugger also includes a mass-storage bootloader, so users can just copy-paste precompile hex files demo examples from their explorer and reset the board to program the KL25 without any software set-up is required.

     

    Board is compatible with Arduino shields and KL25 is also open to classical ARM Ecosystem (IDE and Firmware Sofware suppliers)

    In addition, Freescale offer for FREE its own IDE CodeWarrior (with code-size limitations up to 128KB) , Processor Expert to automate initialization and low-level peripheral driver source code generation and MQX-Lite (RTOS and Stacks).

     

    Detailed informations concerning Freedom board are available on the Knode following the link :http://www.element14.com/community/docs/DOC-46626

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • fustini
    fustini over 13 years ago

    Morgaine, I enjoyed your enlightening summary.  I've never used one of those Cortex M series boards before, and you've piqued my interest.  I'd seen news about the new Freescale board, but I didn't realize it was Arduino header compatible until I read your post - very interesting.

     

    The main requirement I would have for trying any of these boards would be Linux compatibility.  I would imagine there is gcc available, but I am interested to check on the IDEs.

     

    Thanks,

    Drew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 13 years ago in reply to GregC

    Greg C wrote:

     

    Freescale Freedom board includes an additional component (from Kinetis-K family) to manage the debug and the programming of the KL25 M0+ MCU.

    Which means that no additionnal hardware tool is needed to evaluate and develop on this board and makes the price really competitive for a complete hardware development tool solution.

     

    That feature is becoming quite common nowadays among microcontroller manufacturers.

     

    Each of ST's STM32F*-Discovery boards actually contains two microcontrollers, a cheap front-end one that implements an ST-Link debug interface which is controlled through the mini-USB connector, and the full-featured STM32F microcontroller on which you run your evaluation programs.  The debug target of the ST-Link is by default connected to the STM32F SoC, but by moving some jumpers and attaching a ribbon cable to the SWD header you can make the target an external ST board instead.  Even that cheapest £5.88 M0 Discovery board offers that feature.

     

    Texas Instruments does the same with its Stellaris range of Cortex-M3 boards like the very popular EKC-LM3S811..EKC-LM3S811.. -- http://uk.farnell.com/texas-instruments/ekc-lm3s811/kit-eval-lm3s811-codesourcery/dp/1712244 which doubles as a JTAG adapter for other Stellaris boards.  TI's prices haven't yet undergone "the Pi effect" though, unlike ST's and Freescale's.

     

    It's nice to see Freescale do ths.  The only people who aren't likely to be happy are the providers of middle-range JTAG adapters, who are rapidly finding themselves without a market. image

     

    Morgaine.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 13 years ago in reply to fustini

    Drew Fustini wrote:

     

    The main requirement I would have for trying any of these boards would be Linux compatibility.  I would imagine there is gcc available, but I am interested to check on the IDEs.

     

    Software is definitely the problem in this area, particularly for those who run Linux but want an IDE, which is becoming more common but certainly isn't mainstream.  Although installing an ARM toolchain is very easy and is typically done by running a single command, that's only the start of the process.

     

    Setting up Eclipse, OpenOCD and finding an open debug adapter for cross-development requires a combination of bravery and masochism and a lot of spare time, which is less than ideal. The information is out there and just requires a degree in Googling to find, but it's certainly not "turnkey" to gather all the necessary information together and hook it all up.  It's also a barrier to entry, and has little to do with the end goal.

     

    Hopefully this will improve over the years, but there's little sign of it becoming a turnkey solution yet.  Turnkey solutions do exist for Linux of course (dozens of them!), but alas they employ closed-source IDEs (often derived from Eclipse, ironically) and require approved commercial debuggers.  Pity.  ARM is nowhere near to where Arduino/AVR is in this regard.

     

    Morgaine.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • fustini
    fustini over 13 years ago in reply to morgaine

    Thanks for the insight.  I'll have to try it to make my way through it one of these days.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 13 years ago in reply to fustini

    Drew Fustini wrote:

     

    I'll have to try it to make my way through it one of these days.

     

    Well let's talk to that other guy, Drew Fustini (Admin). image

     

    When the Kinetis KL25Z Freedom Board appears in stock, we might be able to get him to create an Element 14 group for it, and share the experience of setting up a development environment for that board, discuss interfacing, etc.

     

    There is a generic "Embedded Systems" group already but it mostly just deals with announcements.  I notice that Greg C (apparently from Freescale) has a couple of posts there about their Cortex-M0, but a more focused group would probably be helpful.  Given the extreme low price of that board and its Arduino-style headers, it could become very popular indeed.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 13 years ago in reply to morgaine

    Hahaha, love this Freescale energy efficiency demo --- http://www.youtube.com/watch?v=FfsMCwUjNxw

     

    Last man left alive wins. imageimageimage

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 13 years ago

    Apparerently the illustration for the Kinetis KL25Z Freedom Board shown at the Farnell ordering link I gave is wrong,  Element 14's knode page shows it more accurately ---

     

    • http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/kinetis_kl2_freedom_board

     

    You can read "Freedom KL25Z" there on expanded images of the board, which inspires confidence that it's the right picture.

     

    Still no sign of a proper board document though, nor a real datasheet for the KL25Z128VLK4 processor on it, just general KL24/KL25 product briefs.

     

    I take the hard engineering line on this:  no datasheet == vapourware. image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • johnbeetem
    johnbeetem over 13 years ago in reply to morgaine

    Morgaine Dinova wrote:

     

    I take the hard engineering line on this:  no datasheet == vapourware. image

    I take a harder engineering line: "no datasheet -> vapourware", but not the converse.  I've had experience with data sheets for parts that never materialized: one USA manufacturer used to be infamous for this.  Before designing in a part, order a bunch and see if they really exist.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 13 years ago in reply to johnbeetem

    Hehe.  Well I don't doubt that the KL25 does really exist, especially since they called out their low-power competitors publicly on Youtube in that cute little demo.  But yeah,  the datasheets are needed.  I'm really looking forward to playing with the Freedom board.  An M0 rounds off my little collection of M3 and M4 boards nicely.

     

    Given their low-power  operation, I think I'll have to conjure up some little solar-powered project for this.

     

    Morgaine.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube