Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 9 months ago.
I'm confused by the attenuation calculations
Hi Dan,
I'm using the TDA7419 in a project (and also the TDA7718 in another) and found your code. Thanks for supplying that!
I'm totally confused by the datasheet values in Table 11 Volume, etc Attenuation. The 0 to 15 dB values make sense, but the -0 to -79 ones don't. I.e. -17 would be the same binary value as -1 (because they're using D4 as the sign bit). I'm not sure but your code comment mentions a different table for that stuff, for 13-18 (i.e. your code looks like it's referencing either an older datasheet, or some other chip, like the TDA7718 which has a table for 13-18). How did you figure this out?
Thanks! -Mike