mbed FRDM KL25Z

/media/uploads/chris/frd_small.jpg

Rapid Prototyping for general microcontroller applications, USB and 32-bit ARM® Cortex™-M0+ based designs using the Freescale Freedom development platform (FRDM-KL25Z)

Order now!

Overview

The FRDM-KL25Z has been designed by Freescale in collaboration with mbed for prototyping all sorts of devices, especially those requiring the size and price point offered by Cortex-M0+ and the power of USB Host and Device. It is packaged as a development board with connectors to break out to strip board and breadboard, and includes a built-in USB FLASH programmer.

KL25Z Pinout

It is based on the Freescale KL25Z, with a 32-bit ARM Cortex-M0+ core running at 48MHz. It includes 128KB FLASH, 16KB RAM and lots of interfaces including USB Host, USB Device, SPI, I2C, ADC, DAC, PWM, Touch Sensor and other I/O interfaces.

The FRDM-KL25Z is fully supported in the mbed platform, so it gets access to the free tools and SDK that provides experienced embedded developers with powerful and productive tools for building proof-of-concepts. For developers new to 32-bit microcontrollers, mbed provides an accessible prototyping solution to get projects built with the backing of libraries, resources and support shared in the mbed community.

Features

  • Freescale KL25Z Kinetis KL2 MCU (MKL25Z128VLK4)
    • High performance ARM® Cortex™-M0+ Core
    • 48MHz, 16KB RAM, 128KB FLASH
    • 2xSPI, 2xI2C, 3xUART, 6xPWM, 6xADC, Touch Sensor, GPIO
  • FRDM-KL25Z Onboard peripherals
    • MMA8451Q - 3-axis accelerometer
    • PWM Controlled RGB LED
    • Capacitive touch sensor
  • Evalution Form factor
    • 81mm x 53mm
    • 5V USB or 4.5-9V supply
    • Built-in USB drag 'n' drop FLASH programmer
  • mbed.org Developer Website
    • Lightweight Online Compiler
    • High level C/C++ SDK
    • Cookbook of published libraries and projects

Tools and Software

All mbed-enabled hardware is supported by the mbed.org developer website, including a lightweight Online Compiler and developer tools taht work on Windows, Linux or Mac OS X.

Also included is a C/C++ SDK for productive high-level programming of peripherals. Combined with the wealth of libraries and code examples being published by the mbed community, the platform provides a productive environment for getting things done.

The mbed FRDM KL25Z is one of a range of hardware platforms supported by the mbed SDK. It includes a built-in USB programming interface that is as simple as using a USB Flash Drive. Plug it in, drop on an ARM program binary, and its up and running!

Getting started with the FRDM-KL25Z on mbed

To use the FRDM-KL25Z with mbed,the first thing you will want to do is add the mbed firmware. Full instructions are here:

Technical Reference

Power

  • Powered by USB or 5.0v - 9.0v applied to VIN
  • Digital IO pins are 3.3v, 4mA each, 400mA max total

Pins

  • Vin - External Power supply to the board
    • 5.0v-9.0v, 100mA
  • RESET - Active-low reset pin with identical functionality to the reset button.

Schematics and Data Sheets

mbed FRDM-KL25Z

Freescale KL25Z MCU

See also




13 related questions:


11 comments:

07 Mar 2013

Hi, the pinout diagram shown here disagrees with the one printed on the inlay of the FRDM's box about the power pins - you seem to have 5V and 3V3 switched on your diagram compared to theirs, and my multimeter on my board agrees with their diagram - this might lead to some damage if not fixed! Their diagram says it's VIN, GND, GND, 5V, 3V3, ... but yours says VIN, GND, GND, 3V3, 5V, ...

08 Mar 2013

Hi Bob Stone,

Thanks for that! We checked and you are indeed correct. The pinout diagram has been updated accordingly. Good spot, cheers!

14 Mar 2013

I looked at the documentation of the KL25Z and it seems that the mbed pinout overview shown above has an error. The picture does not match the KL25Z datasheet and schematic.

PTE1 (J2 pin 20) is shown as SDA, but is in fact SCL.

PTE0 (J2 pin 18) is shown as SCL, but is in fact SDA.

Note that pinout in FRDM-KL25Z User's Manual (Rev 1.0) does have the correct I2C pinfunction desciption, but uses the wrong Portpin number:

PTE0 (J2 pin 20) is shown as SCL, should be: PTE1 (J2 pin 20) shown as SCL.

PTE1 (J2 pin 18) is shown as SDA, should be: PTE0 (J2 pin 18) shown as SDA.

The pdf/excel pinout table is also wrong wrt to the J2 pin numbers. The printed inlay of the FRDM's box has the same mistake.

EDIT: diagram above has been fixed. Thanks.

21 Mar 2013

Please note some hardware related issues with the KL25Z:

  • The I2C bus on PTC8 (SCL, J1 pin 14) and PTC9 (SDA, J1 Pin 16) is the same logical I2C engine which is also connected to the onboard MMA8451. You probably cant use both at the same time. In case it does work then note the onboard pull-up Rs (4k7) and make sure your external I2C devices do not use the MMA8451 slaveaddress (0x3A).
  • PTD1 (J2 pin 12) is also connected to the cathode of the Blue LED of the onboard RGB LED. This may lead to conflicts when PTD1 is configured as SPI port or DigitalOut pin.
  • The LEDs on KL25Z are turned on when writing a low level to the pins. This is the other way round than on the LPC1768 and LPC11U24 mbed modules. Check the schematics for details.
29 Mar 2013

Maybe useful to add this to the links: http://cache.freescale.com/files/32bit/doc/ref_manual/KL25P80M48SF0RM.pdf. That is the one with the register descriptions, so quite useful, and took me quite some time to find the first time.

03 Apr 2013

Erik Olieman wrote:

Maybe useful to add this to the links: http://cache.freescale.com/files/32bit/doc/ref_manual/KL25P80M48SF0RM.pdf. That is the one with the register descriptions, so quite useful, and took me quite some time to find the first time.

That's a very nice document. It was taking some time to find out something like this. Thank you!

08 Apr 2013

Is there any chance of a higher res version of the pin identuification diagram - it is a little hard ton read when printed.. PDF would be handy chrs

02 May 2013

Seriously, you should post with BIG letters on the front page that the board (at least from the factory) does NOT work with Linux.

How do I get running with only access to Ubuntu 64bit (12.04 and 13.04)?

02 May 2013

Lars Knudsen wrote:

Seriously, you should post with BIG letters on the front page that the board (at least from the factory) does NOT work with Linux.

How do I get running with only access to Ubuntu 64bit (12.04 and 13.04)?

There is a warning box on the relevant handbook page, it's just above the download link for the firmware.

Once you have replaced the firmware with the mbed firmware you will be able to use Linux. Replacing the firmware is a very quick task on a Windows machine, perhaps you have a friend with a Windows box who'd let you use it for a minute.

16 May 2013

Erik Olieman wrote:

Maybe useful to add this to the links: http://cache.freescale.com/files/32bit/doc/ref_manual/KL25P80M48SF0RM.pdf. That is the one with the register descriptions, so quite useful, and took me quite some time to find the first time.

thank you for the link, that is exactly what i am looking for !!!

21 Nov 2013

" Digital IO pins are 3.3v, 4mA each, 400mA max total "

Shouldn't it say, pins are 3.3v 40mA each, 400mA max total?