cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f4 Signal generation

achourwissem
Associate II
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 :)
6 REPLIES 6
ran2
Associate III
Posted on August 22, 2013 at 12:52

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

frankmeyer9
Associate II
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 II
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
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
Up vote any posts that you find helpful, it shows what's working..
achourwissem
Associate II
Posted on August 23, 2013 at 10:03

okay thank you all for advices :)