| Electronic Components Datasheet Search |
|
AN2507 Datasheet(PDF) 25 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2507 Datasheet(HTML) 25 Page - STMicroelectronics |
|
25 / 31 page ![]() AN2507 Examples of register setup for each mode 25/31 It is necessary to write 4 bytes to STCF03 to make a FLASH. 8.2 Example 2: 25 mA TORCH Let's suppose that RFL = 0.27 Ω, RTR = 1.8 Ω and the targeted value of the TORCH current is 25 mA. The reference voltage must be set to 56 mV to achieve 25 mA in TORCH mode with the resistor values mentioned above. The value of TDIM (4 bits) must be set to 0x3 to set up the reference voltage to 56 mV. Bit PWR_ON of the command register must be set to 1. Bit TRIG_EN of the command register must be set to 0. 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 TORCH mode is active. Setting this bit to 0 does not switch off the NTC. Table 14. DIMMING register data for the FLASH mode DIM_REG TDIM_3 TDIM_2 TDIM_1 TDIM_0 FDIM_3 FDIM_2 FDIM_1 FTIM_0 00 0 0 1 1 0 1 MSB LSB Table 15. I2C data packet for activating the FLASH mode Byte Hex Binary Comment 1 62 0 1 1 0 0 0 1 0 Device address + R/W bit 2 00 0 0 0 0 0 0 0 0 Command register address 3 D7 1 1 0 1 0 1 1 1 Data of the command register 4 0D 0 0 0 0 1 1 0 1 Data of the dimming register Table 16. COMMAND register data for the TORCH mode CMD_REG PWR_ON TRIG_EN TCH_ON NTC_ON FTIM_3 FTIM_2 FTIM_1 FTIM_0 10 1 1 0 0 0 0 MSB LSB Table 17. DIMMING register data for the TORCH mode DIM_REG TDIM_3 TDIM_2 TDIM_1 TDIM_0 FDIM_3 FDIM_2 FDIM_1 FDIM_0 00 1 1 0 0 0 0 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 |