Oscillator mode & MIPS configuration
Posted: Thu Dec 18, 2008 12:55 pm
Hi Lubin,
My device is 30f6014A and demo board is dsPICDEM 1.1 of Microchip. The crystal of the board is 7.3728 MHz. So the typical configs are:
XT mode - 7.3728 MHz /1.8432 MIPS
XT w/ PLL 4x mode - 29.4912 MHz / 7.3728 MIPS
XT w/ PLL 8x mode - 58.9824 MHz /14.7456 MIPS
XT w/ PLL 16x mode - 117.9648 MHz / 29.4912 MIPS
In the following PWM model, If I set the XT mode/1.8432 MIPS in 'master' block, building of HEX code is OK, but errors occured when HEX code import to MPLAB and also in programming process. If I set the XT with PLL mode, building and programming are both OK, but actual output period is not equal to the value which set in the model.
So is there any problem in configuration?
Thanks,
Gladiac
My device is 30f6014A and demo board is dsPICDEM 1.1 of Microchip. The crystal of the board is 7.3728 MHz. So the typical configs are:
XT mode - 7.3728 MHz /1.8432 MIPS
XT w/ PLL 4x mode - 29.4912 MHz / 7.3728 MIPS
XT w/ PLL 8x mode - 58.9824 MHz /14.7456 MIPS
XT w/ PLL 16x mode - 117.9648 MHz / 29.4912 MIPS
In the following PWM model, If I set the XT mode/1.8432 MIPS in 'master' block, building of HEX code is OK, but errors occured when HEX code import to MPLAB and also in programming process. If I set the XT with PLL mode, building and programming are both OK, but actual output period is not equal to the value which set in the model.
So is there any problem in configuration?
Thanks,
Gladiac