Hello,
First post in these forums! Professionally I’m a software engineer that recently got an interest in electronics. It’s one of my favorite hobbies right now.
The project I’m working on is a stereo mp3 (codec mentioned as an example here) player using an Arduino giga r1 , some decent full range loudspeakers and some amp module I got.
In fact I have two different amp PCBs with the following ICs:
- PAM8610
- TPA3116D2
Both are stereo amps that have two input pins, one for the left channel and one for the ground (along with other pins like ground, Vcc, output and so on). I believe the input should be the analog output from arduino’s DAC pin(s). Some confusion here since both of these have “digital” in their marketing pages which I don’t really understand what it means. Anyway, what I don’t fully understand is how to get (if feasible of course) true stereo output from the giga r1. The way I understand it is that each of the two DAC pins should output an audio channel, is this assumption correct ?
Moreover, if my assumption is correct, how can I synchronize the two outputs ? Should I use both cores, one for each channel so that output happens at the same time or there’s some other synchronization mechanism I’m missing here ?
Thanks for your time and help!