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

X  

AN2841 Datasheet(PDF) 2 Page - STMicroelectronics

Part # AN2841
Description  This application note deals with the general principles of LED dimming
PDF  31 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2841 Datasheet(HTML) 2 Page - STMicroelectronics

  AN2841 Datasheet HTML 1Page - STMicroelectronics AN2841 Datasheet HTML 2Page - STMicroelectronics AN2841 Datasheet HTML 3Page - STMicroelectronics AN2841 Datasheet HTML 4Page - STMicroelectronics AN2841 Datasheet HTML 5Page - STMicroelectronics AN2841 Datasheet HTML 6Page - STMicroelectronics AN2841 Datasheet HTML 7Page - STMicroelectronics AN2841 Datasheet HTML 8Page - STMicroelectronics AN2841 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 2 / 31 page
background image
Contents
AN2841
2/31
Contents
1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2
Description of LED dimming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.1
Driving multiple LED applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2
Multi-channel dimming using serial-parallel conversion . . . . . . . . . . . . . . . 6
2.3
Specific dimming application using an STP24DP05 . . . . . . . . . . . . . . . . . 8
3
Dimming application using an STM32 microcontroller . . . . . . . . . . . . . 9
3.1
Data transfers and timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.1.1
Dynamic data transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.1.2
Static data transfer using lookup tables . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.1.3
Single interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.1.4
Single interrupt with DMA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.1.5
Interrupt + DMA + interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.2
Data preparation: redundant and non redundant use of memory . . . . . . 19
3.2.1
Full lookup table (redundant) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.2.2
Reduced lookup table (non redundant) . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.3
Timing: set up of the main dimming timer . . . . . . . . . . . . . . . . . . . . . . . . 22
3.3.1
The main system timer, SysTick setting . . . . . . . . . . . . . . . . . . . . . . . . 22
4
Achieved values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.1
Dimming approach comparison and conclusion . . . . . . . . . . . . . . . . . . . 29
4.1.1
Comparison between interrupt and interrupt + DMA approaches . . . . . 29
4.1.2
Comparison between dynamic preparation, static, and reduced static
lookup table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
5
References documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
6
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30



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


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