# What is the maximum frequency signal that can be generated in PIC18F4550 microcontroller?

What is the maximum frequency signal that can be generated in PIC18F4550 microcontroller? In order to get the maximum frequency, we will run the timer for minimum time. The minimum possible count is only 1 and it is because of the roll-over phenomenon.

## Calculations for maximum frequency signal in PIC microcontroller

Load both timer registers with maximum value that is FFFFH

subtract its decimal equivalent from 65536-65535=1.

Multiply is with clock period that is 0.4usec in case of 10MHz crystal oscillator.

1*0.4usec=0.4usec.

Now multiply it by 2 in order to get the time period so 2*0.4usec=0.8usec.

Now take reciprocal of it which is equal to 1.25MHz.

### Simulations on Proteus

https://eevibes.com/hardware-devices/what-is-the-minimum-frequency-signal-that-can-be-generated-in-pic18f4550-microcontroller/

What is the minimum frequency signal that can be generated in PIC18F4550 microcontroller?