STMicroelectronics /STM32U083 /CRS /CRS_CFGR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CRS_CFGR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0RELOAD0FELIM0 (B_0x0)SYNCDIV 0 (B_0x0)SYNCSRC 0 (B_0x0)SYNCPOL

SYNCPOL=B_0x0, SYNCDIV=B_0x0, SYNCSRC=B_0x0

Description

CRS configuration register

Fields

RELOAD

Counter reload value RELOAD is the value to be loaded in the frequency error counter with each SYNC event. Refer to Section15.4.3 for more details about counter behavior.

FELIM

Frequency error limit FELIM contains the value to be used to evaluate the captured frequency error value latched in the FECAP[15:0] bits of the CRS_ISR register. Refer to Section15.4.4 for more details about FECAP evaluation.

SYNCDIV

SYNC divider These bits are set and cleared by software to control the division factor of the SYNC signal.

0 (B_0x0): SYNC not divided (default)

1 (B_0x1): SYNC divided by 2

2 (B_0x2): SYNC divided by 4

3 (B_0x3): SYNC divided by 8

4 (B_0x4): SYNC divided by 16

5 (B_0x5): SYNC divided by 32

6 (B_0x6): SYNC divided by 64

7 (B_0x7): SYNC divided by 128

SYNCSRC

SYNC signal source selection These bits are set and cleared by software to select the SYNC signal source (see Table122): Note: When using USB LPM (Link Power Management) and the device is in Sleep mode, the periodic USB SOF is not generated by the host. No SYNC signal is therefore provided to the CRS to calibrate the HSI48 oscillator on the run. To guarantee the required clock precision after waking up from Sleep mode, the LSE or reference clock on the GPIOs must be used as SYNC signal.

0 (B_0x0): crs_sync_in_1 selected as SYNC signal source

1 (B_0x1): crs_sync_in_2 selected as SYNC signal source

2 (B_0x2): crs_sync_in_3 selected as SYNC signal source

3 (B_0x3): crs_sync_in_4 selected as SYNC signal source

SYNCPOL

SYNC polarity selection This bit is set and cleared by software to select the input polarity for the SYNC signal source.

0 (B_0x0): SYNC active on rising edge (default)

1 (B_0x1): SYNC active on falling edge

Links

()