| Electronic Components Datasheet Search |
|
AN2507 Datasheet(PDF) 24 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2507 Datasheet(HTML) 24 Page - STMicroelectronics |
|
24 / 31 page ![]() Examples of register setup for each mode AN2507 24/31 8 Examples of register setup for each mode A device address 0x62 is used in all the example below. The STCF03 is configured to this device address, if the ADD pin is connected to VBAT pin. In the demoboard the device address is 0x60 because the ADD pin is connected to GND. Note: LED current values refer to RFL= 0.27 Ohm, RTR = 1.8 Ohm 8.1 Example 1: 600 mA FLASH with 700 ms duration Let's suppose that RFL = 0.27 Ω. The targeted value of the FLASH current is 600 mA and the FLASH duration should be 700 ms. The reference voltage must be set to 160 mV to achieve a 600 mA FLASH current with a 0.27 Ω sensing resistor. The value of FDIM (4 bits) must be set to 0xD to set up the reference voltage to 160 mV. (See Table 12) The FLASH duration timer can be set to 100ms up to 1500 ms in 100ms increments. If the desired FLASH duration is 700 ms the value FTIM (4 bits) must be set to 0x7. Bit PWR_ON of the command register must be set to 1. Bit TRIG_EN of the command register must be set to 1. Bit TCH_ON of the command register must be set to 0. Bit NTC_ON of the command register can be set to any value, because NTC is automatically ON when the FLASH mode is active. Setting this bit to 0 will not switch off the NTC. Table 12. TORCH mode and FLASH mode dimming registers settings T_DIM (hex) 0 1 2 345 6 7 89 A B C D E F F_DIM (hex) 0 1 2 3 4 5 6 7 8 9 AB C D EF LED current [mA] 16 19 23 27 32 39 46 55 65 77 92 109 124 147 175 209 248 296 352 418 498 592 705 840 Internal step 1 2 3 4 5 6 7 8 9 10 11 12 1314 15 16 17 1819 20 21 22 23 24 VREF1 [mV] 33 40 47 56 67 80 95 113 134 160 190 227 33 40 47 56 67 79 95 113 134 160 190 227 Sense Resist. RFL + RTR RFL + RTR RFL + RTR RFL + RTR RFL + RTR RFL + RTR RFL + RTR RFL + RTR RFL + RTR RFL + RTR RFL + RTR RFL + RTR RFL RFL RFL RFL RFL RFL RFL RFL RFL RFL RFL RFL Table 13. COMMAND register data to enter FLASH mode CMD_REG PWR_ON TRIG_EN TCH_ON NTC_ON FTIM_3 FTIM_2 FTIM_1 FTIM_0 11 x x 0 1 1 1 MSB LSB |
|
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 |
| 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 |