Obtaining the internal clock of dsPIC microcontroller through TIMER capability

Status
Not open for further replies.

vaia-riseng

Newbie level 6
Joined
Dec 28, 2011
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,374
Hi, I am using dsPIC30f4011 microcontroller. I am trying to determine the internal clock of my microcontroller by using TIMERs.
(I am using XT PLL x4 with 7.37 MHz as my external clock)

Basically, I am just trying to output a PWM signal that SHOULD correspond to the internal clock of my microcontroller. From computations, I should have an internal clock (Fcy) of 7.37MHz through using the PLL 4x. But when I check the frequency of the signal using a oscilloscope, I am only getting ~82kHz. Please tell me if I'm doing/assuming something wrong with my procedure. Thank you very much!
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…