Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

pic18f4431 pwm problem

Status
Not open for further replies.

pncneves

Newbie level 1
Joined
Sep 19, 2005
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,289
pic18f4431 pwm

Hi,
I´m using a pic18ff4431 and follwing an900 to make a controler for an ACIM. I've programed it with Microchip's firmware to open loop operation. The problem is that i can't get any output in the PWM's. Did anyone worked with this application note to do this? maybe there's some pin that should be connected to gnd or 5v?
I used the schematic provided in the application note.
Thanks for your time.
 

gidimiz

Advanced Member level 1
Joined
Feb 3, 2005
Messages
427
Helped
124
Reputation
248
Reaction score
41
Trophy points
1,308
Activity points
5,157
pwm no pic18f4431

Hi,

1. Did you try to look at the source code provided by microchip?
https://ww1.microchip.com/downloads/en/AppNotes/AN900.zip

2. If you have MPLAB 7.XX then you can use the Visual initializer. There you have to chose what pin and what you want to use, and this will program the PIC with the right code. play with it a bit, just to see that the PWM works for you.

if that dosnt work, then write a simple code that jsut starts the PWM, find out what you are doing wrong until you get it write, then build everything around it.

If you found my answer useful, click on the button that says Helped me. ( NO points will be taken from you! )


Good luck.
 
  • Like
Reactions: Napis

    Napis

    Points: 2
    Helpful Answer Positive Rating

piyush_embedded

Newbie level 3
Joined
May 15, 2012
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,308
hello i am working on three phase ac induction motor and following the application note AN900 by microchip. and it just work fine but now i want to change the pwm frquency from 20khz to 10khz and also the duty cycle must chage accordingly so how can i do this??

anyone work on this application note??

thanks in advance..
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top