Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2669 Datasheet(PDF) 6 Page - STMicroelectronics

Part # AN2669
Description  How to configure the STM8A microcontroller clocks
PDF  8 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2669 Datasheet(HTML) 6 Page - STMicroelectronics

  AN2669 Datasheet HTML 1Page - STMicroelectronics AN2669 Datasheet HTML 2Page - STMicroelectronics AN2669 Datasheet HTML 3Page - STMicroelectronics AN2669 Datasheet HTML 4Page - STMicroelectronics AN2669 Datasheet HTML 5Page - STMicroelectronics AN2669 Datasheet HTML 6Page - STMicroelectronics AN2669 Datasheet HTML 7Page - STMicroelectronics AN2669 Datasheet HTML 8Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 6 / 8 page
background image
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.



Html Pages

1 2 3 4 5 6 7 8


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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