Welcome to EDAboard.com

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.

Help with PLL for dsPIC30F3014

Status
Not open for further replies.

alexsoad

Newbie level 6
Joined
Apr 4, 2011
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,384
Hello,

I need to know if this instruction will grant me a PLL of 16x for dspic30F3014:

_FOSC(CSW_FSCM_OFF & FRC_PLL16)

It will result a frequency of 16*7.37 ~= 120 MHZ ???

Thank you in advance,

Alex
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
48,912
Helped
14,334
Reputation
28,931
Reaction score
13,079
Trophy points
1,393
Location
Bochum, Germany
Activity points
282,235
Yes, the macro will setup the FOSC fuses to Fast RC Oscillator with 16x PLL, resulting in 120 MHz speed.
 

alexsoad

Newbie level 6
Joined
Apr 4, 2011
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,384
Yes, the macro will setup the FOSC fuses to Fast RC Oscillator with 16x PLL, resulting in 120 MHz speed.

thanks a lot :)

now i need one more thing :

I need to know the correct formula for FCY.
I founded 2 variants : FOSC/2 and FOSC/4

I intend to think FCY is FOSC/4 for my microcontroller, but i am not sure.
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
48,912
Helped
14,334
Reputation
28,931
Reaction score
13,079
Trophy points
1,393
Location
Bochum, Germany
Activity points
282,235
The most detailed description can be found in the dsPIC30F Family Reference Manual. It clarifies, that fcy = fclk/4 for dsPIC30, see paragraph 7.2 CPU Clocking Scheme.
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top