I am using a simple op-amp to make an inverter. I set Rin = Rout.
However, when I implement it and feed a 1 MHz sine wave into the input, the output was unexpected. It seems to have distorted plus something I don't know. I don't know why.
When I use JK-Flip flip to serve as a frequency divider and I feed in a 1 MHz square wave, same problem arises.
I would like to know why and how can I solve the above problems.
from what u say i think u r dealing with noise and slew rate problem..... noise is hard to reject because it is omnipresent.... The slew rate problem is where the input changes faster than what the op-amp can support..... so try changing the op-amp....