| Electronic Components Datasheet Search |
|
AN3404 Datasheet(PDF) 8 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3404 Datasheet(HTML) 8 Page - STMicroelectronics |
|
8 / 30 page ![]() Clock management AN3404 8/30 Doc ID 018847 Rev 3 3 Clock management 3.1 Clock system overview The 16 MHz high-speed internal RC oscillator (HSI) is the only clock source that can be used to drive the system clock. The 38 kHz low-speed internal RC oscillator (LSI) is only used to supply the auto-wakeup unit (AWU) and watchdog. Each peripheral clock can be switched on or off independently, in order to optimize power consumption when the peripheral is not used. This is done by using the peripheral clock gating (PCG) feature. See the “Clock control (CLK)” section of the STM8TL5xxx microcontroller family reference manual (RM0312) for more details. 3.2 Default clock source The default clock source after reset is HSI/8. The user can then switch the clock to different frequencies by choosing the prescaler (/1, /2, /4 or /8) for the internal RC 16 MHz (HSI) clock through the HSIDIV[1:0] bits in the Clock divider (CLK_CKDIVR) register. 3.3 Clock configuration and power management In addition to the flexibility of the clock sources, different complementary clock configurations and features are available to optimize the power consumption of the device: ● Each peripheral clock can be switched on/off through the Peripheral clock gating registers 1 and 2 (CLK_PCKENRx). ● System clock dividers from 1 to 8 (HSIDIV[1:0] bits in the CLK_CKDIVR register) are available. Note: System clocks are used to supply both CPU and peripherals. The STM8TL5xxx is focused on low consumption. This is why all peripheral clocks are gated by default. Before accessing any peripheral register, it is mandatory to enable the clock for the given peripheral. 3.4 Clock selection versus power consumption The selected clock type and speed is one of the major factors influencing power consumption of the MCU (see Section 1: Power consumption factors). Total consumption for the STM8TL5xxx devices is given by Equation 3. Equation 3 Note: The values given in Equation 3 are measured with all peripherals disabled. I DD(STM8TL5x) f 150 A MHz 215 A + = |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |