Figure 252. Combining Several Updates On A Single Hrtim_Dac_Trgx Output - ST STM32G4 Series Reference Manual

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

Advertisement

High-resolution timer (HRTIM)
26.3.21
DAC triggers
The HRTIM allows to have the embedded DACs updated synchronously with the timer
updates.
The update events from the master timer and the timer units can generate DAC update
triggers on any of the 3 hrtim_dac_trgx outputs.
Note:
Each timer has its own DAC-related control register.
DACSYNC[1:0] bits of the HRTIM_MCR and HRTIM_TIMxCR registers are programmed as
follows:
00: No update generated
01: Update generated on hrtim_dac_trg1
10: Update generated on hrtim_dac_trg2
11: Update generated on hrtim_dac_trg3
An output pulse of 1 f
When DACSYNC[1:0] bits are enabled in multiple timers, the hrtim_dac_trgx output consists
of an OR of all timers' update events. For instance, if DACSYNC = 1 in timer A and in timer
B, the update event in timer A is ORed with the update event in timer B to generate a DAC
update trigger on the corresponding hrtim_dac_trgx output, as shown on

Figure 252. Combining several updates on a single hrtim_dac_trgx output

Timer A
counter
Timer B
counter
Timer A
Compare 2
register
Timer B
Compare 4
register
DAC
TrigOutx
Refer to
898/2083
clock periods is generated on the hrtim_dac_trgx output.
HRTIM
0x0000 1000
TB update
0x0000 1500
Table 205: HRTIM DAC triggers connections
TA update
0x0000 1001
TB update
0x0000 1510
for connections to the DACs.
RM0440 Rev 1
Figure
TA update
0x0000 1002
TB update
0x0000 1520
RM0440
252.
TA update
MS32339V1

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?

Questions and answers

Table of Contents

Save PDF