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.

TAS5825MEVM: How to read TAS5825M digital gain via i2c?

Part Number: TAS5825MEVM

Tool/software:

Hi,

I am a beginner programmer.

I have finished writing the digital gain as below.

I need to read it in reverse. How can I do that?

Are there any related documents?

Can I just change w98 to r99?

Do I need to read the book and pages? I just want to read the gain values.

w 98 00 00
w 98 7f 8c
w 98 00 0b
w 98 0c 00 80 00 00
w 98 00 00
w 98 7f 8c
w 98 00 0b
w 98 10 00 80 00 00

w 98 0c 00 80 00 00 :I just read this register. The result is wrong.

  • hi, below code can help you read those values.

    w 98 00 00 #start to switch book
    w 98 7f 8c # switch to book8c
    w 98 00 0b # switch to page0b
    r 98 0c 04 # read 4 registers' value from 0c
    r 98 10 04 # read 4 registers' value from 0c

    please refer

    thank

    jesse