I noticed that the configuration I did is working but the TxBuffer is getting filled very quick. The timer was used to control the speed that the TxBuffer was filled. Thanks
''Is it normal to listen to a background noise with my voice when using the internal ADC?''
The ADC is irrelevant - all electrical signals are subject to noise! And, of course, acoustic signals are also subject to noise! Minimising the noise requires very careful design of the recording environment, the microphone, and the analogue input circuitry. A major source of noise for an internal ADC specifically can be all the other digital circuits in the chip. There is a huge amount of material available in books, on the internet, etc, about low-noise design - including low-noise design specifically for ADC inputs...''I noticed that, even though when there is nothing in the input, the ADC stores something around 2048 (4096/2). Is it normal?'' You haven't given any details at all of your input circuitry to the ADC (or even what particular STM32 part you're using) - so it's impossible to say whether it is to be expected for your particular setup! But remember that an audio signal has both positive and negative excursions - so it would not be unusual to arrange for an ADC to give a ''half-scale'' output at zero...
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Looks like the sounder is a self oscillating device. Just power it by driving the transistor ON. Since the sounder is rated for a 2.5V supply and is connected to a 3.3V supply it's already being overdriven.
I concluded that isn't possible to increase the buzzer volume. It's made to achieve its maximum when oscillating at 2048Hz. In the directory below, there is very clear example about how to change the frequency of the Timer PWM Mode, used with Buzzer. \arm\examples\ST\STM32F10x\stm32f10x_stdperiph_lib\Project\STM32F10x_StdPeriph_Examples\TIM\PWM_Output Now I'm looking for a buzzer which has a good frequency response at the higher audible frequency possible. If you have any suggestions...