Hello every ~ My 24FJ256GB106 can't work at internal Oscillator
I want to use UART、SPI and USB function.
USB function using the internal USB PLL.
So I select "Fast RC Oscillator with PLL module and the Oscillator input divided by 2 (8Mhz) <--- internal Oscillator at 8Mhz.
Please everyone check my FUSE .h file ~ Thanks !
Code:
#FUSES NOWDT //No Watch Dog Timer
#FUSES NOJTAG //JTAG disabled
#FUSES NOPROTECT //Code not protected from reading
#FUSES NOWRT //Program memory not write protected
#FUSES NODEBUG //No Debug mode for ICD
#FUSES ICS0 //ICD communication channel 3
#FUSES WINDIS //Watch Dog Timer in non-Window mode
#FUSES WPRES128 //Watch Dog Timer PreScalar 1:128
#FUSES WPOSTS16 //Watch Dog Timer PostScalar 1:32768
#FUSES IESO //Internal External Switch Over mode enabled
#FUSES FRC_PLL //Internal Fast RC oscillator with PLL
#FUSES NOCKSFSM //Clock Switching is disabled, fail Safe clock monitor is disabled
#FUSES NOOSCIO //OSC2 is general purpose output
#FUSES NOPR //Pimary oscillaotr disabled
#FUSES IOL1WAY //Allows only one reconfiguration of peripheral pins
#FUSES WPEND_LOW
#FUSES NOWPCFG
#FUSES NOWPDIS
#FUSES WPFP0
#FUSES PLL2 //Divide By 2(8MHz oscillator input)
#FUSES RESERVED //Used to set the reserved FUSE bits
#use delay(clock=8000000)
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
Posted: Tue Jan 12, 2010 3:45 am
The dataheet clarifies:
Quote:
While the FRCPLL Oscillator mode is available in
these devices, it should never be used for USB
applications. FRCPLL mode is still available when
the application is not using the USB module.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum