Anantha Krishna
Member level 1
Hi all,
I am trying to interface AD7541 - 12 bit DAC with LM3s3748 Microcontroller. I am using LF351 Op-amp and giving both +ve and -ve reference as +5V and -5V. I need the output analog in both +ve and -ve depending on the counts.(say 1000 - 0000 counts gives 0V to -1V and 1000 to 2000 counts gives 0V to 1V).
It is supposed to be a simple DAC where it gives equivalent analog voltage for the corresponding digital input, provided with a proper reference.
I am getting analog output, but the problem is that the analog output is not linear.
i.e. for 1 count, it gives say 20mV, for 2, it gives 70mV and for 3 counts it gives 40 mV. It keeps repeating in this way I am unable to get a proper linear voltage.
The issue was same when I removed the op-amp amplifier and checked only with the DAC.
Please help.
Thank you.
I am trying to interface AD7541 - 12 bit DAC with LM3s3748 Microcontroller. I am using LF351 Op-amp and giving both +ve and -ve reference as +5V and -5V. I need the output analog in both +ve and -ve depending on the counts.(say 1000 - 0000 counts gives 0V to -1V and 1000 to 2000 counts gives 0V to 1V).
It is supposed to be a simple DAC where it gives equivalent analog voltage for the corresponding digital input, provided with a proper reference.
I am getting analog output, but the problem is that the analog output is not linear.
i.e. for 1 count, it gives say 20mV, for 2, it gives 70mV and for 3 counts it gives 40 mV. It keeps repeating in this way I am unable to get a proper linear voltage.
The issue was same when I removed the op-amp amplifier and checked only with the DAC.
Please help.
Thank you.