| 数据搜索系统,热门电子元器件搜索 |
|
AN2841 数据表(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2841 数据表(HTML) 13 Page - STMicroelectronics |
|
13 / 31 page ![]() AN2841 Dimming application using an STM32 microcontroller 13/31 Once the brightness data is determined, the repetitive dimming procedure needs only to take the prepared data and send it to the LED driver. Figure 11 shows the calculation time of the algorithm. Figure 11. Static lookup table time consumption with 166 kHz - 333 kHz LE signal Accurate LE timing and the dimming part running in the application background are necessary requirements for a successful application. These targets can be achieved using the following methods: ● Single interrupt ● Single interrupt with DMA ● Interrupt + DMA + interrupt 3.1.3 Single interrupt The simplest approach is to use a timer interrupt approach where only a timer interrupt is required for the data transfer timing. This approach which does not require direct memory access (DMA) is designed for microcontrollers without DMA capability. Except for pattern loading, SPI data transfer and Latch Enable generation, the code must also contain the TX buffer Empty Flag test. This test must be taken into account if you compute the total time necessary for all dimming operations. |
|
链接网址 |
| 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 |