dsPIC30F3014's TIMERS

Thread Starter

alexsoad

Joined Apr 3, 2011
14
Hi, i do have a problem managing the timers on dsPIC30F3014.
This microcontroller has 3 Timers: T1, T2 and T3.
For my project i use T2 and T3 to generate 2 PWM signals, that control 2 DC motors independently.
I do some Analog to Digital conversion, and i configured to be managed by "Internal Counter". I do not know what this means. Who is internal counter? Is it Timer 1?? or it is the microcontroller's clock.

I need to use one more timer, for creating an exact delay function, and i do need another Timer. So, i need to know if i can use Timer 1, or if there is another method to create a function that comports as a perfect controlled delay.

Thank you ,
Alex
 

ErnieM

Joined Apr 24, 2011
8,415
Well, I jumper over the ds cores and went from 18F right to the 32's, but here goes...

The phrase "Internal Counter" does not appear in the data sheets. Otherwise the A2D clock is derived from the main oscillator, not a timer.

Do your motors have the same PWM frequency? If so, can you drive both off the same timer?

How "perfect" is your perfect controlled delay requirements?
 
Top