Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

AN2669 Arkusz danych(PDF) 4 Page - STMicroelectronics

Numer części AN2669
Szczegółowy opis  How to configure the STM8A microcontroller clocks
PDF  8 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2669 Arkusz danych(HTML) 4 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
 4 / 8 page
background image
Example 2: Automatic clock switching
AN2669
4/8
2
Example 2: Automatic clock switching
2.1
Overview
The purpose of this example is to demonstrate the automatic clock switching feature
available in the STM8A. It provides an easy to use, fast and secure way for the application to
switch from one master clock source to another using very few instructions.
This example is provided as CLK example 2 in the STM8 firmware library.
2.2
Hardware description
The STM8/128-EVAL evaluation board is used for this example. The main hardware
connections are shown in Figure 1.
2.3
Firmware description
The user can change the clock selection at any time, by pressing the joystick in the desired
direction according to Table 1.
The current clock selection is displayed on the LCD.
Each clock source is associated with a LED as shown in Table 2.
The LED blinking frequency depends on the clock speed. Clock switching can also be
monitored by connecting an oscilloscope to the CCO pin (PE0 ).
Table 1.
Joystick control
Joystick movement
Clock source to switch to
Up
HSE clock
Down
LSI clock
Right
HSI clock
Table 2.
Status of LEDs display
LED
Master clock source
LD1
HSE clock
LD2
LSI clock
LD3
HSI clock



Html Pages

1 2 3 4 5 6 7 8


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
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