When I did those measurements I had the oscilloscope probe next to the output and there was nothing else connected.
In any case, even with that issue, I found a way to get the PIC reading up to 3.2Mhz by tunning the prescalers of both timers. I think it will probably go higher than that 3.2Mhz, but that's the maximum I'm getting out the MAX038 with the current configuration; so I can't verify it.
The only problem is that now I lost resolution in the lower ranges. The websites I mentioned above deal with this problem by adjusting the prescaler automatically depending on the frequency; but since I have the PIC also controlling the frequency range of the MAX, I'm currently adding the code to change the prescaler every time a different range is selected; and this way I don't need to have it constantly setting and calculating the prescaler.
In any case, even with that issue, I found a way to get the PIC reading up to 3.2Mhz by tunning the prescalers of both timers. I think it will probably go higher than that 3.2Mhz, but that's the maximum I'm getting out the MAX038 with the current configuration; so I can't verify it.
The only problem is that now I lost resolution in the lower ranges. The websites I mentioned above deal with this problem by adjusting the prescaler automatically depending on the frequency; but since I have the PIC also controlling the frequency range of the MAX, I'm currently adding the code to change the prescaler every time a different range is selected; and this way I don't need to have it constantly setting and calculating the prescaler.