Getting started with HRTIM

Revision as of 18:38, 8 November 2023 by Registered User (→‎Block diagram overview)

This article explains what WDG is and how to use it through examples.

1. What is a HRTIM ?

HRTIM stands for High Resolution Timer. HRTIM is a highly accurate timer which can generate the complex waveform with highly very fine timing resolution.

1.1. HRTIM modes

1.2. Block diagram overview

As we can see on the figure below, the HRTIM have a modular architecture. Let's have a look at each block :

- Block Crossbar :

  • Block Timer :<br
  • Block Crossbar :<br
  • Block Output :<br
  • Block Input :<br
  • Block Interface :<br

- Block Output : - Block Input : - Block Interface :

2. Configure the HRTIM to generate multiple PWMs

2.1. Objective

2.2. Creating the project in STM32CubeIDE

2.3. Configure HRTIM

2.4. Generate project and edit main.c

2.5. Compile and flash

3. Configure the HRTIM to generate arbitrary waveform

3.1. Objective

3.2. Creating the project in STM32CubeIDE

3.3. Configure HRTIM

3.4. Generate project and edit main.c

3.5. Compile and flash

4. Configure the HRTIM to generate arbitrary waveform

4.1. Objective

4.2. Creating the project in STM32CubeIDE

4.3. Configure HRTIM

4.4. Generate project and edit main.c

4.5. Compile and flash

5. References



No categories assignedEdit