| 数据搜索系统,热门电子元器件搜索 |
|
AN2841 数据表(PDF) 2 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2841 数据表(HTML) 2 Page - STMicroelectronics |
|
2 / 31 page ![]() 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 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |