cancel
Showing results for 
Search instead for 
Did you mean: 

Hello,I use microphone and When I talk I get the data from microphone to eeprom.I want to playback to speaker from eeprom .I think,I have to produce analog signal.But I shouldn't use DAC .How can I produce Analog signal without DAC in stm32 ?

Ocebe.1
Associate III
 
4 REPLIES 4
MM..1
Chief III

PWM

Ocebe.1
Associate III

How can I change PWM'S amplitude?

Ocebe.1
Associate III

In the PWM ,I can change duty cycle and frequency but I think ,I have to change amplitude

MM..1
Chief III

Pulse-width modulation - Wikipedia

Or simply use high pwm freq and add to pin properly calculated RC and you get analog wave. For speaker drive you need add an amplifier next.