Skip to main content
achourwissem
Associate III
August 22, 2013
Question

stm32f4 Signal generation

  • August 22, 2013
  • 6 replies
  • 1324 views
Posted on August 22, 2013 at 11:12

hello

i tried the DAC_SignalsGeneration st exemple and i hear nothing , my clock config and all are so fine, so  anyone could give me a simple working code to hear any signal ? and thnx :)
    This topic has been closed for replies.

    6 replies

    ran2
    Associate II
    August 22, 2013
    Posted on August 22, 2013 at 12:52

    It works fine on my board. Did you press the user button?

    frankmeyer9
    Associate III
    August 22, 2013
    Posted on August 22, 2013 at 14:36

    ... and i hear nothing , ...

     

    What do you expect to hear ?

    The DAC has an output impedance of about 1 Megaohm w/o buffer amp., and 15 kOhm with amp. That is hardly enough to drive anything passive that creates audible sound.

    Use a scope as clive suggested, or attach an appropriate amplifier circuit.

    achourwissem
    Associate III
    August 22, 2013
    Posted on August 22, 2013 at 14:48

    thank you so much

    anyway that appropriate amplifier circuit could make it audible ? if yes then plz provide me any schématics for that amplifier and thnx
    Tesla DeLorean
    Guru
    August 22, 2013
    Posted on August 22, 2013 at 16:03

    I don't want to wade into this too deeply, but doesn't the F4-Discovery have some of this routed through the codec to the audio jack? I guess you'd want to look at the schematic and demo code to see how that's done, and programmed. May be there are some blog, tutorial or videos on doing it?

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    achourwissem
    Associate III
    August 23, 2013
    Posted on August 23, 2013 at 10:03

    okay thank you all for advices :)