hi
yeah i did activated internal voltage regulator. he is a pic for fuse configuration in my programmer. it shows what i used
hi
yeah i did activated internal voltage regulator. he is a pic for fuse configuration in my programmer. it shows what i used
You yust should set USBPPL and PPLDIV to 48MHz, or divide by 12 if you use 48MHz resonator.
I think that code is good.
Ahmadabuomar,
Another possible problem ...
According to your picture ...
Low Voltage Programming (LVP) is Enabled.
You could put a pull-down resistor on RB5/PGM, but you probably want to disable it completely since you are using the full PORTB in your program.
And pedja089, you can't use a 48Mhz resonator with the 4550's.
Maximum frequency using the main oscillator is 25Mhz.
You can use an external TTL (canned) 48Mhz oscillator with EC mode.
<br>
DT
The top line says DEFINE OSC 48
Which seems correct from the image of the configs which shows an 8Mhz crystal with HS_PLL that gives 96Mhz.
The USBPLL is /2 so the USB gets 48Mhz, and the CPUDIV is also /2 so it's running at 48Mhz.
Except for the LVP, it all seems good.
Well, might want to disable XINST too.
<br>
DT
thx for ur reply
i ll try to disable lvp and xinst and see what happen
brb
Bookmarks