STM32F4 + amlifier STA508
Posted: Tue Apr 09, 2013 6:55 pm
Hello,
I am doing a program where processing audio signal with sampling frequency of 48 kHz and 24 bit. To amplify sound using digital amplifier STA508. Amplifier has only transistors and input signal to be "PWM". Unfortunately, I don't know how to get such a "PWM" from the processor. PWM doesn't have sufficient resolution or speed. I tried delta sigma modulator together with interpolation filter and FIR. Unfortunately, I don't know what to send out bit by bit from the processor to the amplifier. I tried to SPI but there was a delay between packets during interrupt and thus leads to a large distortion sound. I need still to send bits.
Does anyone have any idea?
Nedoja
I am doing a program where processing audio signal with sampling frequency of 48 kHz and 24 bit. To amplify sound using digital amplifier STA508. Amplifier has only transistors and input signal to be "PWM". Unfortunately, I don't know how to get such a "PWM" from the processor. PWM doesn't have sufficient resolution or speed. I tried delta sigma modulator together with interpolation filter and FIR. Unfortunately, I don't know what to send out bit by bit from the processor to the amplifier. I tried to SPI but there was a delay between packets during interrupt and thus leads to a large distortion sound. I need still to send bits.
Does anyone have any idea?
Nedoja