Hello to all!
In a project, I need a clock in the area of ns . Is it possible to use a PIC32MZ or PIC32MX to produce a clock in the area 200ns-800ns with resolution of 100ns ? What is the chip configuration for a stable clock pulse? What PIC I must choose for that, and what is the minimum frequency of external crystal
that must be used to have a clear and stable clock in above area?
In the FC7, is it possible to set delays under 1μs (in the area of ns ) when I use PIC32XX ?
CLOCK PULSE WITH PIC32
Moderator: Benj
-
- Posts: 115
- Joined: Wed Aug 03, 2016 10:45 pm
- Has thanked: 24 times
- Been thanked: 11 times
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
Re: CLOCK PULSE WITH PIC32
Hi
PIC32MZ will even do better but it is an expensive controller

Yes this is absolute possible for example a PIC32MX470F512H running at 120MHZ can produce single or pulse trains below 200nSec'sneed a clock in the area of ns . Is it possible to use a PIC32MZ or PIC32MX to produce a clock in the area 200ns-800ns
PIC32MZ will even do better but it is an expensive controller
This you will see in the Chip Data sheet and Reference manual for Output Compare module there is no FC component for OC Module you need to use a C icon and do it yourself as the FC Component only support PWM modeWhat is the chip configuration for a stable clock pulse?
This is hard top answer with out knowing your project as the minimum you can use will depend on the way the OSC is configured and handled in chip HW and what your end Frequency needs to be as you will see in the OSC module print attached there s a few things to calculate]what is the minimum frequency of external crystal
If you are thinking to produce pluses with delay then you are on the wrong pathIn the FC7, is it possible to set delays under 1μs (in the area of ns ) when I use PIC32XX ?

- Attachments
-
- 2.jpg (69.75 KiB) Viewed 7964 times
-
- 1.jpg (87.61 KiB) Viewed 7964 times
-
- 3.jpg (57.46 KiB) Viewed 7964 times
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR
-
- Posts: 115
- Joined: Wed Aug 03, 2016 10:45 pm
- Has thanked: 24 times
- Been thanked: 11 times
Re: CLOCK PULSE WITH PIC32
Thanks QMESAR for info .
I'll make some tests with PIC32 . Another solution is to use a DDS generator with AD9850 that works well at 1-3 MHz , making the control word with an 8bit PIC. About delays, of course I'll not use them for clocking , just for delay in some special operations.
I'll make some tests with PIC32 . Another solution is to use a DDS generator with AD9850 that works well at 1-3 MHz , making the control word with an 8bit PIC. About delays, of course I'll not use them for clocking , just for delay in some special operations.