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.

TAS2764EVM: How to check TAS2764 speaker, open, short resistance(load diagnosis mode)?

Part Number: TAS2764EVM
Other Parts Discussed in Thread: TAS2764

Hi

How to check TAS2764 speaker resistance, open resistance, short resistance(load diagnosis mode)

I am using TAS2764 EVM

I am reading the values of LDG_RES1~4, but it is difficult to distinguish the resistance value when connecting an open, short, or speaker.

What value should be read in case of open, short, speaker (8 ohm)

When diagnosing the load, the settings are as follows.
page 0
0x02(MODE_CTRL) : ISNS_PD active, VSNS_PD active, MODE: 100(standard diagnostics)
0x19(DG_0) : DG_CLK internal or external, DG_SIG 0E(programmable DC)
0x04(DC_BLK0) : HPF_FREQ_PB disable
0x05(DC_BLK1) : HPF_FREQ_REC disable
0x65 (MISC_CFG4): LDG_CLK is changed to 0 or 1, LDG_IVSNS_AVG is changed from 2ms to 50ms

page4
DG_DC_VAL1~4 : 40 26 40 00 (idle value)
I set LDG_RES_LT to 200ohm and LDG_RES_UT to 1900ohm.

When reading the value, write 100b to the register of MODE (2:0) at address 0x02 (Standalone Load Diagnostic, after completion these bits are self reset to 010b), and read 0x4a~0x4d of page 4.
Repeat the above process several times.

When the value is read and converted to a resistance value, it comes out randomly between 200 ohm and 2100 ohm

