Data Sheet
Table Of Contents
- 1Overview
- 2Chip Dimensions
- 3Pin Definition
- 4Functional Description
- 4.1Direct Memory Access Controller (DMA)
- 4.2Independent Watchdog(IWDG)
- 4.3Window Watchdog(WWDG)
- 4.4General Purpose and Alternate Function(GPIO and AF
- 4.5Peripheral Interconnection
- 4.6Elliptic Curve Cryptography(ECC)
- 4.7Encryption(AES/DES)
- 4.8True Random Number Generator(TRNG)
- 4.9Calculating Accelerator(CALC)
- 4.10Advanced Timer(ADTIM)
- 4.11General-Purpose Timer(GPTIMC)
- 4.12Basic Timer(BSTIM)
- 4.13Low-Power Timer(LPTIM)
- 4.14Analog-to-Digital Converter(ADC)
- 4.15Real Time Clock(RTC)
- 4.16Inter-Integrated Circuit Interface(I2C)
- 4.17Serial Peripheral Interface 1(LSSPI)
- 4.18Serial Peripheral Interface 2(SPI2)
- 4.19Universal Asynchronous Receiver Transmitter(UART)
- 4.20Audio Interface (PDM)
- 4.21BLE
Wireless-Tag Technology Co., Ltd. V1.0.1
©2020 Wireless-Tag Technology Co., Ltd. All rights reserved.
http://www.wireless-tag.com
10
dead-time insertion).
Pulse widths and waveform periods can be modulated from a few microseconds to several milliseconds
using the timer Prescaler and the RCC clock controller Prescaler.
The advanced-control timers (ADTIM), general-purpose timers (GPTIMA, GPTIMB, GPTIMC) and basic
timers (BSTIM) are completely independent and do not share any clock sources. They can be synchronized
together as well.
The features are described as follows:
16-bit up, down, up/down auto-reload counter.
16-bit programmable Prescaler allowing dividing (on the fly) the counter clock frequency
by any factor between 1 and 65536.
Up to 4 independent channels for:
Input Capture
Output Compare
PWM generation (Edge and Center-aligned Mode)
One-pulse mode output
Synchronization circuit can control the timer with external signals and interconnect several
timers.
Interrupt/DMA request is generated when the following events occur:
Update: counter overflow/underflow, counter initialization (by software or
internal/external trigger)
Trigger events (counter start, stop, initialization or count by internal trigger)
Input capture (capture register)
Output compare (count register paired with compare register)
Support incremental (quadrature) encoder and Hall sensor circuits for positioning purposes.
Trigger input for an external clock or cycle-by-cycle current management
4.11 General-Purpose Timer(GPTIMC)
The general-purpose timer (GPTIMC) consists of a 16-bit auto-reload counter driven by a programmable
Prescaler.
It may also be used for multiple purposes, including measuring the pulse lengths of input signals (input
capture), or generating output waveforms (output compare, PWM, complementary PWM with dead-time
insertion).
Pulse lengths and waveform periods can be modulated from a few microseconds to several milliseconds by
using the timer Prescaler and the APB clock controller Prescaler.
The advanced-control timers (ADTIM1), general-purpose timers (GPTIMA1, GPTIMB1, GPTIMC1) and










