Hello,
I am looking for assistance in choosing appropriate passive component values for use with the TPA6138A2. I will be generating two 0-3.3V PWM signals via an MCU and wish to produce analog audio signals suitable for listening via headphones (one for each stereo channel). My MCU (an ATmega324A) is able to source up to 10mA, though I would image drawing that much current would likely be ill-advised. It is my understanding that the TPA6138A2 is ideal for PWM -> Analog. I'm aware of the fundamental necessity to ground-bias the PWM signals with AC-coupling capacitors, produce analog signals with LPFs, and amplify the signals. My questions are as follows:
- Can I use the TPA6138A2 for all required stages post PWM generation?
- Which components in Figure 10 of the data sheet correspond to R_IN and R_fb in Table 1, and which components control the LPF.
- What values should be used for the passive components in Figure 10 of the data sheet, assuming single-ended inputs (like those mentioned earlier), a LPF cutoff frequency of 18 kHz, and a variable gain (between 0V/V and a reasonable gain level, to be adjusted via a user controlled digital volume potentiometer)?
Thank you.