llrry
Junior Member level 2
It happened that recently I was bothered by a data acquisition problem.
I have a system base on one DSP.
and one FPGA implement 4 PWM channel and an ADC controller.
To test the ADC controller, I use 1 PWM channel to generate sinwave
and force the output to ADC input , and output the readed data to another PWM channel to observe.
Data exchange is controlled by DSP through FPGA.
My problem is very strange.
sometime there is no problem, but sometime the output contains many error.
Error is not like a sampling noise, compare the PWM source and target output:
follow well-->stop follow and hold /or jump and hold for a pretty long period-->and follow again.
But if I simply change the DSP operation clock, I never see the problem
happens.(I'm not sure it dissappears but the probability is much lower).
HOW do you think about my problem?
I have a system base on one DSP.
and one FPGA implement 4 PWM channel and an ADC controller.
To test the ADC controller, I use 1 PWM channel to generate sinwave
and force the output to ADC input , and output the readed data to another PWM channel to observe.
Data exchange is controlled by DSP through FPGA.
My problem is very strange.
sometime there is no problem, but sometime the output contains many error.
Error is not like a sampling noise, compare the PWM source and target output:
follow well-->stop follow and hold /or jump and hold for a pretty long period-->and follow again.
But if I simply change the DSP operation clock, I never see the problem
happens.(I'm not sure it dissappears but the probability is much lower).
HOW do you think about my problem?