View previous topic :: View next topic |
Author |
Message |
madmaker
Joined: 12 Mar 2005 Posts: 1 Location: PARIS
|
POWER CONTROL PWM PROBLEM IN 18F4431 |
Posted: Mon Mar 14, 2005 11:27 am |
|
|
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 !!! ) .... 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
|
|
Posted: Wed Mar 16, 2005 3:47 pm |
|
|
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
|
|
Posted: Wed Mar 16, 2005 4:05 pm |
|
|
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.... |
|
|
|