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?

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.

MPLAB simulations for Maximum frequency signal in 16-bit timer programming mode

MPLAB code for maximum frequency signal
MPLAB code for maximum frequency signal
output of MPLAB code
output of MPLAB code

Simulations on Proteus

simulations on proteus for max frequency signal on PIC
simulations on proteus for max frequency signal on PIC

Download files from here

 

Also read here

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?

Leave a Reply

Your email address will not be published.