PIC32MX575 @ 80MHz
Posted: Fri Jun 25, 2021 9:57 am
Hi,
I am attempting to set up a PIC32MX575 @ 80MHz
I am using 8MHz crystal, so looking on other forums and the datasheet, i need to divide by 2and multiply by 20.
FPLLIDIV = DIVIDE BY 2
FPLLMUL = MULTIPLY 20
FPLLODIV = DIVIDE BY 1
FPBDIV = DIVIDE BY 2
Clock speed is set to 80MHz for timing.
With my flowchart turning an LED on and off with 1 second intervals, i am getting real life at 0.5 seconds. So its running 2x faster.
Since flowcode should be set up for 80Mhz this seems to indicate that my hardware is running at 160Mhz?
Changing FPLLIDIV to DIVIDE BY 4 corrects to clock, but by the numbers, flowcode is set up for 40Mhz with a clock speed setting of 80MHz,.
So something is off somewhere.....
Am i on the right track here, or am i missing something?
I have attached the .fcfx file for you to take a look at if it helps. Its current setup is FPLLIDIV / 2 which is running 2 x fast.
I am attempting to set up a PIC32MX575 @ 80MHz
I am using 8MHz crystal, so looking on other forums and the datasheet, i need to divide by 2and multiply by 20.
FPLLIDIV = DIVIDE BY 2
FPLLMUL = MULTIPLY 20
FPLLODIV = DIVIDE BY 1
FPBDIV = DIVIDE BY 2
Clock speed is set to 80MHz for timing.
With my flowchart turning an LED on and off with 1 second intervals, i am getting real life at 0.5 seconds. So its running 2x faster.
Since flowcode should be set up for 80Mhz this seems to indicate that my hardware is running at 160Mhz?
Changing FPLLIDIV to DIVIDE BY 4 corrects to clock, but by the numbers, flowcode is set up for 40Mhz with a clock speed setting of 80MHz,.
So something is off somewhere.....
Am i on the right track here, or am i missing something?
I have attached the .fcfx file for you to take a look at if it helps. Its current setup is FPLLIDIV / 2 which is running 2 x fast.