Other Parts Discussed in Thread: , TAS2563
Hello,
I am trying to determine exactly what must be programmed onto a TAS2559 chip in a baremetal environment in order to bring it up and how that programming is to be done. I am using PPC3 to characterize the speaker I will be using and I have gone through the End System Integration process to generate the required files, but I cannot identify how to use these files in the correct manner.
The application in which the TAS2559 will operate consists of an STM32 baremetal MCU that will communicate with the TAS2559 over I2C and a speaker that has been characterized within PPC3. I need to run the TAS in "Smart Amp Mode" to support the large characteristic file; I assume that "Smart Amp Mode" and "RAM Mode" are the same thing:
Generation in RAM Mode produces the following files:
I don't know what I'm supposed to do with any of these files. Per the PPC3 & TAS2559 documentation, these .cfg files contain I2C programming instructions in the scripting language specified within the PPC3 User Manual, but how do I use them? I can copy-paste the contents of the .cfg files into the I2C comms box in PPC3, but outside of PPC3 they do not seem very useful. Do I have to transfer a specific file to the TAS in some way? Or are the .cfg files only relevant within PPC3? In that case, do I have to use the .bin or .json file somehow?
Furthermore, none of the .cfg files are themselves sufficient to enable audio output on the TAS2559EVM eval board. I've tried following the programming guides in the TAS2559 manual to append enable instructions to the .cfg files, but that has not worked. The only way I can get audio out of the eval board is to either perform the System Checks routine in PPC3 (which causes audio output during the "Checking audio playback and record for Device A..." stage) or by pressing the Tuning and Audio Processing button and letting PPC3 run its own .cfg files. I have tried to use the I2C log to compare the instructions in my generated .cfg files with the instructions sent by PPC3 during either of these automated processes, but there are too many references to register pages and books that have no documentation for me to identify what's going on.
To summarize, I am looking to simply program the generated files for my characterized speaker onto the TAS2559 in a baremetal, non-Android/Linux environment that cannot take advantage of the Android drivers that have been posted on other forum pages. Help is greatly appreciated - thank you in advance!