SDAA032 July 2025 TDA4VE-Q1
In the Texas Instruments TDA4x processor family, PWM generation is typically implemented using the EPWM module, which supports a range of flexible features such as configurable counter modes, compare registers, shadow loading, and event triggering. These features are essential for real-time, high-performance control systems.
Despite the versatility, PWM can produce undesirable output behavior if not configured carefully — especially during runtime updates of the duty cycle. A common issue is the appearance of intermediate or incorrect duty cycle when the compare register (CMPA/CMPB) is updated immediately, without proper synchronization to the PWM cycle. These can result in visual flicker (for example, in LEDs), sudden torque changes (for example, in motors), or EMI spikes in sensitive applications.
In real-world designs, this is essential to make sure that updates of the duty cycle occur smoothly and without unintended transients. This can be achieved through the use of shadow registers, which defer register updates until a safe point in the PWM cycle typically at the period boundary.
This application note focuses on two specific sources of PWM artifacts and presents reliable designs optimized for the TDA4x platform:
This application note explains those issues in detail and provides a best practice to use EPWM module for LED dimming control as an example.