công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN2841 bảng dữ liệu(PDF) 24 Page - STMicroelectronics

tên linh kiện AN2841
Giải thích chi tiết về linh kiện  This application note deals with the general principles of LED dimming
PDF  31 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2841 bảng dữ liệu(HTML) 24 Page - STMicroelectronics

Back Button AN2841 Datasheet HTML 20Page - STMicroelectronics AN2841 Datasheet HTML 21Page - STMicroelectronics AN2841 Datasheet HTML 22Page - STMicroelectronics AN2841 Datasheet HTML 23Page - STMicroelectronics AN2841 Datasheet HTML 24Page - STMicroelectronics AN2841 Datasheet HTML 25Page - STMicroelectronics AN2841 Datasheet HTML 26Page - STMicroelectronics AN2841 Datasheet HTML 27Page - STMicroelectronics AN2841 Datasheet HTML 28Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 24 / 31 page
background image
Dimming application using an STM32 microcontroller
AN2841
24/31
Equation 3
SysTick-preload-value = 72 000 000 / 25 600 = 2812
The frequency ranges 25.6 kHz and 371.7 kHz required for all possible applications ranges
can be achieved using preload values: 2812 and 194, or with divider by 8: 351 or 24.
SysTick timer setting with no divider on the reference clock:
SysTick_CLKSourceConfig(SysTick_CLKSource_HCLK);
SysTick_SetReload(900);
generates pulses with the period of 12 µs.
SysTick timer setting with the divider by 8 on the reference clock:
SysTick_CLKSourceConfig(SysTick_CLKSource_HCLK_Div8);
SysTick_SetReload(900);
generates pulses with the period of 100 µs.
The setup algorithm for the SysTick timer configuration has to check if it is possible to set
preload value to keep enough time for processing (TotalTime) together with reaching the
requested refresh frequency:
TotalTime = 2.25 + 0.055 × LEDs
SysTick-reload-time = 1 / SysTick-reload-frequency
TotalTime is the time slot, during which the SPI transfer and all the arbitrations needs to be
achieved. The SysTick time is the time slot which must be respected to reach the required
refresh rate.
Equation 4
SysTick-reload-time > TotalTime
To reach the requested refresh rate and set up the SysTick timer preload value:
SysTick-reload-frequency = requested-refresh-rate × PWMdepth (100 Hz × 256 steps).
Table 9.
Example of values used in Equations 3 and 4
LEDs
PWM
Requested refresh rate
SysTick-reload-time
32
8-bit
100 Hz
39 µs (25.6 kHz)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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