SLASF43 December 2023 AFE782H1 , AFE882H1
PRODUCTION DATA
Refer to the PDF data sheet for device specific package drawings
The slew rate feature controls the rate at which the output voltage or current changes. This feature is disabled by default and is enabled by writing a logic 1 to the DAC_CFG.SR_EN bit. With the slew rate control feature disabled, the output changes smoothly at a rate limited by the output drive circuitry and the attached load.
With this feature enabled, the output does not slew directly between the two values. Instead, the output steps digitally at a rate defined by DAC_CFG.SR_STEP[2:0] and DAC_CFG.SR_CLK[2:0]. SR_CLK defines the rate at which the digital slew updates. SR_STEP defines the amount by which the output value changes at each update. The register descriptions show different settings for SR_STEP and SR_CLK.
The time required for the output to slew is expressed as Equation 6:
where
When the slew-rate control feature is enabled, the output changes at the programmed slew rate. This configuration results in a staircase formation at the output. If the clear code is asserted (see Section 6.3.1.6), the output slews to the DAC_CLR_CODE value at the programmed slew rate. When new DAC data are written, the output starts slewing to the new value at the slew rate determined by the current DAC code and the new DAC data.
Two slew-rate control modes are available: linear (default) and sinusoidal. Figure 6-3 and Figure 6-4 show the typical rising and falling DAC output waveforms, respectively.
4 mA (0x0BA3) to 24 mA (0xF45D) measured on a 40-Ω shunt |
24 mA (0xF45D) to 4 mA (0x0BA3) measured on 40-Ω shunt |
Sinusoidal mode enables fast DAC settling while improving analog rate of change characteristics. Sinusoidal mode is selected by the DAC_CFG.SR_MODE bit. Figure 6-5 and Figure 6-6 show the typical rising and falling DAC output waveforms with sinusoidal slew-rate control, respectively.
4 mA (0x0BA3) to 24 mA (0xF45D) measured on a 40-Ω shunt |
24 mA (0xF45D) to 4 mA (0x0BA3) measured on a 40-Ω shunt |
If the slew-rate feature is disabled while the DAC is executing the slew-rate command, the slew-rate operation is aborted, and the DAC output goes to the target code.