AnsweredAssumed Answered

MK22FN256(64LQFP)  PWM

Question asked by brian cavanagh on Mar 15, 2018
Latest reply on Mar 15, 2018 by Mark Butcher

Hi, I'm using the PWM component and assigned it to PTD5(Pin 62).  I also have a 'heartbeat' led assigned to PTC1(Pin 44) that blinks every 10 seconds. 


When I change the Period for the PWM it also has a direct impact on the heartbeat.

Below you'll see the Period is .5kHz.  If I change to 1kHz, my heartbeat changes also and blinks every 5 seconds.


TU1:TimerUnit_LDD is assigned to the PWM:


To determine if TU1 had an affect on any other components I removed it from my project to determine which components were affected by it:

As you can see above, only PWM1:PWM was affected.


Can someone explain why this would happen.  I'm not sure how to fix this and why the PWM period has an impact on other components that are not using it.






Note:  I'm using KDS Version 3.2.0