Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
frequency question [abandoned]
#1
Hi,

In my application I use the p33FJ256MC710 with UART1, frequency RUN application is 80MHz.
This is my setting in application:
Code:
_FOSCSEL(FNOSC_PRIPLL & IESO_OFF)
_FOSC(FCKSM_CSDCMD & OSCIOFNC_OFF & POSCMD_XT)
_FWDT(FWDTEN_OFF & WINDIS_OFF)

main(){
    _PLLPRE = 0;     // 4Mhz crystal / 2 = 2Mhz
    _PLLDIV = 74;  
    _PLLPOST = 0;    /80Mhz / 2 = ***40 Mips***
    _DOZE = 0;
    while(OSCCONbits.LOCK!=1) {};    // Wait for PLL to lock

.............
............
.............
..............
.............
}


I want use bootloader with UART1 , but the problem is how setting frequency 80Mhz in the code of boot loader the frequency is max 40MhzHuh
Reply


Messages In This Thread
frequency question [abandoned] - by salviador - 2010-12-31, 11:50:06
RE: frequency question - by Mikael Gustavsson - 2010-12-31, 14:11:59
RE: frequency question - by salviador - 2010-12-31, 16:58:25
RE: frequency question - by Mikael Gustavsson - 2011-01-16, 00:55:07

Forum Jump:


Users browsing this thread: 1 Guest(s)