This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TAS5825PEVM: Hybrid PWM mode does not work when using header file generated by Pure Path Console

Part Number: TAS5825PEVM
Other Parts Discussed in Thread: TAS5825P

I am attempting to do end system integration with a TAS5825P design using the exported header file from Pure Path Console and am running into a problem where the dumped config file does not seem to work properly.

I can connect the EVM to my prototype board, communicate to the on board TAS5825P and configure it properly. When done this way I can observe that the Hybrid PWM mode is operating correctly; I can see PVDD being modulated when needed and the power consumption drops.

When I dump the settings to a configuration file and have the application MCU load the settings the amplifier works and plays audio but the Hybrid PWM mode does not work correctly. The boost amplifier swings up to the max PVDD setting (16V) and just stays there.

I've used a logic analyzer to observe that the implementation of the I2C drivers appears correct and that the MCU is outputting the correct I2C commands according to the contents of the dump file. The delays are all correct and the values all match what is defined in the dumped file.

Is there anyway to inspect the dumped header file to verify it's been generated properly? I would really like to have this process flow work where we can export settings direct from Pure Path Console into our MCU firmware but it seems I'm going to have to manually go through the sniffed, "correct" implementation in order to figure out the proper initialization sequence which really makes using this device unattractive. 

  • Hello Michael,

    What dump mode are you using the current state should have all the register configurations for the process flow you configure, there should be no issue with the end system integration. Make sure you select current state, or you can pick a Snapshot using the camera icon in the top of PPC3 and select a Snapshot dump in PPC3.

    We've had multiple customers use PPC3 for register development so we are not aware of any issues with it.

    Best regards,

    Luis

  • Hi Luis,

    I've tried both "current state" and "snapshot" when I took a snapshot of the Tuning and Audio Processing page when Hybrid-Pro was enabled and ended up with identical header files.

    I also tried exporting with burst mode of 4 and got the same results as .

    I'm at a loss to where to start troubleshooting. On the logic analyzer I can see the first and last dozen or so bytes of data from the MCU match what is in the dumped file so I assume the rest of the transmission is as expected. Normally I would read back the registers for the setting in question to confirm they were set properly but without the full register description I don't know which registers to look at. 

    Is there a specific dump mode that other people have used successfully that I could focus on? Would it be helpful to share any of the dumped header files or .ppc3 file? 

    Thanks,

    -Mike

  • Michael,

    Luis is heavily out of bandwidth last Friday. He will able to follow up on this at Monday time.

    Dylan

  • Hi Dylan,

    No worries, I understand this is a very open ended problem. Thanks for the update.

  • Hey Michael,

    Can you reinstall the PPC3 app. Also, could you provide the PPC3 file that you are using to generate your CFG file.

    best regards,

    Luis

  • Thanks Luis,

    I just uninstalled and updated to 3.2.1, created a new project, took a snapshot of the settings I wanted and exported a header file based on the snapshot. Still not seeing the hybrid PWM output and corresponding reduction in power consumption.

    I'm copy/pasting the defined cfg_reg registers struct into my source code and compiling it that way. I assume this is a valid method to implement the settings?

    Is there a way I can email or DM you the project file? It won't let me attach it here.

    base.h

  • Hello Michael,

    We take this this thread offline and I can email you to follow up on this support case so you can send the files. but I will be closing the e2e thread

    best regards,

    Luis