strahd_von_zarovich
Advanced Member level 4
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