Kinetis L - Touch-Sensing with Processor Expert

  • Posted Date: 06 October 2016

This course teaches viewers how to create a CodeWarrior® project that uses Processor Expert® to configure and run the TSS (Touch-Sensing Software) library to detect touch and touch position using the analog slider in the FRDM-KL25Z board. The course also shows how to configure a simple PWM output by configuring the KL25Z TPM module. This PWM output is then used to change the intensity of an LED on the board according to the finger position on the touch analog slider. A minimal amount of code is written as most of the coding is done by Processor Expert®, highlighting the value of this tool in creation of applications.

This tutorial uses the following hardware and software components:

What You'll Learn

  • Create a CodeWarrior® 10.3 Processor Expert® project for the KL25 Freedom development board
  • Use Processor Expert to configure the CPU clock settings
  • Use TSS library component in Processor Expert to configure an analog slider
  • Configure an PWM Channel for an LED on the KL25 Freedom Development board using Processor Expert timer configuration
  • Configure main project and event handlers for the analog slider position to manipulate an output LED on the KL25 Freedom development board

Course Outline

  • Create a CodeWarrior® 10.3 Processor Expert® project
  • Processor Expert configuration
    • CPU
    • TSS library component
    • Timer module for PWM channel
  • Configure and build main function
  • Run and debug program