DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

STM8S003F3P6 View Datasheet(PDF) - STMicroelectronics

Part Name
Description
Manufacturer
STM8S003F3P6 Datasheet PDF : 103 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
STM8S003F3 STM8S003K3
Product overview
4.5
Clock controller
The clock controller distributes the system clock (fMASTER) coming from different oscillators
to the core and the peripherals. It also manages clock gating for low power modes and
ensures clock robustness.
Features
• Clock prescaler: To get the best compromise between speed and current
consumption the clock frequency to the CPU and peripherals can be adjusted by a
programmable prescaler.
• Safe clock switching: Clock sources can be changed safely on the fly in run mode
through a configuration register. The clock signal is not switched until the new clock
source is ready. The design guarantees glitch-free switching.
• Clock management: To reduce power consumption, the clock controller can stop the
clock to the core, individual peripherals or memory.
• Master clock sources: Four different clock sources can be used to drive the master
clock:
– 1-16 MHz high-speed external crystal (HSE)
– Up to 16 MHz high-speed user-external clock (HSE user-ext)
– 16 MHz high-speed internal RC oscillator (HSI)
– 128 kHz low-speed internal RC (LSI)
• Startup clock: After reset, the microcontroller restarts by default with an internal
2 MHz clock (HSI/8). The prescaler ratio and clock source can be changed by the
application program as soon as the code execution starts.
• Clock security system (CSS): This feature can be enabled by software. If an HSE
clock failure occurs, the internal RC (16 MHz/8) is automatically selected by the CSS
and an interrupt can optionally be generated.
• Configurable main clock output (CCO): This outputs an external clock for use by the
application.
Table 2. Peripheral clock gating bit assignments in CLK_PCKENR1/2 registers
Bit
Peripheral
clock
Bit
Peripheral
clock
Bit
Peripheral
clock
Bit
Peripheral
clock
PCKEN17
PCKEN16
PCKEN15
PCKEN14
TIM1
Reserved
TIM2
TIM4
PCKEN13
PCKEN12
PCKEN11
PCKEN10
UART1
Reserved
SPI
I2C
PCKEN27
PCKEN26
PCKEN25
PCKEN24
Reserved
Reserved
Reserved
Reserved
PCKEN23
PCKEN22
PCKEN21
PCKEN20
ADC
AWU
Reserved
Reserved
DS7147 Rev 10
15/103
29

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]