データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

AN2841 データシート(PDF) 20 Page - STMicroelectronics

部品番号 AN2841
部品情報  This application note deals with the general principles of LED dimming
PDF  31 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2841 データシート(HTML) 20 Page - STMicroelectronics

Back Button AN2841 Datasheet HTML 16Page - STMicroelectronics AN2841 Datasheet HTML 17Page - STMicroelectronics AN2841 Datasheet HTML 18Page - STMicroelectronics AN2841 Datasheet HTML 19Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 20 / 31 page
background image
Dimming application using an STM32 microcontroller
AN2841
20/31
3.2.2
Reduced lookup table (non redundant)
Only the data that changes the LED driver output state is generated. A LED can change the
state only once per complete PWM cycle: from one to zero. If there are i number of LEDs,
there are i new data items for the LED drivers. For example, if i = 32 LEDs when using an
8-bit PWM, you need a cycle with i × i = 32 × 32 = 1024 loops.
The inside of the loop is the same for full lookup table generation as described in
Section 3.2.1. The lookup table row is computed only in case you need to change the LED
intensity pattern (specific value of a parallel output configuration). Table 3, Table 4 and
Table 5 bring better understanding of the lookup table reduction. The C code of the reduced
lookup table generation is shown in the example below.
Table 2.
Full lookup table
Step
Output
LED 1
LED 2
LED 3
…
…
LED i
0
11
1
1
1
11
1
1
2
11
1
1
3
01
1
1
4
01
1
1
5
01
0
1
6
01
0
1
…
00
0
1
…
00
0
1
2n
00
0
1



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


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
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