Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN2669 Datasheet(PDF) 5 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) 5 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
 5 / 8 page
background image
AN2669
Example 3: Manual clock switching
5/8
3
Example 3: Manual clock switching
3.1
Overview
This example demonstrates how to manually switch the STM8A master clock from one clock
source to another. Manual switching requires more instructions than automatic switching
(described in Section 2) but it gives the application precise control of the switch event time.
This example is provided as CLK example 3 in the STM8 firmware library.
3.2
Hardware description
The STM8/128-EVAL evaluation board is used for this example. The main hardware
connections are shown in Figure 1.
3.3
Firmware description
When this example is running on the evaluation board, the user can select a new clock
source using the joystick (see Table 1).
Each time a clock source is selected, LEDs 1 to 3 blink for a short period. Clock switching
can also be monitored by connecting an oscilloscope to the CCO pin (PE0 ).



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