Kinetis SDK v.1.2 Demo Applications User's Guide  Rev. 0
Freescale Semiconductor, Inc.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
EflexPWM Demo

This demo application demonstrates the EflexPWM demo. More...

Overview

This application demonstrates the pulse with modulation function of EflexPWM module. It outputs the PWM to control the intensity of the LED.

Supported Platforms

This Freescale Tower System development platform is supported by the Kinetis software development kit EflexPWM demo.

System Requirement

Hardware requirements

Toolchain requirements

Software requirements

Getting Started

Hardware configuration

No jumper configuration is needed.

Prepare the Demo

  1. Connect a USB cable between the PC host and the OpenSDA USB port on the board.
  2. Open a serial terminal with these settings:
    • 115200 baud rate
    • 8 data bits
    • No parity
    • One stop bit
    • No flow control
  3. Download the program to the target board.
  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Run the demo

  1. Terminal prints the message "Welcome to EflexPWM demo!"
  2. The LED on board increases/decreases intensity according to PWM pulse width changes.