EasyManuals Logo

ST STM32C0 Series Programming Manual

ST STM32C0 Series
262 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #250 background imageLoading...
Page #250 background image
Core peripherals PM0214
250/262 PM0214 Rev 9
4.5.4 SysTick calibration value register (STK_CALIB)
Address offset: 0x0C
Reset value: 0x0000000
Required privilege: Privileged
The CALIB register indicates the SysTick calibration properties.
4.5.5 SysTick design hints and tips
The SysTick counter runs on the processor clock. If this clock signal is stopped for low
power mode, the SysTick counter stops.
Ensure software uses aligned word accesses to access the SysTick registers.
The SysTick counter reload and current value are undefined at reset, the correct
initialization sequence for the SysTick counter is:
1. Program reload value.
2. Clear current value.
3. Program Control and Status register.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
NO
REF
SKEW
Reserved
TENMS[23:16]
rr rrrrrrrr
1514131211109876543210
TENMS[15:0]
rrrrrr r r r r rrrrrr
Bit 31 NOREF: NOREF flag. Reads as zero. Indicates that a separate reference clock is provided.
The frequency of this clock is HCLK/8.
Bit 30 SKEW: SKEW flag: Indicates whether the TENMS value is exact. Reads as one. Calibration
value for the 1 ms inexact timing is not known because TENMS is not known. This can affect
the suitability of SysTick as a software real time clock.
Bits 29:24 Reserved, must be kept cleared.
Bits 23:0 TENMS[23:0]: Calibration value. Indicates the calibration value when the SysTick counter
runs on HCLK max/8 as external clock. The value is product dependent, please refer to the
Product Reference Manual, SysTick Calibration Value section. When HCLK is programmed at
the maximum frequency, the SysTick period is 1ms.
If calibration information is not known, calculate the calibration value required from the
frequency of the processor clock or external clock.

Table of Contents

Other manuals for ST STM32C0 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32C0 Series and is the answer not in the manual?

ST STM32C0 Series Specifications

General IconGeneral
BrandST
ModelSTM32C0 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals