Continue to Site

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.

PIC32MX Reference Clock

Status
Not open for further replies.

strahd_von_zarovich

Advanced Member level 4
Joined
Sep 25, 2015
Messages
118
Helped
1
Reputation
2
Reaction score
3
Trophy points
1,298
Activity points
2,463
Hi , i have PIC32MX460F512L , with my demo board everything works fine with the code below . Demo board has 8 MHz oscillator. But now i have to use 25 MHz crystall as a reference clock. There are lots of information in the clock section's datasheet, but i haven't read all of them yet . Can you give me the specifications for system clock = 80 MHz , peripheral=10 MHz using 25MHz crystall.

Code:
#pragma config FNOSC = PRIPLL
#pragma config POSCMOD = EC


//#pragma config FPLLIDIV = DIV_2               
//#pragma config FPLLMUL = MUL_20               

//#pragma config FPLLODIV = DIV_1               
//#pragma config FPBDIV = DIV_8                 


#pragma config FWDTEN = OFF
#pragma config CP = OFF
#pragma config BWP = OFF
#pragma config PWP = OFF
 

You mean using a 25 MHz crystal for the primary oscillator? That's feasible when setting FPLLIDIV (/5) and PLLMULT (*16) respectively, but only if you don't need the USB module which requires an integer multiply of 4 MHz as clock input.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top