Skip to main content
Graduate II
December 27, 2023
Solved

Stm32f429 disc1

  • December 27, 2023
  • 3 replies
  • 1736 views

Hi

Im using Stm32f429 disc1 board internal adc im using the signal generator and giving constant input but the waveform after plotting gives variation for each trail.Screenshot (7).png

    This topic has been closed for replies.
    Best answer by TDK

    The ADC will load the signal to some degree. It acts like a ~50 kOhm load. If your signal generator is in high impedance mode, this will affect the signal. Probably that is the issue.

    Solutions:

    • Use a better signal generator that can drive lower impedance modes.
    • Buffer the signal generator output with a voltage follower or other op-amp solution with high input impedance.

    3 replies

    Super User
    December 27, 2023
    harry123Author
    Graduate II
    December 27, 2023

    The input signal is shifting as soon as I connect to my stm32f429 board 

    Super User
    December 27, 2023

    Add more details here if you want a more specific response. What are the blue and red lines? What are you expecting them to look like and why? What does shifting mean? You say constant input, but your output looks like a wave? How is signal being generated?

    harry123Author
    Graduate II
    December 27, 2023

    1)A sine wave  from the function generator when checked through oscilloscope before and after connecting to input of stm giving me little shift (before converting)

    2)The red and blue line are output waveform after converting the adc sample.

    3)I'm not able to find out where I'm going wrong

    I want a fixed output whenever I measure

    TDKAnswer
    Super User
    December 27, 2023

    The ADC will load the signal to some degree. It acts like a ~50 kOhm load. If your signal generator is in high impedance mode, this will affect the signal. Probably that is the issue.

    Solutions:

    • Use a better signal generator that can drive lower impedance modes.
    • Buffer the signal generator output with a voltage follower or other op-amp solution with high input impedance.