WM8350GEB/V Wolfson Microelectronics, WM8350GEB/V Datasheet - Page 176

no-image

WM8350GEB/V

Manufacturer Part Number
WM8350GEB/V
Description
Audio CODECs Audio CODEC plus pwr management
Manufacturer
Wolfson Microelectronics
Datasheet

Specifications of WM8350GEB/V

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
WM8350
19.4 AUXADC READBACK
w
Measured data from the AUXADC can be accessed by reading registers R152 through to R159, as
defined in Table 116. This data may be read at any time, or may be read in response to the WM8350
indicating that new data is available.
The WM8350 indicates that new AUXADC data is available by setting the AUX_DATARDY_EINT
interrupt flag as described in Section 19.7. This is one of five second-level interrupts which triggers a
first-level System Interrupt, AUXADC_INT (see Section 24). This interrupt can be masked by setting
the mask bit as described in Table 119. The AUX_DATARDY_EINT interrupt is set high when new
data is available. It is reset when the associated interrupt register R26 is read.
The WM8350 can also indicate that new AUXADC data is available via a GPIO pin configured as
ADA (Aux Data Available). This flag is set high when new data is available. It is reset when the
associated data has been read from the readback registers R152 through to R159. See Section 20
for details of how to configure a GPIO pin as ADA.
To avoid losing data that has not yet been read, the WM8350 can inhibit overwriting the
measurement registers with new data until the previous data has been read. When the
AUXADC_WAIT bit is set, then AUXADC measurements are prevented from being overwritten until
they have been read. Any Poll, Continuous or Mask-triggered AUXADC measurement will be ignored
if the AUXADC_WAIT feature prevents the measurement from being overwritten.
Always specify the address of the starting register. Single data read from last register is not
supported.
Reading from registers R152 to R159 returns a 12-bit code which represents the most recent
AUXADC measurement on the associated channel. This code can be equated to the actual voltage
(or temperature) according to the following equations:
To calculate the voltage for external measurements on the AUX input pins use the following formula:
To calculate the voltage for internal AUXADC measurements on USB, LINE and Battery:
To calculate the temperature (in degrees Celsius) from AUXADC measurements on TEMP:
where-
In a typical application, the AUX1 input is the battery pack temperature sensing (NTC) input. The
voltage at this input may be used as an indicator of the battery pack temperature.
The NTC input should be measured relative to the VRTC voltage. The hot temperature threshold
(CHG_BATT_HOT_EINT) corresponds to 0.33 x VRTC. This equates to approximately +45°C. The
cold temperature threshold (CHG_BATT_COLD_EINT) corresponds to 0.74 x VRTC. This equates to
approximately 0°C.
AUXn = (Output Code / 4095) x Reference Voltage x AUX Input Scale
USB, LINE & BATT = (Output Code / 4095) x VRTC x 2
Temperature = 460.32 - ((Output Code / 4095) x VRTC x 614.6)
Output Code = the relevant AUXADC_DATA field, decoded as an unsigned integer
Reference Voltage = VRTC voltage or VREF voltage, depending on AUXADC_REFn
AUX Input Scale = 1, 2 or 4, depending on AUXADC_SCALEn [1:0]
PD, March 2010, Rev 4.2
Production Data
176

Related parts for WM8350GEB/V