AnsweredAssumed Answered

FRDM KL25Z PWMTiming configutation problem

Question asked by kesaradecosta on Nov 29, 2012
Latest reply on Dec 11, 2012 by kesaradecosta


I need to use the freedom board to run a small robot project

  1. I need 2 PWM channels to run 2 motors
  2. Need 2 to 3 channels to send 10 us trigger pulse for Ultrasonic sensors
  3. Needs 3 to 5 channels to capture the return pulses from Ultrasonic sensors

 

I am having trouble setting up the timer module TPM2  on the code warrier 10.3 beta to configure to have 2 PWM channels with 4kHz to control the duty cycle of the motors ( L293D )

 

Can anyone help me in setting up the timer.

Your help is much appreciated.

Attachments

Outcomes