Author Topic: STM32: How can I go about outputting audio to a speaker?  (Read 13706 times)

0 Members and 1 Guest are viewing this topic.

Online AndyC_772

  • Super Contributor
  • ***
  • Posts: 4337
  • Country: gb
  • Professional design engineer
    • Cawte Engineering | Reliable Electronics
Re: STM32: How can I go about outputting audio to a speaker?
« Reply #25 on: June 03, 2021, 05:44:12 pm »
How were you able to tell it was signed from the scope?

In a word, experience. I've seen this bug before.

Look closely at the shape of the waveform. It has very distinct upper and lower limits, and it spends most of the time close to one or the other of them. This is exactly what happens during quiet periods, which would correctly have values 0x8000 +/- some small value 'a', but instead end up taking values that are within 'a' of either 0x0000 or 0xffff.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf