TI中文支持网
TI专业的中文技术问题搜集分享网站

TAS5825P: I want to know how the registers in the DSP Memory Map are accessed through I2C?

Part Number:TAS5825P

Hi Ti Team,

1 How to use I2C to access the registers in the picture above? Is it like this?

 { 0x00, 0x00 },
{ 0x7f, 0x8c },
{ 0x00, 0x01 },
{ 0x28, 0x00 },

2 What does NUMBER OF BYTES/ FORMAT mean? How do we use this information?

3 Can you give me an example? AGL is enabled, how do I need to configure the registers?

Kailyn Chen:

1. About  the DSP memory map, as I as I know you will not need to modify the registers dump files  in most cases since the dump files already have all the tuning configurations.

2. Like 1.31,9.23 is the data format, which is defined by us to transfer PPC3's value (in dB) to hexadecimal. 

3. here is  the application notes about "  General Tuning Guide for TAS58xx Family Page13 about AGL setting:

https://www.ti.com/lit/an/slaa894/slaa894.pdf

In addition, please refer to the similar posts to check if it is useful for you:

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/831116/tas5782m-drc-agl-dpeq

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/1033227/tas5825m-difference-between-agl-and-drc-settings-in-ppc3

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/1092035/tas5825p-how-to-switch-between-two-different-pvdd-agl-setting

,

?? ?:

Hi Kallyn,

thank you for your answer.

But I still have a question.

A friend gave me a command to configure TAS5825P audio(VOLUME CONTROL):

w 58 00 00w 58 7f 8cw 58 00 2aw 58 24 00 08 00 00w 58 28 00 08 00 00

But I think this is wrong. According to the manual (as shown below, slaa786a.pdf), it should be like this:

w 58 00 00w 58 7f 8cw 58 00 0bw 58 0c 00 08 00 00w 58 10 00 08 00 00

I want to know, am I right? If it is wrong, please help me write a correct one for my reference. I think this is very helpful to me.

Regards
Dingxin.jin

,

Kailyn Chen:

Hello, 0x0C and 0x10 are  DSP Memory Map for Process Flow 0~4.

While  0x20 and 0x24 are the volume control of DSP Memory Map for Process Flow 6.

,

?? ?:

Thank you for your answer. The process I use is DSP Memory Map for Process Flow 2. Is my previous writing correct?

w 58 00 00w 58 7f 8cw 58 00 0bw 58 0c 00 08 00 00w 58 10 00 08 00 00

Regards
Dingxin.jin

,

Kailyn Chen:

Hello,

I think your configuration is correct  with Process Flow 2.

The differences between your configuration and your friend is the volume register  address and  page.

Page 0x0B

register should be 0x0C and 0X10 as your configuration.

赞(0)
未经允许不得转载:TI中文支持网 » TAS5825P: I want to know how the registers in the DSP Memory Map are accessed through I2C?
分享到: 更多 (0)