In PWM mode, each ESM monitors the
high-pulse and low-pulse duration times its PWM inputs signal as follows:
- After a falling edge, the ESM starts
monitoring the low-pulse time-duration. If the input signal remains low
after exceeding the maximum low-pulse time-threshold
(tLOW_MAX_TH), the ESM detects a
bad event and the low-pulse duration counter reinitializes. Each time the
signal further exceeds the maximum threshold, the ESM detects a
bad event. On the next rising edge on the input signal, the ESM starts the
high-pulse time-duration monitoring
- After a rising edge, the ESM starts
monitoring the high-pulse time-duration. If the input signal remains high
after exceeding the maximum high-pulse time-threshold
(tHIGH_MAX_TH), the ESM detects a
bad event and the high-pulse duration counter reinitializes. Each time the
signal further exceeds the maximum threshold, the ESM detects a
bad event. On the next falling edge on the input signal, the ESM starts the
low-pulse time-duration monitoring.
In addition, each ESM detects a bad-event
in PWM mode if one of the events that follow occurs on the deglitched signal of the
related input pin nERR_MCU or nERR_SoC:
- A high-pulse time-duration
that is longer than the maximum high-pulse time-threshold
(tHIGH_MAX_TH) that is configured in corresponding register bits
ESM_MCU_HMAX[7:0] or
ESM_SOC_HMAX[7:0].
- A high-pulse time-duration
that is shorter than the minimum high-pulse time-threshold
(tHIGH_MIN_TH) that is configured in corresponding register bits
ESM_MCU_HMIN[7:0] or
ESM_SOC_HMIN[7:0].
- A low-pulse time-duration
that is longer than the maximum low-pulse time-threshold
(tLOW_MAX_TH) that is configured in corresponding register bits
ESM_MCU_LMAX[7:0] or
ESM_SOC_LMAX[7:0].
- A low-pulse time-duration
that is less than the minimum low-pulse time-threshold
(tLOW_MIN_TH) that is configured in corresponding register bits
ESM_MCU_LMIN[7:0] or
ESM_SOC_LMIN[7:0].
Each ESM detects a good-event
in PWM mode if one of the events that follow occurs on the deglitched signal of the
related input pin nERR_MCU or nERR_SoC:
- A low-pulse time-duration
within the minimum and maximum low-pulse time-thresholds is followed by a
high-pulse time-duration within the minimum and maximum high-pulse
time-thresholds, or
- A high-pulse duration within
the minimum and maximum high-pulse time-thresholds is followed by a
low-pulse duration within the minimum and maximum low-pulse
time-thresholds
Register bits ESM_MCU_HMAX[7:0] and ESM_SOC_HMAX[7:0] set the maximum high-pulse
time-threshold (tHIGH_MAX_TH) for the
related ESM.
Use Equation 13 and Equation 14 to calculate the worst-case values for the tHIGH_MAX_TH:
Equation 13. Min. tHIGH_MAX_TH = (15 µs +ESM_x_HMAX[7:0] × 15 µs) ×
0.95
Equation 14. Max. tHIGH_MAX_TH = (15 µs +ESM_x_HMAX[7:0] × 15 µs) ×
1.05
, in which x stands
for either MCU
or SoC.
ESM_MCU_HMIN[7:0]
and ESM_SOC_HMIN[7:0] set the minimum high-pulse time-threshold
(tHIGH_MIN_TH) for the related
ESM. Use Equation 15 and Equation 16 to calculate the worst-case values for the tHIGH_MIN_TH:
Equation 15. Min. tHIGH_MIN_TH = (15 µs +ESM_x_HMIN[7:0] × 15 µs) ×
0.95
Equation 16. Max. tHIGH_MIN_TH = (15 µs +ESM_x_HMIN[7:0] × 15 µs) ×
1.05
, in which x stands
for either MCU
or SoC.
ESM_MCU_LMAX[7:0]
and ESM_SOC_LMAX[7:0] set the maximum low-pulse time-threshold
(tLOW_MAX_TH) for the related
ESM. Use Equation 17 and Equation 18 to calculate the worst-case values for the tLOW_MAX_TH:
Equation 17. Min. tLOW_MAX_TH = (15 µs +ESM_x_LMAX[7:0] × 15 µs) ×
0.95
Equation 18. Max. tLOW_MAX_TH = (15 µs +ESM_x_LMAX[7:0] × 15 µs) ×
1.05
, in which x stands
for either MCUor SoC.
ESM_MCU_LMIN[7:0]
and ESM_SOC_LMIN[7:0] set the minimum low-pulse time-threshold
(tLOW_MIN_TH) for the related ESM.
Use Equation 19 and Equation 20 to calculate the worst-case values for the tLOW_MIN_TH:
Equation 19. Min. tLOW_MIN_TH = (15 µs +ESM_x_LMIN[7:0] × 15 µs) ×
0.95
Equation 20. Max. tLOW_MIN_TH = (15 µs +ESM_x_LMIN[7:0] × 15 µs) ×
1.05
, in which x stands
for either MCU
or SoC.
Please note that when setting up the minimum and
the maximum low-pulse or high-pulse time-thresholds need to be configured such that
clock tolerances from the TPS6593-Q1 and from the processor
are incorporated. Equation 21, Equation 22, Equation 23, and Equation 24 are a guideline on how to incorporate these
clock-tolerances:
Equation 21. ESM_x_HMIN[7:0] < 0.5 ×
(ESM_x_HMAX[7:0] + ESM_x_HMIN[7:0]) × 0.95 ×
(1 - MCU/SoC clock tolerance)
Equation 22. ESM_x_HMAX[7:0] > 0.5 ×
(ESM_x_HMAX[7:0] + ESM_x_HMIN[7:0]) × 1.05 ×
(1 + MCU/SoC clock tolerance)
Equation 23. ESM_x_LMIN[7:0] < 0.5 ×
(ESM_x_LMAX[7:0] + ESM_x_LMIN[7:0]) × 0.95 ×
(1 - MCU/SoC clock tolerance)
Equation 24. ESM_x_LMAX[7:0] > 0.5 ×
(ESM_x_LMAX[7:0] + ESM_x_LMIN[7:0]) × 1.05 ×
(1 + MCU/SoC clock tolerance)
, in which x stands for
either MCU or SoC.