EasyManuals Logo
Home>ST>Microcontrollers>STM32G474

ST STM32G474 User Manual

ST STM32G474
2126 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 #344 background imageLoading...
Page #344 background image
Clock recovery system (CRS) RM0440
344/2126 RM0440 Rev 4
8.7 CRS registers
Refer to Section 1.2 on page 72 for a list of abbreviations used in register descriptions.
The peripheral registers can be accessed only by words (32-bit).
8.7.1 CRS control register (CRS_CR)
Address offset: 0x00
Reset value: 0x0000 X000(X=4 for products supporting 7-bit TRIM width, otherwise X=2)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Res. TRIM[6] TRIM[5:0]
SW
SYNC
AUTO
TRIMEN
CEN Res.
ESYNCI
E
ERRIE
SYNC
WARNIE
SYNC
OKIE
rw rw rw rw rw rw rw rt_w1 rw rw rw rw rw rw
Bits 31:15 Reserved, must be kept at reset value.
Bit 14 TRIM[6]: HSI48 oscillator smooth trimming
For product supporting the 7-bit TRIM width (see Section 8.3), the default value of the HSI48
oscillator smooth trimming is 64, which corresponds to the middle of the trimming interval.
For products supporting the 6-bit TRIM width (see Section 8.3) this bit is reserved, must be
kept at reset value.
Bits 13:8 TRIM[5:0]: HSI48 oscillator smooth trimming
These bits provide a user-programmable trimming value to the HSI48 oscillator. They can be
programmed to adjust to variations in voltage and temperature that influence the frequency
of the HSI48 oscillator.
The default value is 32, which corresponds to the middle of the trimming interval. The
trimming step is specified in the product datasheet. A higher TRIM value corresponds to a
higher output frequency.
When the AUTOTRIMEN bit is set, this field is controlled by hardware and is read-only.
Bit 7 SWSYNC: Generate software SYNC event
This bit is set by software in order to generate a software SYNC event. It is automatically
cleared by hardware.
0: No action
1: A software SYNC event is generated.
Bit 6 AUTOTRIMEN: Automatic trimming enable
This bit enables the automatic hardware adjustment of TRIM bits according to the measured
frequency error between two SYNC events. If this bit is set, the TRIM bits are read-only. The
TRIM value can be adjusted by hardware by one or two steps at a time, depending on the
measured frequency error value. Refer to Section 8.4.4 for more details.
0: Automatic trimming disabled, TRIM bits can be adjusted by the user.
1: Automatic trimming enabled, TRIM bits are read-only and under hardware control.
Bit 5 CEN: Frequency error counter enable
This bit enables the oscillator clock for the frequency error counter.
0: Frequency error counter disabled
1: Frequency error counter enabled
When this bit is set, the CRS_CFGR register is write-protected and cannot be modified.

Table of Contents

Questions and Answers:

ST STM32G474 Specifications

General IconGeneral
BrandST
ModelSTM32G474
CategoryMicrocontrollers
LanguageEnglish

Related product manuals