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.

How fast is an instruction cycle of 16f88 with internal osc?

Status
Not open for further replies.

rdpdo

Junior Member level 1
Joined
May 7, 2002
Messages
17
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
59
8 mhz instruction clock cycle

Hello,

Can someone tell me how fast is an instruction time for a 16f88 when using the internal oqscillator of 8MHz ?? Is this 1/8Mhz or 4/8Mhz ??

In fact when we use a 20MHz crytal, the instruction cyvle is 4/20MHz, is is the same for the internal 8MHz osc ??

Thanks you very much for your help.
 

instruction per cycle

what do you mean with 4/20mhz?
 

instruction cycle in pic

ilker said:
what do you mean with 4/20mhz?

Ok he means if you connect external crystal 20 Mhz (Fx)

The instruction time = 1\(Fosc) = 1\ [Fx\4] = 4 \ Fx = 4\20Mhz = 0.2 us = 200 ns

SphinX
 

instruction cycles pic 8 mhz

In simple terms, PICs take 4 clock cycles per instruction cycle. So just divide whatever clock frequency by four and you have your instruction frequency, aka MIPs (Million insturction cycles per second). Other microcontrollers may have different architectures. AVRs for example, have one instruction per clock cycle. So in terms of MIPs, a 20MHz PIC is equivalent to a 5MHz AVR. Of course, there are other factors to compare against other than MIPs when comparing microcontroller speeds, such as instruction set, bus width etc.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top