2021-10-24 12:02 PM
Hi
I'm a newbie in real time DSP. I got my STM32H725G-DK and super excited for it.
I imported the "passthrough" to the IDE (STM32CubeIDE) and program the board.
As instructed, I connected the blue jack (LINE IN) to a sig. gen. generating a sinusoid at 10 kHz using Analog Discovery 2 (AD2) using a TRS-2-RCA (BNC) . Then, I connected the green jack (LINE OUT) to the scope (AD2) using a TRS-2-RCA (BNC).
The on-board display does not show the spectrum of the input sinusoid as expected.
The scope channel connected to the green jack (line out) does not show a good sinusoid.
Blue is the input to the STM32H735 and the yellow is the one at the output of the board.
When, the frequency of the sinusoid decreses, e.g., 1kHz, the waveform at the output becomes a rectangular waveform?!?!
Here are some quantities that are good to know about the setup:
Any insight/solution to resolve this issue is very much obliged.
2021-10-24 10:16 PM
As first your out is 10x then seems your signals on output overdrive amplifier = rectangle.
As second your ADC setup create LPF and 10kHz is overband. Try correct ADC sample time.