| 数据搜索系统,热门电子元器件搜索 |
|
STCF03 数据表(PDF) 26 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STCF03 数据表(HTML) 26 Page - STMicroelectronics |
|
26 / 35 page ![]() Detailed description STCF03 26/35 TRIG_EN bit, and also resets the F_RUN bit. The ATN pin is pulled down to inform the µP that the STAT_REG has been updated. 9.5 External (µP) temporization using TRIG_EN bit Even if it is possible, it is not recommended to use the TRIG_EN bit to start and stop the Flash operation, because of I2C bus latencies: this would result in inaccurate Flash timing. Nevertheless, if this operation mode is chosen, the TRIG pin has to be kept High (logic level or wired to VBAT), leaving the whole flash control to the I 2C bus. Also in this operation mode the Time Counter will Time-out Flash operation and keep the LED dissipated energy dissipated by the LED within safe limits in case of SW deadlock. 9.6 Single Flash using internal temporization Flash triggering can be obtained either by TRIG pin (hard-triggering) or by I2C commands (soft-triggering). The first solution is recommended for an accurate start time, while the second is less accurate because of the I2C bus time latency. Stop time is defined by the STCF03 internal temporization and its accuracy is determined by the internal oscillator. For hard-triggering it is necessary to set the TRIG_EN bit in advance. For soft-triggering the TRIG pin has to be kept High (logic level or wired to VBAT) and the Flash can be started by setting the FTIM and the TRIG_EN through I2C (both are located in the CMD REG). There is a delay time between the moment the Flash is triggered and when it appears. This delay is caused by the time necessary to charge up the output capacitor, which is around 1.2 ms depending on battery voltage and output current value. Once triggered, the flash operation will be stopped when the Time Counter reaches zero. As soon as the Flash is finished, the F_RUN bit is reset, the ATN pin is pulled down for 11 µs to inform the µP that the STAT_REG has been updated and the device goes back to Ready mode. If it is necessary to make a Flash longer than the internal timer allows or a continuous Flash, then the FTIM must be reloaded through I2C bus every time, before the internal timer reaches zero. For example: To get a continuous FLASH, set FTIM to 1.5 s and every 1 s reload the CMD_REG. 9.7 Multiple Flash using internal temporization This operation has to be processed as a sequence of single flashes using internal temporization starting from hard or soft triggering. Since the TRIG_EN bit is reset at the end of each flash, it is necessary to reload the CMD_REG to start the next one. |
|
链接网址 |
| 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 |