I am trying to switch the ranges of an I/V amplifier, such that I can measure from 100nA to ~1mA of current up to 100kHz (similar to this question). I make the switching using an TS5A3357 analog switch, however I seem to be limited in bandwidth somehow, no matter what op-amp I use. I'm guessing it has to do with the ON/OFF capacitances of the analog switch, but I don't know how to mitigate that. Is an analog switch even possible in such application or would I need to use another component (such as a relay)?
Why is this thing not working?
Also note that the low-frequency gain, even though it should be 0dB, is -3.8dB.