ST STM32G4 Series Reference Manual page 1366

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32G4 Series:
Table of Contents

Advertisement

General-purpose timers (TIM15/TIM16/TIM17)
Bits 9:8 LOCK[1:0]: Lock configuration
These bits offer a write protection against software errors.
00: LOCK OFF - No bit is write protected
01: LOCK Level 1 = DTG bits in TIM15_BDTR register, OISx and OISxN bits in TIM15_CR2
10: LOCK Level 2 = LOCK Level 1 + CC Polarity bits (CCxP/CCxNP bits in TIM15_CCER
11: OCK Level 3 = LOCK Level 2 + CC Control bits (OCxM and OCxPE bits in
Note: The LOCK bits can be written only once after the reset. Once the TIM15_BDTR register
Bits 7:0 DTG[7:0]: Dead-time generator setup
This bit-field defines the duration of the dead-time inserted between the complementary
outputs. DT correspond to this duration.
DTG[7:5]=0xx => DT=DTG[7:0]x t
DTG[7:5]=10x => DT=(64+DTG[5:0])xt
DTG[7:5]=110 => DT=(32+DTG[4:0])xt
DTG[7:5]=111 => DT=(32+DTG[4:0])xt
Example if T
0 to 15875 ns by 125 ns steps,
16 µs to 31750 ns by 250 ns steps,
32 µs to 63 µs by 1 µs steps,
64 µs to 126 µs by 2 µs steps
Note: This bit-field can not be modified as long as LOCK level 1, 2 or 3 has been programmed
29.7.17
TIM15 timer deadtime register 2 (TIM15_DTR2)
Address offset: 0x054
Reset value: 0x0000 0000
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
Res.
Res.
Res.
Bits 31:18 Reserved, must be kept at reset value.
Bit 17 DTPE: Deadtime preload enable
Note: This bit can not be modified as long as LOCK level 1, 2 or 3 has been programmed
1366/2083
register and BKBID/BKE/BKP/AOE bits in TIM15_BDTR register can no longer be
written
register, as long as the related channel is configured in output through the CCxS bits) as
well as OSSR and OSSI bits can no longer be written.
TIM15_CCMRx registers, as long as the related channel is configured in output through
the CCxS bits) can no longer be written.
has been written, their content is frozen until the next reset.
=125ns (8MHz), dead-time possible values are:
DTS
(LOCK bits in TIM15_BDTR register).
28
27
26
25
Res.
Res.
Res.
12
11
10
9
Res.
Res.
Res.
0: Deadtime value is not preloaded
1: Deadtime value preload is enabled
(LOCK bits in TIM15_BDTR register).
with t
=t
dtg
dtg
DTS
with T
=2xt
dtg
dtg
with T
=8xt
dtg
dtg
with T
=16xt
dtg
dtg
24
23
22
Res.
Res.
Res.
8
7
6
Res.
rw
rw
RM0440 Rev 1
DTS
DTS
DTS
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
DTGF[7:0]
rw
rw
rw
rw
RM0440
17
16
DTPE
DTAE
rw
rw
1
0
rw
rw

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32G4 Series and is the answer not in the manual?

Table of Contents

Save PDF