K33rg4t3
Full Member level 3
hey
I have a simple setup with P32MZ2048EFH144
It has no external oscillator.
I have a simple code with Delay_ms(1000) which appears to work fine (the led blinks at about 1 second)
But....
I think there is something I dont understand.
Take a look:
No matter what I set in "MCU Clock Frequency [MHz]", the blinking time is always the same.
I can set frequency to 200MHz or to 0.1MHz, but it seems that mikroC is ignoring this field.
It's not blinking slower nor faster when I change it.
My question is - why?
I remember that for pic18f I had to enter a correct frequency to this field for delay_ms to work (I had to respect the oscillator settings, the PLL multipler, etc).
Is this a mikroC PRO for PIC32 bug or why is it?
I have a simple setup with P32MZ2048EFH144
It has no external oscillator.
I have a simple code with Delay_ms(1000) which appears to work fine (the led blinks at about 1 second)
But....
I think there is something I dont understand.
Take a look:
No matter what I set in "MCU Clock Frequency [MHz]", the blinking time is always the same.
I can set frequency to 200MHz or to 0.1MHz, but it seems that mikroC is ignoring this field.
It's not blinking slower nor faster when I change it.
My question is - why?
I remember that for pic18f I had to enter a correct frequency to this field for delay_ms to work (I had to respect the oscillator settings, the PLL multipler, etc).
Is this a mikroC PRO for PIC32 bug or why is it?