[SOLVED] PT8211 to PAM8403 amplifier connection
victor_pv Tue Mar 20, 2018 4:13 pm
The solution in this post works fine:
http://stm32duino.com/viewtopic.php?f=1 … 766#p42769
If you don’t have a 10K pot at hand, you can replace with a couple of resistors, or with a single 2k to 10k resistor to ground and connect the PAM input to the common point between the 2 caps and the resistor.
=================================================
I’m not an expert in audio but wanted to connect a PT8211 DAC to a PAM8403 amplier:
PMA8403 amplifier
I tested sending square and sine waves to the PT8211. The PT takes int16 (complement 2) and anything over the rage of +-5 seems to be too much, and I get increasing noise.
I tried a direct connection, then a connection adding a 47uF cap, but seems like the PT8211 output is too high for the PAM8403 and I get more noise than anything else as the volume increases just a bit in the PT8211.
I tested adding a 100ohm serial resistor, and didn’t change much.
Anyone has experience with either and can recommend resistor values, RC network, or something else that worked for them?
P.S. I got the Helix mp3 player working in the new bluepillF4, with an F103RCT6 MCU, but sadly I can barely hear it over the noise since it seems the output is too high for the PAM and is clamping.
Takes some 40KB of RAM between buffers and what not, but I think it can be optimized further.
