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.

TAS2560: Need TAS2560 Example CFG to Send IRQ# and Error Flags on Clock Error

Part Number: TAS2560


Hi Sirs,

Would you please provide an example CFG to program the TAS2560 to send an IRQ# (either active high or low is fine) and assert error flags on CLK error of I2S ASI-1? 
Should we program the registers of 0x21, 0x22, 0x23, 0x4f and 0x50?

Thank you and Best regards,

Wayne Chen
12/03/2020

  • Hi, Wayne,

    Our team will take a look at this and will provide an answer as soon as possible.

    Best regards,
    Luis Fernando Rodríguez S.

  • Hi Wayne,

    You're correct on the required registers to configure:

    • You should set bit 1 from register 0x21 to enable clock error detection block 1
    • Register 0x23 can be left with default values
    • You can use bits 7-6 from register 0x24 to select the kind of notification on IRQ pin you want to get, 1 short pulse, repetitive pulses or steady signal
    • You should set the mask for the desired interrupts to trigger IRQ pin on register 0x25, in this case you want to set bit 2

    Best regards,
    -Ivan Salazar
    Applications Engineer - Low Power Audio & Actautors

  • Thank you for your advise, Ivan. It works on the TAS2560 EVM:

    w 98 00 00
    w 98 7f 00
    w 98 21 03
    w 98 25 ff

    Polling 0x26:

    r 98 26 01 -> returned 0x02 = normal operation
    r 98 26 01 -> returned 0x22 = CLK error

    Thank you and Best regards,

    Wayne Chen
    12/07/2020