stm8af6199 STMicroelectronics, stm8af6199 Datasheet - Page 17

no-image

stm8af6199

Manufacturer Part Number
stm8af6199
Description
Automotive 8-bit Mcu, With Up To 128 Kbytes Flash, Eeprom, 10-bit Adc, Timers, Lin, Can, Usart, Spi, I 2c, 3 V To 5.5 V
Manufacturer
STMicroelectronics
Datasheet
STM8AF61xx, STM8AF51xx
5.6.2
5.6.3
5.6.4
5.6.5
5.6.6
Internal 16 MHz RC oscillator
User trimming
The register
frequency tuning to a precision of 1% by the application program. The trimming step
granularity is 1.5 %.
The adjustment range covers all possible frequency variations versus supply voltage and
temperature. This trimming does not change the initial production setting.
Internal 128 kHz RC oscillator
The frequency of this clock is 128 kHz and it is independent from the main clock. It drives
the watchdog or the AWU wake-up timer.
In systems which do not need independent clock sources for the watchdog counters, the
128 kHz signal can be used as the system clock. This configuration has to be enabled by
setting an option byte (OPT3, LSI_EN).
Internal high-speed crystal oscillator
The internal high-speed crystal oscillator delivers the main clock in normal run mode. It
operates with quartz crystals and ceramic resonators.
Optionally, an external clock signal can be injected into the OSCIN input pin.
External clock input
The external clock signal is applied to the OSCIN input pin of the crystal oscillator. The
frequency range is 0 to 24 MHz.
Clock security system (CSS)
The clock security system protects against a system stall in case of an external crystal clock
failure.
In case of a clock failure an interrupt is generated and the high speed internal clock (HSI) is
automatically selected with a frequency of 2 MHz (16 MHz/8). This function can be enabled
using the CSS register (CLK_CSSR).
The CSS operates by detecting when the external clock signal (crystal or external clock)
falls below 500 kHz. With active CSS this is the minimum operating frequency.
Default clock after reset 2 MHz (16 MHz/8)
Wake-up time: < 2 µs
Frequency range: 1 to 24 MHz
Crystal oscillation mode: Preferred fundamental
I/Os: Standard I/O pins multiplexed with OSCIN, OSCOUT
CLK_HSITRIMR
with two trimming bits plus one additional bit for the sign permits
Product overview
17/100

Related parts for stm8af6199