Cortex-M0+ Freedom Modules Support Arduino Shields

July 3, 2013
Freescale's Freedom Development Platform for the Cortex-M0+ Kinetis family supports Arduino shields. These boards provides access to a wide range of peripherals.

How can developers check out a new micro without building a bunch of custom boards? Freescale's answer is to use a standard expansion interface so developers can choose for a wide range of third party options.

Related Articles

Freescale’s Freedom Development Platform highlights the Kinetis L series 32-bit, Cortex-M0+ microcontroller. The form factor and pins on the periphery match the popular Arduino platform (see Arduino, Raspberry Pi or BeagleBone?). This provides access the plethora of Arduino shields. Compatibility could still be an issue but, in general, these boards use standard serial interfaces like SPI or I2C. Parallel interfaces are easily handled by most microcontrollers including the KL02.

The FRDM-KL02Z (Fig. 1) hosts the tiny, 48 MHz KL02 MKL02Z32VFM4 with 32 Kbytes of flash memory and 4 Kbytes of SRAM in a 32QFN package. The micro has a 12-bit ADC and an high speed analog comparator. At one end of the board is a capacitive touch slider. The board also has a Freescale MMA8451Q accelerometer and a tri-color LED.

Figure 1. The FRDM-KL02Z Freedom development platform hosts Freescale's Kinetis L series 32-bit, Cortex-M0+ microcontroller.

The Freedom boards utilize the OpenSDA debug interface (Fig. 2). This open source, USB-based support is based on a Freescale Cortex-M0+ microcontroller. The same platform is also used on the FRDM-KL25Z board. The USB interface incorporates a standard mass storage device that contains evaluation software. It supports Arm's new standard debug interface, CMSIS-DAP.

Figure 2. The FRDM-KL02Z board uses the open source, OpenSDA debug interface.
The board can run off the USB power. In standalone mode, it can utilize power from a coin cell battery or an external source. Not surprisingly, the KL series targets mobile, battery-powered applications. The low power microcontrollers can also be used with power scavenging supplies. The KL02 uses only 36 µA/MHz in the low power run mode.

The interface headers are not installed in the stock board. Developers will have to solder on the headers if they want to utilize the Arduino-compatible interface boards. The interface pin connections to the Cortex-M0+ match the typical Arduino interface in terms of functionality (Fig. 3).

Figure 3. The FRDM-KL02Z pin outs match those used with most Arduino-compatible boards.

Developers looking for a heftier Cortex-M0+ implementation can check out Freescale's FRDM-KL25Z (Fig. 4) that has a 48 MHz MKL25Z128VLK4 with 128 Kbytes of flash memory and 16 Kbytes of SRAM in a 80LQFP package. The chip also has a 16-bit SAR ADC and a 12-bit DAC. Both have DMA support. The FRDM-KL25Z has its own Full Speed USB interface. It also has a serial port with its own header.

Figure 4. The FRDM-KL25Z Freedom development platform hosts Freescale's Kinetis L series 32-bit, Cortex-M0+ microcontroller.

Related Articles

The board has larger expansion headers to expose the larger number of available interfaces with this chip. It also uses OpenSDA and has the same set of on-board peripherals including the accelerometer and touch interface.

Freescale provides their own Eclipse-based, CodeWarrior for MCUs tool chain for C-based development. Most Arduino shields come with C code for drivers or sample applications. Developers will also have access to Freescale's RTOS, MQX. It runs on even tiny 32-bit micros like the KL02.

The Freedom boards can be used in a standalone mode without soldering on the additional headers. This is handy for testing the on-board components or for software development or evaluation.

The Arduino platform started with an 8-bit Atmel AVR microcontroller. It has since expanded to a range of microcontrollers. Digilent's chipKIT modules (Fig. 5) utilize Microchip's 32-bit MIPS-based microcontroller (see PIC32 Arduino Modules).

Figure 5. Digilent's chipKIT module is compatible with Arduino shields and runs a Microchip 32-bit MIPS microcontroller.

Arduino has definitely moved to the 32-bit realm. The new Arduino DUE runs an Atmel Cortex-M3 chip (see Arduino, Raspberry Pi or BeagleBone?). Freescale's boards show off their features including low power and compact size. Utilizing the Arduino form factor is a smart move since it provides access to a wide range of third party devices from LCD screens to wireless interface modules.

Freescale has an edge for developers needing very compact solutions. It has a chip scale package for the KL02 that is only 1.5-mm by 2-mm (see Advanced Packaging Delivers Capacity And Performance). The solder balls connect directly to the die.

About the Author

William G. Wong | Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sponsored Recommendations

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!