CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

need help for motor pwm

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
dnatechnical



Joined: 26 Nov 2009
Posts: 19

View user's profile Send private message

need help for motor pwm
PostPosted: Thu Nov 26, 2009 8:26 am     Reply with quote

Anybody can explain following command?
Want to use dspic30f3010.
Code:

setup_motor_pwm(pwm,options, timebase);
setup_motor_pwm_duty(pwm,unit,time)
set_motor_pwm_event(pwm,time)
setup_motor_unit(pwm,unit,options, active_deadtime, inactive_deadtime)

What is time base ? Is it frequency or on period?
What is unit?
What is mean set_motor_pwm_event(pwm,time)?

thank you.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Nov 27, 2009 9:18 pm     Reply with quote

These functions are only available for the PCD compiler. Most people
on this forum who answer questions, do not have that compiler.
For more information, read the following document:
Quote:

Microchip Seminar: dsPIC30F Motor Control PWM Module

http://techtrain.microchip.com/webseminars/documents/dsPICMCPWM_033005.pdf

Also, your version of the compiler may have bugs with those functions.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group