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
which 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
which 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
which 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
which is less than the minimum low-pulse time-threshold
(tLOW_MIN_TH) that is configured in register 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 14 and Equation 15 to calculate the worst-case values for the tHIGH_MAX_TH:
Equation 14. Min. tHIGH_MAX_TH = (15 µs +ESM_x_HMAX[7:0] × 15 µs) ×
0.95
Equation 15. 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 16 and Equation 17 to calculate the worst-case values for the tHIGH_MIN_TH:
Equation 16. Min. tHIGH_MIN_TH = (15 µs +ESM_x_HMIN[7:0] × 15 µs) ×
0.95
Equation 17. 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 18 and Equation 19 to calculate the worst-case values for the tLOW_MAX_TH:
Equation 18. Min. tLOW_MAX_TH = (15 µs +ESM_x_LMAX[7:0] × 15 µs) ×
0.95
Equation 19. 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 20 and Equation 21 to calculate the worst-case values for the tLOW_MIN_TH:
Equation 20. Min. tLOW_MIN_TH = (15 µs +ESM_x_LMIN[7:0] × 15 µs) ×
0.95
Equation 21. 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/high-pulse time-thresholds need to
be configured such that clock tolerances from the
TPS6594-Q1 and from the
processor are incorporated. Equation 22, Equation 23, Equation 24, and Equation 25 are a guideline on how to
incorporate these clock-tolerances:
Equation 22. 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 23. 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 24. 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 25. 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.