The tutorial shows how to toggle LED with KSDK 1.1.0 in KDS 2.0 and Processor Expert using a Timer Output for FRDM-KL03Z.
Guide is prepared for red LED which is connected to Timer/PWM Module 0 (TPM0), channel 1.


Create new project
Create new project in KDS 2.0 with KSDK 1.1.0


Type the project name, choose board. e.g. FRDM-KL03Z, mark off options Kinetis SDK and Processor Expert






Now, the structure looks like this:


Set Processor Expert Settings
Now, go to Components Library, find fsl_tpm component and by double click add the component to Component View.


Rename the component tpmTmr:fsl_tpm to e.g. RedLed.




Double click on RedLed:fsl_tpm in Components View and see Component Inspector
Follow these steps:


Set frequency and duty cycle.








Debug configuration










DONE!

