I need to use the freedom board to run a small robot project
- I need 2 PWM channels to run 2 motors
- Need 2 to 3 channels to send 10 us trigger pulse for Ultrasonic sensors
- 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.