I used to watch a thread was dealing with maximum frequency output from a PIC for any given master clock. Unfortunately my searches did not return any good information.
I’m interested to get a small PIC device (10F or 12F type)to act as a high frequency clock generator using its internal clock and I wouldlike to know what to expect.
I have an application where the space is very tight and Ineed a modulated clock source with decent stability in the order of hundreds ofkHz but ideal will be 1MHz.
Manufacturer Part#:
PIC12F675-I/MF
Product Category: Embedded - Microcontrollers
Manufacturer: Microchip Technology
Description: IC MCU 8BIT 1.75KB FLASH 8DFNS
PIC12F675-I/MF Datasheet
Package: 8-VDFN Exposed Pad
Quantity: 1030 PCS
Lead Free Status / RoHS Status: Lead free / RoHS Compliant
Moisture Sensitivity Level(MSL): 3(168 Hours)
Using PBP I understand that something like:
main_loop:
Togglepin_x
GOTOmain_loop
should give maximum frequency output. Assuming that theToggle and GOTO commands will take two cycles each that will give me possibleoutput frequency of Main_clock/4/4 which will be 250 kHz for a 4MHz clock.
My question is if one uses Assembly (which is not my strongestfield) will it get any faster? Will itbe possible to make it run in the background?
Ideally I need a 1 MHz output that will be ON for 15 mS andOFF for 5 mS.
Thank you in advance for any advice.
How to find the Maximum frequency output from a PIC
-
- Posts: 192
- Joined: Tue May 10, 2016 4:48 pm
Re: How to find the Maximum frequency output from a PIC
Hi Barlioh,
The PIC12F675-I/MF which you are referencing is not manufactured by Oriental Motor. Therefore, you will need to contact the manufacturer of the PIC12F675-I/MF (Microchip Technology) to get further assistance with the maximum frequency. If you are interested in the maximum frequency that one of our drivers can handle, then I would require the Oriental Motor driver part number.
The PIC12F675-I/MF which you are referencing is not manufactured by Oriental Motor. Therefore, you will need to contact the manufacturer of the PIC12F675-I/MF (Microchip Technology) to get further assistance with the maximum frequency. If you are interested in the maximum frequency that one of our drivers can handle, then I would require the Oriental Motor driver part number.