Hi all,
I've just bought the 28-pins Development Board from Microchip. I'm using it with dsPIC33FJ128MC802.
I've tried running the demo program that came with it (resend characters received through UART with quotation marks) and it worked perfect at first.
I then used an existing code I got, did a few more runs and then something went wrong.
I tried to run the demo program again, but it no longer worked. It seems that the pic was stuck at PLL locking here:
// Wait for PLL to lock
while(OSCCONbits.LOCK!=1) {};
Somehow OSCCONbits.LOCK!=1 is always true now. When I try to comment out this line, the LEDs doesn't flash at the rate it should have. And UART doesn't work anymore.
Can someone tell me what's going on? I've tried changing chips but the same problem is there. Could it be the power supply? I'm using a 12VDC plugpack.
Help please..