Figure 257. Registers Update Following Dma Burst Transfer - 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)
The chronogram on
UPDGAT[3:0] = 0001 and UPDGAT[3:0] = 0001 (when PREEN = 1).
DMA requests
DMA controller write
accesses to BDMADR
Register content
PREEN=0
Register content
PREEN=1
(CMP3 showed only)
26.3.24
HRTIM initialization
This section describes the recommended HRTIM initialization procedure, including other
related MCU peripherals.
The HRTIM clock source must be enabled in the reset and clock control unit (RCC), while
respecting the
The DLL calibration must be started by setting CAL bit in HRTIM_DLLCR register.
The HRTIM master and timing units can be started only once the high-resolution unit is
ready. This is indicated by the DLLRDY flag set. The DLLRDY flag can be polled before
resuming the initialization or the calibration can run in background while other registers of
the HRTIM or other MCU peripherals are initialized. In this case, the DLLRDY flag must be
checked before starting the counters (an end-of-calibration interrupt can be issued if
necessary, enabled with DLLRDYIE flag in HRTIM_IER). Once the DLL calibration is done,
CALEN bit must be set to have it done periodically and compensate for potential voltage
and temperature drifts. The calibration periodicity is defined using the CALRTE[1:0] bitfield
in the HRTIM_DLLCR register.
908/2083
Figure 257
presents the active register content for 3 cases: PREEN=0,

Figure 257. Registers update following DMA burst transfer

Timer A
Counter
PER (previous)
CMP1 (previous)
CMP3 (previous)
CMP3 (previous)
CMP3 (previous)
Option 1: update done at the end of the DMA burst
transfer (UPDGAT[3:0 = 0001)
Option 2: update done at the end of the DMA burst
transfer (UPDGAT[3:0 = 0010 and TxREPU = 1
range for the DLL lock.
fHRTIM
DMA request on CMP1 event
starts DMA burst
PER
CMP1
RM0440 Rev 1
Repetition
event
CMP3
PER (new)
CMP1 (new)
CMP3 (new)
CMP3 (new)
CMP3 (new)
RM0440
MS32342V1

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