ZHCSJB4D April 2019 – January 2024 TAS2563
PRODUCTION DATA
The TAS2563 monitors battery voltage (VBAT) and the class-D voltage (PVDD) along with the audio signal to automatically decrease gain when the audio signal peaks exceed a programmable threshold. This helps prevent clipping and extends playback time through end of charge battery conditions. The limiters threshold can be configured to track the monitored voltage below a programmable inflection point with a programmable slope. A minimum threshold sets the limit of threshold reduction from the voltage tracking. Configurable attack rate, hold time and release rate are provided to shape the dynamic response of each limiter. The total attenuation is the sum of both the VBAT and PVDD limiter. If the ICLA is enabled the actual attenuation is based on the ICLA configuration using the calculated attenuation value of all devices on the selected ICLA bus.
A Brown Out Prevention (BOP) feature provides a priority input to provide a very fast response to transient dips in the battery supply (VBAT) which at end of charge conditions that can cause system level brown out. When the selected supply dips below the brown-out threshold the BOP will begin reducing gain with an first attack latency of less than 10 µs and a configurable attack rate. When the VBAT supply rises above the brownout threshold, the BOP will begin to release after the programmed hold time. During a BOP event the limiter updates will be paused. This is to prevent a limiter from releasing during a BOP event. The VBAT and PVDD limiters are enabled by setting the respective LIMB_EN and LIMP_EN bits high.
LIMB_EN | VALUE |
---|---|
| Disabled (default) |
| Enabled |
LIMP_EN | VALUE |
---|---|
| Disabled (default) |
| Enabled |
The limiters have configurable attack rates, hold times and release rates, which are available via the LIMB_ATK_RT[2:0], LIMB_HLD_TM[2:0], LIMB_RLS_RT[2:0] register bits respectively for VBAT and LIMP_ATK_RT[2:0], LIMP_HLD_TM[2:0], LIMP_RLS_RT[2:0] register bits respectively for PVDD . The limiters attack and release step sizes can be set by configuring the LIMB_ATK_ST[1:0] and LIMB_RLS_ST[1:0] register bits respectively for VBAT and LIMP_ATK_ST[1:0] and LIMP_RLS_ST[1:0] register bits respectively for PVDD. For sampling rates less that 44.1kHz and greater than 8 kHz the minimum attack rate is 20µs and for sampling rates of 8kHz or less the minimum attack rate is 40µs.
A maximum level of attenuation applied by the limiters and brown out prevention feature is configurable via the LIM_MAX_ATN register. This attenuation limit is shared between the features. For instance, if the maximum attenuation is set to 6 dB and the limiters have reduced gain by 4 dB, the brown out prevention feature will only be able to reduce the gain further by another 2 dB. If the limiter or brown out prevention feature is attacking and it reaches the maximum attenuation, gain will not be reduced any further.
The limiter max attenuation LIM_MAX_ATN represent the limit in a 1.X format. To calculate the value to write to the 4 registers by apply the following formula to the desired dB using equation LIMB_MAX_ATN = round(10^(-dB/20)*2^31).
LIM_MAX_ATN[31:0] | ATTENUATION (dB) |
---|---|
| -1 |
| ... |
| -9 (default) |
| ... |
| -16.5 |
The limiter begins reducing gain when the output signal level is greater than the limiter threshold. The limiter can be configured to track selected supply below a programmable inflection point with a minimum threshold value. Figure 7-15 below shows the limiter configured to limit to a constant level regardless of the selected supply level. To achieve this behavior, set the limiter maximum threshold to the desired level using LIM_TH_MAX. Set the limiter inflection point using LIM_INF_PT below the minimum allowable supply setting. The limiter minimum threshold register LIM_TH_MIN does not impact limiter behavior in this use case.
The VBAT limiter threshold max LIMB_TH_MAX and min LIMB_TH_MIN registers represent the limit in a 5.X format. To calculate the value to write to the 4 registers by apply the following formula to the desired threshold voltage using the equation LIMB_TH_MAX or LIMB_TH_MIN = round(Volts*2^27).
LIMB_TH_MAX[31:0] | THRESHOLD (V) |
---|---|
| 2.5 |
| ... |
| 9 (default) |
| ... |
| 15.5 |
LIMB_TH_MIN[31:0] | THRESHOLD (V) |
---|---|
| 2.5 |
| ... |
| 4 (default) |
| ... |
| 15.5 |
The VBAT limiter inflection point LIMB_INF_PT represent the limit in a 5.X format. To calculate the value to write to the 4 registers by apply the following formula to the desired infection voltage using the equation LIMB_INF_PT = round(Volts*2^27).
LIMB_INF_PT[31:0] | THRESHOLD (V) |
---|---|
| 2 |
| ... |
| 3.3 (default) |
| ... |
| 6 |
Figure 7-16 shows how to configure the limiter to track selected supply below a threshold without a minimum threshold. Set the LIM_TH_MAX register to the desired threshold and LIM_INF_PT register to the desired inflection point where the limiter will begin reducing the threshold with the selected supply. The default value of 1 V/V will reduce the threshold 1 V for every 1 V of drop in the supply voltage. More aggressive tracking slopes can be programmed if desired. Program the LIM_TH_MIN below the minimum the selected supply to prevent the limiter from having a minimum threshold reduction when tracking the selected supply.
The VBAT limiter tracking slope LIMB_SLOPE[31:0] represent the limit in a 5.X format. To calculate the value to write to the 4 registers by apply the following formula to the desired infection voltage using equation LIMB_SLOPE = round(slope(V/V)*2^27)
To achieve a limiter that tracks the selected supply below a threshold, configure the limiter as explained in the previous example, except program the LIM_TH_MIN register to the desired minimum threshold. This is shown in Figure 7-17 below.
The TAS2563 also employs a Brown Out Prevention (BOP) feature that serves as a low latency priority input to the limiter engine that begins attacking the VBAT supply dipping below the programmed BOP threshold. This feature can be enabled by setting the BOP_EN register bit high. It should be noted that the BOP feature is independent of the limiter and will function if enabled, even if the limiter is disabled. The BOP threshold is configured by setting the threshold with register bits BOP_TH.
BOP_EN | VALUE |
---|---|
| Disabled |
| Enabled (default) |
The Brownout prevention threshold BOP_TH represent a threshold in a 5.X format. To calculate the value to write to the 4 registers by apply the following formula to the desired brownout threshold using equation BOP_TH = round(Volts*2^27).
BOP_TH[31:0] | VBAT THRESHOLD (V) |
---|---|
| Reserved |
| 2.5 |
| ... |
| 2.9 (default) |
| ... |
| 4 |
| Reserved |
The BOP feature has a separate attack rate BOP_ATK_RT, attack step size BOP_ATK_ST and hold time BOP_HLD_TM from the battery tracking limiter. The BOP feature uses the LIMB_RLS_RT register setting to release after a brown out event. The rates are based on the number of audio samples and actual time values can be calculated by multiplying by 1/fs. For example the attack rate of 4 samples at 48 ksps would be approximately 83 µs.
BOP_ATK_RT[2:0] | ATTACK RATE (samples/step) | ATTACK RATE @ 48 ksps (~µs) |
---|---|---|
| 1 | 20 |
| 2 | 42 |
| 4 | 83 |
| 8 | 167 |
| 16 | 333 |
| 32 | 666 |
| 64 | 1300 |
| 128 | 2700 |
BOP_ATK_ST[1:0] | STEP SIZE (dB) |
---|---|
| 0.5 |
| 1 (default) |
| 1.5 |
| 2 |
BOP_HLD_TM[2:0] | HOLD TIME (ms) |
---|---|
| 0 |
| 10 |
| 25 |
| 50 |
| 100 |
| 250 |
| 500 (default) |
| 1000 |
The TAS2563 can also shutdown the device when a brown out event occurs if the BOP_MUTE register bit is set high. For the device to continue playing audio again, the device must transition through a SW/HW shutdown state. Setting the BOP_INF_HLD high will cause the limiter to stay in the hold state (i.e. never release) after a cleared brown out event until either the device transitions through a mute or SW/HW shutdown state or the register bit BOP_HLD_CLR is written to a high value (which will cause the device to exit the hold state and begin releasing). This bit is self clearing and will always readback low. Figure 7-18 below illustrates the entering and exiting from a brown out event.
BOP_MUTE | VALUE |
---|---|
| Don't Shutdown (default) |
| Mute then shutdown |
BOP_INF_HLD | VALUE |
---|---|
| Use BOP_HLD_TM after Brown Out event (default) |
| Do not release until BOP_HLD_CLR is asserted high |
BOP_HLD_CLR | VALUE |
---|---|
| Don't clear (default) |
| Clear event (self clearing) |
A hard brownout level can be set to shutdown the TAS2563 if the BOP cannot mitigate the drop in battery voltage VBAT. This will shutdown the device and should not be used if the BOP_MUTE is enable. The brownout shutdown will only function if brownout engine is enabled using BOP_EN.
BOSD_EN | VALUE |
---|---|
| Disabled (default) |
| Enabled |
The Brownout prevention shutdown threshold BOSD_TH represent a threshold in a 5.X format. To calculate the value to write to the 4 registers by apply the following formula to the desired brownout threshold using equation BOSD_TH = round(Volts*2^27).
BOSD_TH[31:0] | VBAT THRESHOLD (V) |
---|---|
| 2.5 |
| ... |
| 2.7 (default) |
| ... |
| 3.99 |