wm8350 Wolfson Microelectronics plc, wm8350 Datasheet - Page 150

no-image

wm8350

Manufacturer Part Number
wm8350
Description
Wolfson Audioplus? Stereo Codec With Power Management
Manufacturer
Wolfson Microelectronics plc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
wm8350G
Manufacturer:
WOLFSON
Quantity:
20 000
Part Number:
wm8350GEB/RVLRG
Manufacturer:
WOLFSON
Quantity:
20 000
WM8350
w
16.2.2
The sink currents for ISINKA and ISINKB can be independently programmed by writing to the
CS1_ISEL and CS2_ISEL register bits. The current steps are logarithmic to match the logarithmic
light sensitivity characteristic of the human eye. The step size is 1.5dB (i.e. the current doubles every
four steps).
R172 (ACh)
Current Sink
Driver A
R174 (AEh)
Current Sink
Driver B
Table 96 Controlling the Sink Current for ISINKA and ISINKB
Note that currents above 40mA are not supported continuously; these settings are intended for flash
mode only.
16.2.3
Each current sink can either sink current continuously (LED mode) or in short bursts (flash mode).
The operating mode is selected by the CSn_FLASH_MODE bits, as described in Table 97.
In LED mode, the current sink is controlled by setting CSn_DRIVE. For as long as this bit is
asserted, the LED is enabled continuously.
In Flash mode, the current sink may be set to automatically flash every 4 seconds by setting
CSn_FLASH_RATE = 1, or may be triggered normally by setting CSn_FLASH_RATE = 0.
When normal triggering is selected in Flash mode, the trigger control can be either a GPIO Flash
input (see Section 20) or a register control. Setting CSn_TRIGSRC = 1 selects GPIO as the trigger.
The flash will be edge triggered by the selected GPIO input. Setting CSn_TRIGSRC = 0 selects the
register field CSn_DRIVE as the trigger. In this case, writing a 1 to CSn_DRIVE will trigger a flash;
this bit will be reset at the end of the flash.
In all flash modes, the duration of each flash is set by CSn_FLASH_DUR. The status of each current
sink may be read from the CSn_DRIVE bits.
In all modes, the current sink must also be enabled via the applicable CSn_ENA bit (see Table 95).
Note that some photo-flash applications may require a reservoir capacitor to store sufficient charge
for the flash.
ADDRESS
PROGRAMMING THE SINK CURRENT
FLASH MODE
BIT
5:0
5:0
CS1_ISEL
CS2_ISEL
LABEL
DEFAULT
00 0000
00 0000
ISINKA current = 4.05μA × 2
where CS1_ISEL is an unsigned binary
number
Minimum: 00 0000 = 4.05μA,
Maximum: 11 1111 = 220mA
(from circuit simulation)
or
CS1_ISEL = 13.3 × log (desired current /
4.05μA)
ISINKB current = 4.05μA × 2
where CS2_ISEL is an unsigned binary
number
Minimum: 00 0000 = 4.05μA,
Maximum: 11 1111 = 220mA
(from circuit simulation)
or
CS2_ISEL = 13.3 × log (desired current /
4.05μA)
DESCRIPTION
PD, June 2009, Rev 4.1
Production Data
CSn_ISEL/4
CSn_ISEL/4
150

Related parts for wm8350