Hi Oli,
Toggling a pin to obtain an ADC clock is a really bad idea because jitter appears and jitter on a ADC will appears as noise in the digitized signal spectrum.
What have you plan to use as PIC32 clock source?
In the case you use an external oscillator, with some precautions, you can use the OSC2 pin to clock also the FPGA.
If aliasing is not a concern, you can try with a DDS (
http://www.fpga4fun.com/DDS.html) to generate several clock rates.
Again, taking one sample every n samples will produce aliasing. So if it is not a concern, why not.
A low jitter and low cost clock source could be:
- a DDS with a sine wave table (must run at very high speed),
- a really sharp filter @ half frequency (or less) of the DDS clock and
- a good comparator (to minimize the jitter).
With the A3P60, I would suggest to use some resources to build one or two DDS that run at 350 MHz.
The first one as system clock (50MHz or 100MHz) and the second one as ADC clock.
Hope this help
Thoma