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
11
basic timers (BSTIM1) are completely independent and do not share any clock sources.
The features are described as follows:
16-bit auto-reload up-counter
16-bit programmable Prescaler allows the counter clock frequency to be divided by any
factor between 1 and 65536 (on the fly)
Up to 2 independent channels
Input capture
Output compare
PWM generation (Edge-aligned and Center-aligned modes)
One-pulse mode output
Complementary output programmable dead-time register
Synchronization circuit can control the timer with external signal and interconnect several
timers
The repeat counter is used to update the timing register and only works after the definition
number of the counter period
Pause input to put timer output signal in reset state or known state
Interrupt/DMA generation on the following events:
Update: Counter overflow/underflow, counter initialization (through software or
internal/external trigger)
Trigger event (counter start, stop, initialization or count by internal/external trigger)
Input capture (capture register)
Output compare (count register paired with compare register)
Brake signal input
Trigger input for an external clock or cycle-by-cycle current management
4.12 Basic Timer(BSTIM)
The basic timer consists of a 16-bit auto-reload counter driven by a programmable Prescaler. It may be
used for a variety of purposes, including measuring the pulse lengths of input signals (input capture) or
generating output waveforms (output compare, PWM). 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 (ADTIM), general-purpose timers (GPTIMA, GPTIMB, GPTIMC) and basic
timers (BSTIM) are completely independent and do not share any clock source.
The features are described as follows:
16-bit auto-reload up-counter










