SLAAED8 October 2024 TAC5111 , TAC5112 , TAC5211 , TAC5212 , TAC5412-Q1 , TAD5112 , TAD5212
Sustain level interval must not be mistaken for sustain timer interval. Refer to Figure 3-1 to spot the difference. The sustain level parameter is used to configure amplitude after decay time and before release time. Refer to Programmable Register Map for 32-bit ADSR Parameters to determine registers that configure sustain level.
The equation below generates register coefficient for sustain level:
where is the mixing volume coefficient ranging from 0 to 1. Here, 1 correlates to 2Vrms, full-scale. Find an example of the sustain level configuration in ADSR example script.
Parameter Name | Page Address | Register Address | Manual Mode | Continuous Pulse Mode | One Shot | Default Values |
---|---|---|---|---|---|---|
ADSR EN_DIS Note | 1C | 40 | cfg | na | na | 0000 0000 (hex) |
Restart Timer | 1C | 50 | na | cfg | na | 100ms at 48ksps |
Sustain Timer | 1C | 54 | na | cfg | cfg | 10ms at 48ksps |
Attack Timer | 1C | 58 | cfg | cfg | cfg | 2.5ms at 48ksps |
Release Timer | 1C | 5C | cfg | cfg | cfg | 2.5ms at 48ksps |
Decay Timer | 1C | 60 | cfg | cfg | cfg | 0ms at 48ksps |
Sustain Level | 1C | 64 | cfg | cfg | cfg | 0dB |
pwrup_delay | 17 | 74 | na | cfg | na | 100ms at 48ksps |