ADC_DAC_PGA_SPI_INTERFACE

K

khuda Bakhsh Rai

Guest
HELLO,
i have written a vhdl code of on chip adc,dac,pga on spartan 3e kit. code is working good.but when i applied ac input signal at the input then output of dac is clipped. can anyone help me out to resolve this issue.
 
On Wednesday, October 12, 2016 at 7:27:25 AM UTC-4, khuda Bakhsh Rai wrote:
HELLO,
i have written a vhdl code of on chip adc,dac,pga on spartan 3e kit. code is working good.but when i applied ac input signal at the input then output of dac is clipped. can anyone help me out to resolve this issue.

Either cut down the AC input signal voltage or increase the reference voltage. In short, verify that the input signal stays within the range that it is supposed to.

In the future, you might also want to post to a forum that is more relevant to your problem.

Kevin Jennings
 
On 10/12/2016 11:46 AM, KJ wrote:
On Wednesday, October 12, 2016 at 7:27:25 AM UTC-4, khuda Bakhsh Rai wrote:
HELLO,
i have written a vhdl code of on chip adc,dac,pga on spartan 3e kit. code is working good.but when i applied ac input signal at the input then output of dac is clipped. can anyone help me out to resolve this issue.

Either cut down the AC input signal voltage or increase the reference voltage. In short, verify that the input signal stays within the range that it is supposed to.

In the future, you might also want to post to a forum that is more relevant to your problem.

What's wrong with this group? What group should he post in?

--

Rick C
 
W dniu środa, 12 października 2016 13:27:25 UTC+2 użytkownik khuda Bakhsh Rai napisał:
HELLO,
i have written a vhdl code of on chip adc,dac,pga on spartan 3e kit. code is working good.but when i applied ac input signal at the input then output of dac is clipped. can anyone help me out to resolve this issue.

Without the details about the AC signal,DAC and your code, nobody could be able to help you in this matter here.
 
khuda Bakhsh Rai:
HELLO,
i have written a vhdl code of on chip adc,dac,pga on spartan 3e kit.
code is working good.but when i applied ac input signal at the input
then output of dac is clipped. can anyone help me out to resolve this
issue.

You don't explain enough to help except in the most general terms.

Your DAC might be clipping because the digital signal is clipped or your
power supplies are at fault.
Mod your vhdl to make ramp driving the DAC from max to min and see what
that looks like - if good then your signal from the ADC must be
clipped.
Check that max adc signal is OK for the DAC.
Add some more test code to capture the maximum and minium digital codes
from the ADC (I often use a UART implemneted on the FPGA for this) -
then drive the ADC with signals.

Next time design your FPGA with test modes built in from the outset. I
pretty much never have an ADC without there also being a test mode
where I can substitute patterns for its data.

MK
 

Welcome to EDABoard.com

Sponsor

Back
Top