I encountered a problem while designing my own waveform generator. In my design, I am using a DAC (DAC5662) to generate different types of signals, and then I amplify the signal using an operational amplifier (THS391). Schematic looks like that:
As seen on the schematic, IOUTA_1 and IOUTA_2 form a differential pair which my DAC generates. R18 and R19 are resistors that determine the voltage points. I then amplify the signal using an operational amplifier in the circuit as a differentiator. After that, I only have some elements for the ESD protection and overvoltage protection.
Firstly I programed my FPGA to just generate a Sawtooth wave. After that I started measuring my circuit and on my output I got:
which doesn't look like a sawtooth wave. So I measured what I get on my inputs of my OP-AMP(or outputs of my DAC) and got that:
Again not the signal I wanted so now I have decided to unsolder my two 0ohm resistors R14 and R16 and measured it again:
Now it looks like what should it look like. The voltage of the sawtooth which I except from my DAC is exactly as calculated. So now my question follows: What did I do wrong with my OP-AMP. I tried changing resistors from smaller to bigger values but nothing helps.