Hi,
I would like to gather up some information about this device protection in one place.
Our TAS2505 and TAS2505-Q1 devices feature protection scheme against situations like:
- Overcurrent / Short Circuit
- Class-D driver protection disables the output automatically when a short occurs. Bit 1 from register 45 on page 1 is reset to 0 when this happens.
- Headphone driver protection has two modes of operation that can be selected using bit 1 from register 11 on page 1:
- bit 1 = 0, the device limits the output current when short is present.
- bit 1 = 1, the device disables the headphone driver when short is present.
- Overtemperature
- The device is automatically disabled when overheating occurs, and it comes back to operation once the temperature is back to normal.
- There is a flag in bit 7 from register 45 on page 0 that is set to 1 when overtemperature protection is triggered.
In addition to that, there are live and sticky flags that can be used to notify when some of these situations occur:
- DAC Overflow:
- bit 7 from register 42 on page 0 is the sticky flag for this event
- bit 7 from register 43 on page 0 is the live flag for this event
- Headphone overcurrent:
- bit 7 from register 44 on page 0 is the sticky flag for this event
- bit 7 from register 46 on page 0 is the live flag for this even
The live flags can be configured to trigger interrupts INT1 and INT2, which can as well be configured to output on GPIO pin:
- INT1 is configured by register 48 from page 0:
- Bit 3 configures Headphone overcurrent event to trigger INT1
- Bit 2 configures DAC Overflow event to trigger INT1
- INT2 is configured by register 49 from page 0:
- Bit 3 configures Headphone overcurrent event to trigger INT2
- Bit 2 configures DAC Overflow event to trigger INT2
Below you can find an example I2C command sequence to configure GPIO as INT1 which is triggered by DAC Overflow live flag, you can append this at the end of your device configuration script:
# Page switch to Page 0
w 30 00 00
# Configure INT1 for DAC Overflow and repeated pulses
w 30 30 05
# Configure GPIO as INT1 output
w 30 34 14
Please take a look at our Applications Reference Guide and Diagnostics technical notes for further information. If you have any questions you can search for it on e2e Audio forum or post a new thread if you don't find the answer.
I hope this helps on your ongoing or future applications with TAS2505 and TAS2505-Q1
Best regards,
-Ivan Salazar
Applications Engineer - Low Power Audio & Actuators