Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dsPic33FJ128GP802 => not working...
#6
Ok so now i have FCY set to the 3.685. The FRC is selected and RB2 pin is turned on/off in a loop.
With my scope i get a frequency of 921-925KHz that seems to me to be near 1/8th (7.37/8 ~ 921KHz )of the internal reference frequency !?

When i played around with the pll, i got frequencies of 6.63Mhz and something like 9.94MHz if i recall correctly when FCY was what ever, it seemed not to affect the frequency.

I tried also the PLL lock wait loop, but sometimes it was stuck in the loop i.e. no frequency was detected on RB2 or then the weir frequencies were there.

Any good hints how and what i may be do wrong now ?

And one clarification, i'm measuring the frequency as the periodtime from pulse start to next pulse start.
If i measure just the peak of the pulse, its approximately 3.6MHz
So as a recap, does the 40Mips on dspic specs mean that the min pulse width generated from a pin may be 40Mhz long or is it the period time from pulse start to next pulse start ?


Attached Files
.zip   firmware 16-bit (2).zip (Size: 118.36 KB / Downloads: 10)
Reply


Messages In This Thread
dsPic33FJ128GP802 => not working... - by pzq - 2012-11-11, 23:52:44
RE: dsPic33FJ128GP802 => not working... - by pzq - 2012-11-17, 16:17:35
RE: dsPic33FJ128GP802 => not working... - by pzq - 2012-11-18, 23:06:24
RE: dsPic33FJ128GP802 => not working... - by pzq - 2012-11-23, 00:27:31
RE: dsPic33FJ128GP802 => not working... - by pzq - 2012-11-25, 22:57:21

Forum Jump:


Users browsing this thread: 1 Guest(s)