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.

Consequences of using 20Mhz in PIC?

Status
Not open for further replies.

UroBoros

Advanced Member level 2
Advanced Member level 2
Joined
May 5, 2004
Messages
642
Helped
19
Reputation
38
Reaction score
8
Trophy points
1,298
Location
Cochin - India
Activity points
6,463
In a UPS project I was using PIC in 4 Mhz.

For adding some other functionality I need to drive the pic in 20Mhz.
What are the consequences of driving pic @ 20MHz, if any?

Thank You
 

you'll need to review your code ..
when clock frequency is changed serial communication or timing dependent functions may not work properly ..

Also, remember about fuse bit (XT_OSC -> HS_OSC) ..

rgds,
ianp
 

    UroBoros

    Points: 2
    Helpful Answer Positive Rating
Thanks for the reply.
I have made all those changes - not serial port; many timer interrupt triggering tasks. All those are taken care of now.
My main concern is weather any EMI effects are there. This is a UPS and I don't have to worry about affecting any other devices in the chassis. Will my PIC will be more prone to external interferences because of increased speed? More decoupling needed or any other precautions needed?

Thanks
Regards
 

In my humble opinion there is not much difference, as far as proneness to external interferences is concerned, between MCUs working at 4 and 20MHz speed ..
Just follow common rules and design guides for microcontrollers ..

Quote: “An MCU chip itself presents high immunity to and low generation of EMI since its dimensions are small versus the wave lengths of EMI signals (typically mm versus 10's of cm for EMI signals in the GHz range). So a single chip solution with small loops and short wires reduces noise problems.”

https://www.st.com/stonline/books/pdf/docs/9914.pdf

Rgds,
IanP
 

    UroBoros

    Points: 2
    Helpful Answer Positive Rating
Hi,

The PIC won't be more prone to external EMI because of the increased clock speed.

I don't think that you need additional decoupling or any other measures. If your design works in 4Mhz, it will work also in 20Mhz as long as you make the necessary changes in your code. Going from 4 to 20 is not a huge change.



Regards.
 

    UroBoros

    Points: 2
    Helpful Answer Positive Rating
Operating voltages becomes more critical. That is close to 5 volts. Not down to 2V.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top