Register description: New Map
STA380BW
92/162
DocID024543 Rev 1
6.29.6
Short-circuit check enable bit
This bit, when enabled, will activate the short-circuit checks before any power bridge
activation (EAPD bit 0->1). See section
Section 6.27: Short-circuit protection mode registers
6.30
Bad PWM detection registers (address 0x5E, 0x5F, 0x60)
The STA380BW implements a detection on PWM outputs able to verify if the output signal
has no zero-crossing in a configurable time window. This check can be useful to detect the
DC level in the PWM outputs. To be noted that the checks are performed on logic level
PWM (i.e. not the power bridge ones, nor the PWM on
))
X3 and
))
X4 IOs).
In case of ternary modulation, the detection threshold is computed as:
TH=[(BPTH*2+1)/128]*100%
If the measured PWM duty cycle is detected greater than or equal to TH for more than
BPTIM PWM periods, the corresponding PWM bit will be set in register 0x01.
In case of binary modulation, there are two thresholds:
TH1=[(64+BPTH)/128]*100%
TH2=[(64-BPTH)/128]*100%
In this case if the measured PWM duty cycle is outside the TH1-TH2 range for more than
BPTIM PWM periods, the corresponding bit will be set in register 0x4E.
Table 86. PNDLSL bits configuration
PNDLSL[2]
PNDLSL[1]
PNDLSL[2]
Fade-out time
0
0
0
Default time (13M PLL clock cycles)
0
0
1
Default time divided by 2
0
1
0
Default time divided by 4
0
1
1
Default time divided by 8
1
0
0
Default time divided by 16
1
0
1
Default time divided by 32
1
1
0
Default time divided by 64
1
1
1
Default time divided by 128
D7
D6
D5
D4
D3
D2
D1
D0
BPTH[5]
BPTH[4]
BPTH[3]
BPTH[2]
BPTH[1]
BPTH[0]
reserved
reserved
0
0
1
1
0
0
1
0
D7
D6
D5
D4
D3
D2
D1
D0
BPTIM[7]
BPTIM[6]
BPTIM[5]
BPTIM[4]
BPTIM[3]
BPTIM[2]
BPTIM[1]
BPTIM[0]
0
1
0
1
1
1
1
0
Obsolete Product(s) - Obsolete Product(s)