| Electronic Components Datasheet Search |
|
AN2669 Datasheet(PDF) 6 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2669 Datasheet(HTML) 6 Page - STMicroelectronics |
|
6 / 8 page ![]() Example 4: Configuring clocks for maximum speed AN2669 6/8 4 Example 4: Configuring clocks for maximum speed 4.1 Overview This example shows how to configure the STM8A microcontroller to run at its highest or second highest frequency using the external or internal clock sources (HSE or HSI respectively). Such configurations make the CPU run at the frequency provided by the CLK without any prescaler or division factors. This example is provided as CLK example 4 in the STM8 firmware library. 4.2 Hardware description The STM8/128-EVAL evaluation board is used for this example. The main hardware connections are shown in Figure 1. 4.3 Firmware description The CLK registers are configured so that the CPU runs at exactly 24 MHz (HSE clock frequency). Pressing the ‘KEY’ button on the evaluation board makes the CPU run at 16 MHz (HSI clock frequency). This example can be used as a tutorial exercise or as starting point that can be easily modified for use in different applications. |
|
|
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 |