I'd appreciate it if you could point out something wrong

  • Hi Taejin,

    In order to run the speaker diagnostics, you may first initialize TAS2764 as you normally do, then write 0x04 into register 0x02 in page 0, then read registers 0x4C through 0x4f from page 4.
    I used PPC3 to dump the initialization and append the diagnostic sequence at the end of the script below:

    w 70 00 00 
    w 70 7f 00 
    w 70 00 00 
    w 70 02 01 
    d 06 
    w 70 00 00 
    w 70 7f 00 
    w 70 00 fd 
    w 70 64 04 
    w 70 00 00 
    w 70 7f 00 
    w 70 00 00 
    w 70 02 02 
    d 01 
    w 70 00 00 
    w 70 7f 00 
    w 70 00 fd 
    w 70 64 00 
    i i2cfast 
    w 40 03 00 
    w 40 01 80 
    w 70 00 00 
    w 70 7f 00 
    w 70 00 00 
    w 70 01 01 
    d 01 
    w 70 00 00 
    w 70 7f 00 
    w 70 00 00 
    w 70 02 02 
    w 70 08 09 
    w 70 09 02 
    w 70 0a 0a 
    w 70 0d 03 
    w 70 10 04 
    w 70 12 06 
    w 70 16 12 
    w 70 3b fc 
    w 70 3c be 
    w 70 3d df 
    w 70 40 f6 
    w 70 41 00 
    w 70 5c 19 
    w 70 5d 80 
    w 70 60 21 
    w 70 00 00 
    w 70 7f 00 
    w 70 00 00 
    w 70 0a 0a 
    w 70 0c 10 
    w 70 0e 02 
    w 70 0f 00 
    w 70 10 04 
    w 70 11 05 
    w 70 12 06 
    w 70 13 08 
    w 70 14 0a 
    w 70 16 12 
    w 70 00 00 
    w 70 7f 00 
    w 70 00 00 
    w 70 02 1a 
    w 70 03 28 
    w 70 04 21 
    w 70 05 41 
    w 70 06 00 
    w 70 07 20 
    w 70 08 09 
    w 70 09 02 
    w 70 0b 80 
    w 70 0d 03 
    w 70 15 00 
    w 70 19 0d 
    w 70 1a 00 
    w 70 1b 22 
    w 70 1c 32 
    w 70 1d 40 
    w 70 1e 32 
    w 70 1f 02 
    w 70 20 06 
    w 70 21 2c 
    w 70 22 00 
    w 70 23 30 
    w 70 24 02 
    w 70 25 06 
    w 70 26 32 
    w 70 27 00 
    w 70 28 30 
    w 70 29 02 
    w 70 2a 06 
    w 70 2b 38 
    w 70 2c 00 
    w 70 2d 30 
    w 70 2e 02 
    w 70 2f 06 
    w 70 30 3e 
    w 70 31 00 
    w 70 32 30 
    w 70 34 c6 
    w 70 35 bd 
    w 70 36 ad 
    w 70 37 a8 
    w 70 38 03 
    w 70 39 ff 
    w 70 3a ff 
    w 70 63 48 
    w 70 67 03 
    w 70 6a 12 
    w 70 6b 01 
    w 70 00 00 
    w 70 7f 00 
    w 70 00 01 
    w 70 19 40 
    w 70 3d 00 
    w 70 3e 00 
    w 70 3f 00 
    w 70 40 00 
    w 70 41 00 
    w 70 42 00 
    w 70 43 00 
    w 70 44 00 
    w 70 45 00 
    w 70 00 00
    w 70 7f 00
    w 70 00 04
    w 70 0c 68 00 00 00 
    w 70 00 00
    w 70 7f 00
    w 70 00 04
    w 70 10 28 00 00 00 
    w 70 00 00
    w 70 7f 00
    w 70 00 04
    w 70 14 56 66 66 66 
    w 70 00 00
    w 70 7f 00
    w 70 00 04
    w 70 18 10 00 00 00 
    w 70 00 00
    w 70 7f 00
    w 70 00 04
    w 70 48 6c cc cc cd 
    w 70 00 00
    w 70 7f 00
    w 70 00 04
    w 70 28 39 80 00 00 
    w 70 00 00
    w 70 7f 00
    w 70 00 04
    w 70 24 04 08 89 0f 
    w 70 00 00
    w 70 7f 00
    w 70 00 04
    w 70 1c 00 00 64 00 
    w 70 00 00
    w 70 7f 00
    w 70 00 04
    w 70 20 40 bd b7 c0 
    w 70 00 00
    w 70 7f 00
    w 70 00 04
    w 70 2c 2d 6a 86 6f 
    w 70 00 00
    w 70 7f 00
    w 70 00 00
    w 70 6c 00 00 1a 
    w 70 00 00
    w 70 7f 00
    w 70 00 00
    w 70 6f 00 96 
    w 70 00 00 
    w 70 7f 00 
    w 70 00 00 
    w 70 04 21 
    w 70 0d 03 
    w 70 38 03 
    w 70 00 00 
    w 70 7f 00 
    w 70 00 00 
    w 70 5c 19 
    w 70 00 00 
    w 70 7f 00 
    w 70 00 00 
    w 70 02 1a 
    w 70 19 0d 
    w 70 00 00
    w 70 7f 00
    w 70 00 04
    w 70 08 40 26 e7 3d 
    
    #RUN DIAGNOSTIC
    
    w 70 00 00
    w 70 02 04
    w 70 00 04
    r 70 4c 04
    w 70 00 00

    From my tests, I read 00 8f ef, which after applying this formula (14/3.75)*(HEX2DEC(008fef)/2^14) results in 8.396126.

    Best regards,
    -Ivan Salazar
    Applications Engineer

  • I use the script you gave me, so it's a distinction.
    I have a question.
    There are registers that show r/w in the script but not in the datasheet.
    w 70 00 fd # page 253?
    w 70 64 04 # register not in datasheet

    Some registers setting I don't understand.
    1. w 70 00 fd (page 253?)
    2. i i2cfast
       w 40 03 00
       w 40 01 80

    can I know what it means

    thanks for the support

  • Hi Taejin,

    These commands in page 253 are used as part of the recommended initialization sequence in order to get the best performance. These are reserved registers, so the detailed information is not available publicly. We just recommend following the commands included in PPC3 itself.

    Best regards,
    -Ivan Salazar
    Applications Engineer