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.
Hi I am testing the functionality of the dsPIC33EP and ran some example code from the Family Reference Manual for the PWM module.
Here's the code:
void PWMInit (void);
#include "xc.h"
#include "p33EP512MU814.h"
int main(void) {
PWMInit ();
while (1);
return 0;
}
void...
Thank you, you were right it was the watchdog timer causing it.
I'm simulating the dsPIC33EP512MU814 but that code was just an arbitrary instruction to see if the while loop was the cause of my problems or if it was the other instructions in my actual code.
Thanks again
I am trying to simulate some code in MPLAB X but am having a problem with the while loop, so I started a new project with only two instructions to execute to make sure that something else in my code wasn't causing a problem.
Here is the code:
int main(void) {
TRISA = 0xFFFF;
while...
Hi I am very confused and would appreciate some help.
I've been looking for a controller that has lots of independently controlled PWM outputs and so far the dsPIC33EP512MU814 seems to have the most. If you look at the product selection chart **broken link removed** it mentions that this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.