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 CCS Technical Support

POWER CONTROL PWM PROBLEM IN 18F4431

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



Joined: 12 Mar 2005
Posts: 1
Location: PARIS

View user's profile Send private message

POWER CONTROL PWM PROBLEM IN 18F4431
PostPosted: Mon Mar 14, 2005 11:27 am     Reply with quote

hi

I've a problem wiht the "POWER CONTROL PWM PROBLEM" and I don't understand my mistakes

I'm using SETUP_POWER_PWM_PINS, SETUP_POWER_PWM, set_power_pwm4_duty functions for to control a H bridge but there is no signal from RD4 ( like as all PWM pins !!! Sad ) .... with RD5 configuration bits (I configure this bit in MPLAB)

I try all option of this functions ... without result

does anyone have a solution for me , please?
_________________
escuse me for my english ... but I've a good reason ... I'm Frenchy ;)
valemike
Guest







PostPosted: Wed Mar 16, 2005 3:47 pm     Reply with quote

I'm not quite familiar with the 18F4431, but am familiar with the 18F448, where i'm using the ECCP Full Bridge Mode.
Are you using the ECCP? If so, i'll post some Full Bridge setup code. It doesn't use the libraries. I haven't tried using the libraries yet though.

-Mike
bluetooth



Joined: 08 Jan 2005
Posts: 74

View user's profile Send private message

PostPosted: Wed Mar 16, 2005 4:05 pm     Reply with quote

Hi:

Put a breakpoint right after all the CCS setups are complete. Look at Section 17 of the data sheet. Make sure all the Power Control Module registers have been set up properly for the mode of operation you desire. In particular, make sure that your /FLTA and /FLTB inputs are being driven in a manner compatible with the setups. If they're not, the outputs will stay off.

Good luck....
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