Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

18F4431 40MHz Crystal frequency

Status
Not open for further replies.

dmta

Member level 2
Member level 2
Joined
Mar 25, 2013
Messages
52
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Earth
Visit site
Activity points
1,650
Hi all,

What should I do to operate a 18F4431 at 40MHz?

I tried using a 10MHz crystal with 2x22pF caps with the "HS oscillator, PLL enabled (clock frequency=4XFOSC1)" but it didn't work [I blinked an LED with 1Hz and the timing was all wrong].

I used a 4MHz with the same option but it also gave me the same result.

The pic works fine with a 20MHz crystal at HS mode.

What have I done wrong? Here is the bit configuration that I used

Regards
 

Attachments

  • 40M.JPG
    40M.JPG
    81.4 KB · Views: 76

Are you sure the configuration bits are being set to enable the PLL?
Why do you have internal/external switchover enabled?...Are you also using an external clock?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top