AS6221T AMSCO | Alldatasheet

Document overview

  • Manufacturer or author: Provided By alldatasheet.com(free datasheet download site)
  • PDF pages: 37

Technical content

Digital Temperature Sensor v1-00 • 2022-Apr-08

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 2 Content Guide 8 Package Drawings & Markings ... 34

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 3

1 General Description

The AS6221T IC is a high accuracy digital temperature sensor system that communicates via a 2-wire digital bus with other devices. It consists of a Si bandgap temperature sensor, an ADC and a digital signal processor. This sensor is especially designed to be used in applications where a high measurement accuracy is needed, for example measuring the skin temperature. Beside these applications, it can also be used to replace PTC resistors. The high temperature accuracy and an ultra-low power consumption (low operation and quiescent current) makes the AS6221T ideally suited for mobile/battery powered applications. The AS6221T is an easy to integrate and use solution, featuring a factory-calibrated sensor, integrated linearization and the possibility to use 8 different I²C addresses, enabling to use eight AS6221T devices on one bus. Additionally the AS6221T temperature sensor system features an alert functionality, which triggers e.g. an interrupt to protect devices from excessive temperatures. The AS6221T production test setup is calibrated according NIST and the verification equipment is calibrated by an ISO/IEC-17025 accredited laboratory.

1.1 Key Benefits & Features

The benefits and features of AS6221T are listed below: Figure 1: Added Value of Using AS6221T Benefits Features High Measurement Accuracy ± 0.09 °C (20 °C to 42 °C) Low Power Consumption 6 µA @ Operation (typical, @ 4 Hz) 0.1 µA @ Standby (typical) Supply Voltage Range 1.71 – 1.98 V (0 °C to 60 °C) Small PCB Footprint 1.5 mm x 1 mm (WLCSP)

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 4

1.2 Applications

  • Fitness/Health Wristbands
  • Personal Computers
  • Wearables
  • HVAC
  • Replacement of PTCs
  • Electronic Equipment
  • Tablets
  • Convertibles
  • Laptop

1.3 Block Diagram

The functional blocks of this device are shown below: Figure 2 : Functional Blocks of AS6221T In Figure 2 the functional blocks are depicted. The sensing element for sensing the temperature is a Si bipolar transistor. The analog signal of the sensing element is converted into a digital signal by the A/D converter and the signal is further processed by a digital signal processor and written into the registers. The registers can be accessed via the serial bus interface (I²C bus). Temperature Sensor Analog Frontend A/D Converter Digital Signal Processing Registers Oscillator Control Logic I²C Interface AS6221T VDD VSS ADD0 ADD1/Alert SCL SDA

Ordering Information

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 5

2 Ordering Information

Ordering Code Package Marking Delivery Form Delivery Quantity AS6221T-AWLT-S WLCSP AS622T Tape & Reel 500 pcs/reel AS6221T-AWLT-L WLCSP AS622T Tape & Reel 5000 pcs/reel

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 6

3 Pin Assignment

3.1 Pin Diagram

Figure 3: Pin Assignment WLCSP View from top SCL VSS ALERT SDA VDD ADD0 A1 Pin Indicator In Figure 3 the pin assignment of the WLCSP package is shown. The viewing side is from the top. The A1 pin is also marked with a point on the top side

3.2 Pin Description

Figure 4: Pin Description of AS6221T (WLCSP) Pin Number Pin Name Pin Type(1) Description A1 SDA DIO_SOD Serial Interface Data A2 SCL DI_S Serial Interface Clock B1 VDD S Positive Supply Voltage B2 VSS S Ground Pin C1 ADD0 DI_S Address Select 0

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 7 Pin Number Pin Name Pin Type(1) Description C2 ALERT/ADD1 DIO_SOD Alert Output and Address Select 1 (1) Explanation of abbreviations: S Supply DI_S Digital Schmitt Trigger Input DIO_SOD Digital Schmitt Trigger Input / Open Drain Output In Figure 4 the pins of AS6221T are described. External pull up resistors (to VDD) are necessary for the pins “SDA” and “SCL”. The pin “ADD0” must not be left unconnected (refer to section 6.3.3 for further details). The pin “ALERT/ADD1” is used to set the I²C address and has the additional functionality of triggering an interrupt. In case this ALERT functionality is used, a pull up resistor (to VDD) is necessary. If this functionality is not used it must be connected to VSS or SCL, depending on the selected I²C address (refer to section 6.3.3 for further details). It must not be left unconnected.

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 8

4 Absolute Maximum Ratings

Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only. Functional operation of the device at these or any other conditions beyond those indicated under “Operating Conditions” is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Figure 5 Symbol Parameter Min Max Unit Comments Electrical Parameters VDD / VSS Supply Voltage to VSS -0.3 4 V Reference to VSS VDIO IO Pin Voltage -0.3 4 V Reference to VSS I_SCR Input Current (latch up immunity) -100 100 mA According to JESD78E Electrostatic Discharge ESDHBM Electrostatic Discharge HBM ±2000 V JS-001-2017 ESDCDM Electrostatic Discharge CDM ±500 V JS-002-2018 Temperature Ranges and Storage Conditions TA Operating Ambient Temperature -40 125 °C TJ Operating Junction Temperature -40 125 °C TSTRG Storage Temperature Range -55 125 °C RHNC Relative Humidity (non- condensing) 5 85 % MSL Moisture Sensitivity Level 1 Unlimited floor life time (1) The reflow peak soldering temperature (body temperature) is specified according to IPC/JEDEC J-STD-020 “Moisture/Reflow Sensitivity Classification for Nonhermetic Solid State Surface Mount Devices.”

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 9

5 Operating Conditions

The AS6221T is a complete sensor system that has an integrated sensing element, the analog frontend, the A/D converter and the digital signal processing part. The digital signal processing part consists of the signal processor, the registers and the serial bus interface.

5.1 Analog System Parameters

Figure 6: Analog System Parameters of AS6221T Parameter Symbol Min Typ Max Unit Note Supply Voltage VDD 1.71 1.8 1.98 V T= 0 °C to 60 °C Temperature Range T 0 60 °C Standby Current Consumption IDD 0.1 0.7 µA T= 0 °C to 45 °C 1.5 µA T= 45 °C to 60 °C Current Consumption (4 conversions /s) IDD 6 8 µA T= 0 °C to 45 °C Serial bus inactive 9.5 µA T= 45 °C to 60 °C Serial bus inactive Resolution N 16 Bits Conversion Time TS 22 36 51 ms Conversion Rate NS 0.25 Conv CR[1:0]=00 CR[1:0]=01 CR[1:0]=10 CR[1:0]=11 Supply Voltage Rise Time TRise_VDD 20 ms from 0.1 V to 1.6 V Supply Voltage Slew Rate SR_VDD 50 mV/ ms from 0.1 V to 1.6 V In Figure 6 an overview of the analog system parameters is given. The current consumption for less than 4 conversions per second is lower than the values given in Figure 6.

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 11

5.2 Digital System Parameters

Figure 9: Digital System Parameters of AS6221T Parameter Symbol Pins Min Typ Max Unit Note High Level Input Voltage V_IH SCL, ADD0 0.7 * VDD V Low Level Input Voltage V_IL SCL, ADD0 0.3 * VDD V Hysteresis Voltage V_HYST SCL,ADD0, SDA,Alert 700 mV Input Leakage Current I_LEAK SCL;ADD0 -1 1 µA V_IL=0.0 V Low Level Output Voltage V_OL Alert VSS+0.4 V I_OL=3 mA High Level Input Voltage V_IH SDA 0.7 * VDD V Low Level Input Voltage V_IL SDA 0.3*VDD V Low Level Output Voltage V_OL SDA VSS+0.4 V Tristate Leakage Current I_OZ SDA -10 10 µA to VSS In Figure 9 an overview of the digital system parameters is given.

5.3 Thermal Information

Figure 10: Thermal Information of AS6221T Parameter Symbol Value Unit Junction to case (top) thermal resistance RJC 33.4 K/W Junction to ball (not board) thermal resistance RJB 9 K/W Case to ambient thermal resistance RCA 31056 K/W Junction to ambient thermal resistance (top) RJC + RCA RJA 31089.4 K/W Thermal mass Mt 1 mJ/K

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 12

6 Register Description

6.1 Register Overview

Figure 11 : Register Map with Serial Interface In Figure 11 the registers that the device contains are shown. With the use of the index register, it is possible to address the specific register. The index register is an 8-bit register, where only bits 0 and 1 are used as shown in Figure 12 and all other bits are set to 0 and read only.

6.1.1 Index Register

Figure 12: Index Register Bit Bit Name Default Access

0 Address Bit 0 RW

1 Address Bit 0 RW

2 Reserved 0 RO

3 Reserved 0 RO

4 Reserved 0 RO

5 Reserved 0 RO

6 Reserved 0 RO

7 Reserved 0 RO

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 13 Figure 13: Register Map Address Symbol Register Description 0x0 TVAL Temperature Register Contains the temperature value 0x1 CONFIG Configuration Register Configuration settings of the temperature sensor 0x2 TLOW TLOW Register Low temperature threshold value 0x3 THIGH THIGH Register High temperature threshold value The first 2-bit addresses in the index register define the access to the registers shown in Figure 13. This means that in order to access the different registers, the index register must be set accordingly. With the exception of the TVAL register (which contains the temperature value data), all registers are read/write accessible.

6.2 Detailed Register Description

6.2.1 Configuration Register (Address 0x1)

Figure 14: CONFIGURATION Register Addr: 0x1 Bit Bit Name Default Access Bit Description

0 Reserved 0 RO Reserved

1 Reserved 0 RO Reserved

2 Reserved 0 RO Reserved

3 Reserved 0 RO Reserved

4 Reserved 0 RO Reserved

5 AL 1 RO Alert Bit (AL)

6 CR[0] 0 RW Conversion RATE (CR)

7 CR[1] 1 RW Conversion RATE (CR)

8 SM 0 RW Sleep Mode (SM)

9 IM 0 RW Interrupt Mode (IM)

10 POL 0 RW Polarity (POL)

11 CF[0] 0 RW Consecutive Faults (CF)

12 CF[1] 0 RW Consecutive Faults (CF)

13 Reserved 0 RO Reserved

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 14 Addr: 0x1 Bit Bit Name Default Access Bit Description

14 Reserved 1 RO Reserved

15 SS 0 RW Single Shot

The configuration register is a 16-bit register which defines the operation modes of the device. Any read/write operation processes the MSB byte first. In Figure 14 the configuration register is shown. The bits 0-4 and 13-14 are not to be used and are set to read only. The explanation of the other bits are detailed in the following sections.

6.2.2 Alert Bit

The alert bit can be used to easily compare the current temperature reading to the thresholds that can be set in the TLWO and THIGH registers. If the polarity bit is set to 0, the AL bit is read as 1 until the converted temperature value exceeds the defined value in the high temperature threshold register THIGH for the number of defined consecutive faults (bits CF). Such an event causes the AL bit to toggle to 0 and the value is kept until the converted temperature value falls below the defined value in the low temperature threshold register TLOW for the number of defined consecutive faults. If this condition is met, the AL bit is reset to 1. The polarity bit (POL) defines the active state of the alert bit as depicted in the following figure. The alert bit has the same setting as the alert output as long as the device is configured for the comparator mode. Figure 15: State Diagram of the Alert Bit

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 15

6.2.3 Conversion Rate Bits

The conversion rate bits define the number of executed temperature conversions per time unit. Additional readouts of the temperature register between conversions are possible but not recommended because the value is changed only after a conversion is finished. Values of 125 ms, 250 ms, 1 s and 4 s for a conversion can be configured while the default rate is set to 4 conversions per second. The following table summarizes the different configuration settings: Figure 16: Conversion Rate Configuration Conversion Rate Bits Conversion Rate Bit 7 Bit 6 Conv/s 0 0 0.25 0 1 1 1 0 4 1 1 8 The device immediately starts a conversion after a power-on sequence and provides the first result after typ. 36 ms (max. 51 ms). A higher power consumption occurs during the actual conversion while the device stays in the standby mode after a finished conversion until the next conversion is activated. This is shown in the following figure. Figure 17: Conversion Sequence

6.2.4 Sleep Mode

The sleep mode is activated by setting the bit SM in the configuration register to 1. This shuts the device down immediately and reduces the power consumption to a minimum value.

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 16 The serial interface is the only active circuitry in the sleep mode in order to provide access to the digital registers. Entering the sleep mode will take some time (120 ms maximum) and the first conversion after the sleep mode has been entered takes longer than the values specified in Figure 6. It is therefore recommended when entering sleep mode to trigger a single shot conversion at the same time. After 150 ms (max), the device has then entered the sleep mode and subsequent conversion times are as specified in Figure 6. After resetting the SM bit to 0, the device enters the continuous conversion mode. Figure 18: Sleep Mode Configuration Sleep Mode Bit Operation Mode

0 Continuous Conversion Mode

1 Sleep Mode

6.2.5 Interrupt Mode

The interrupt mode bit defines whether the device operates in the temperature comparator mode or the interrupt mode. This defines the operation of the ALERT output as described in the polarity section bit. Figure 19: Interrupt Mode Configuration Interrupt Mode Bit Configuration Mode

0 Comparator Mode

1 Interrupt Mode

The comparator mode is characterized that if the temperature value exceeds the THIGH value, the alert output is changed (e.g. from high to low if the polarity bit is set to 0 and vice versa). The alert output stays in that condition until the measured temperature drops below the defined TLOW value. The interrupt mode is characterized that it changes the alert output as soon as the measured temperature crosses the THIGH or TLOW value threshold. The alert bit has the same setting as the alert output if the device is set to comparator mode.

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 17 Figure 20: Alert Output Functionality

6.2.6 Polarity Bit

The polarity bit configures the polarity of the ALERT output. If the polarity bit is cleared, the ALERT output is low active while it becomes high active if the polarity bit is set to ‘1’. Figure 21: Polarity Bit Configuration Polarity Bit ALERT Output

0 Active low

1 Active high

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 18

6.2.7 Consecutive Faults

A fault condition persists if the measured temperature either exceeds the configured value in register THIGH or falls below the defined value in register TLOW. As a result, the ALERT pin indicates the fault condition if a defined number of consecutive temperature readings meets this fault condition. The number of consecutive faults are defined with two bits (12 and 11) and prevent a false alert if environmental temperature noise is present. The register configuration is shown in the following table. Figure 22: Consecutive Faults Bit Settings Consecutive Fault Bits Consecutive Faults (N) Bit 13 Bit 12 0 0 1 0 1 2 1 0 3 1 1 4

6.2.8 Single Shot Conversion

The device features a single shot measurement mode if the device is in sleep mode (SM=1). By setting the “Single Shot-bit” to 1, a single temperature conversion is started and the SS-bit can be read as 1 during the active conversion operation. Once the conversion is completed, the device enters the sleep mode again and the SS-bit is set to 0. The single shot conversion allows very low power consumption since a temperature conversion is executed on demand only. This allows a user defined timing of the temperature conversions to be executed and is used if the consecutive operation mode is not required. The first conversion triggered in this mode has a longer conversion time. In the section 6.2.4 Sleep Mode it is detailed together with the recommendation to trigger the first conversion simultaneously with entering the sleep mode. As the device exhibits a very short conversion time, the effective conversion rate can be increased by setting the single shot bit repetitively after a conversion has finished. However, it has to be ensured that the additional power is limited, otherwise self-heating effects have to be considered. Figure 23: Single Shot Conversion Bit Settings Single Shot Bit Conversion

0 No conversion ongoing/ conversion finished

1 Start single shot conversion / conversion ongoing

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 19

6.2.9 High and Low Limit Registers

If the comparator mode is configured (IM=0), the ALERT output becomes active if the temperature equals or exceeds the defined value in register THIGH for the configured number of consecutive faults (N). This configuration is defined by the field CF in the configuration register. The ALERT output remains assigned until the converted temperature value equals or falls below the defined value in register TLOW for the same number of consecutive fault cycles. If the interrupt mode is configured (IM=1), the ALERT output becomes active if the temperature equals or exceeds the defined value in register THIGH for the configured number of consecutive fault cycles. It remains active until a read operation is executed on any register. The ALERT output is also cleared if the device is set into sleep mode by setting bit SM in the configuration register. Once the ALERT output is cleared, it is activated again only if the temperature value falls below the configured value in register TLOW. It remains active unless a read operation has taken place. This sequence is repeated unless the device is set into the comparator mode. This reset command clears the interrupt mode bit and consequently puts the device into the comparator mode. The sequential behavior is summarized in the following Figure 24.

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 20 Figure 24: Alert Operation Modes The following table defines the content of the registers TLOW and THIGH. For data transmission, the MSB byte is transmitted first, followed by the LSB byte. The data format for representing the threshold temperatures is equal to the temperature register (TVAL). After a power-up, the registers are initialized with the following default values: ALERT output cleared ALERT output active ALERT output cleared ALERT output active T ≥ THIGH for N consecutive cycles Read operation or Set to sleep mode T ≤ TLOW for N consecutive cycles Read operation or Set to sleep mode Interrupt Mode ALERT output cleared ALERT output active Comparator Mode T ≥ THIGH for N consecutive cycles T ≤ TLOW for N consecutive cycles IM=1IM=0General Reset Command

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 21 Figure 25: Default Values for THIGH and TLOW Register Temperature Binary Value TLOW Programmable 0010 0101 1000 0000 (75°C) THIGH Programmable 0010 1000 0000 0000 (80°C) The following table defines the register bits of the THIGH and TLOW register. Figure 26: Register Bit Settings for THIGH/TLOW Addr: 0x2 / 0x3 Bit TLOW Register THIGH Register Access 0 0 0 Permanently set to 0 1 0 0 Permanently set to 0 2 0 0 Permanently set to 0 3 0 0 Permanently set to 0

4 L4 H4 RW

5 L5 H5 RW

6 L6 H6 RW

7 L7 H7 RW

8 L8 H8 RW

9 L9 H9 RW

10 L10 H10 RW

11 L11 H11 RW

12 L12 H12 RW

13 L13 H13 RW

14 L14 H14 RW

15 L15 H15 RW

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 22

6.2.10 Temperature Register (Address 0x0)

Figure 27: Temperature Value Register Addr: 0x0 Bit Bit Name 0 T0 1 T1 2 T2 3 T3 4 T4 5 T5 6 T6 7 T7 8 T8 9 T9

10 T10

11 T11

12 T12

13 T13

14 T14

15 T15

The temperature register contains the digitally converted temperature value and can be read by setting the index pointer to the TVAL register (0x0). Two consecutive bytes must be read to obtain the complete temperature value. The MSB byte (Bits 15 to 8) is transmitted upon the first read access and the LSB byte (Bits 7 to 0) is transmitted after the second read access. A temperature value is represented as a two complement value in order to cover also negative values. After power-up, the temperature value is read as 0 °C until the first conversion has been completed. One LSB corresponds to 0.0078125 °C (=1/128 °C). The binary values can be calculated according to the following formulas: Positive values: |Value| / LSB Negative values: Complement (|Value| / LSB ) + 1

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 23 Example 50 °C: 50°𝐶/0.0078125°𝐶 = 6400 = 𝐵𝑖𝑛𝑎𝑟𝑦 0001 1001 0000 0000 = 𝐻𝑒𝑥 1900 Figure 28: Temperature Conversion Examples Temperature (°C) Digital Output (Binary) Digital Output (Hex) 60.0 0001 1110 0000 0000 1E00 50.0 0001 1001 0000 0000 1900 25.0 0000 1100 1000 0000 0C80 0.125 0000 0000 0001 0000 0010 0.0078125 0000 0000 0000 0001 0001 0.0 0000 0000 0000 0000 0000

6.3 Serial Interface

The device employs a standard I²C-serial bus.

6.3.1 Bus Description

A data transfer must be invoked by a master device (e.g. microcontroller) which defines the access to the slave device. The master device defines and generates the serial clock (SCL) and the start/stop conditions. In order to address a specific device, a START condition has to be generated by the master device by pulling the data line (SDA) from a logic high level to a logic low level while the serial clock signal (SCL) is kept at high level. After the start condition, the slave address byte is transmitted which is completed with a ninth bit which indicates a read (bit=’1’) or a write operation (bit=’0’) respectively. All slaves read the data on the rising edge of the clock. An acknowledge signal is generated by the addressed slave during the ninth clock pulse. This acknowledge signal is produced by pulling the pin SDA to a low level by the selected slave. Subsequently, the byte data transfer is started and finished by an acknowledge bit. A change in the data signal (SDA) while the clock signal (SCL) is high causes a START or STOP condition. Hence, it must be ensured such a condition is prevented during a data transfer phase. After completing the data transfer, the master generates a STOP condition by pulling the data line (SDA) from low level to high level while the clock signal (SCL) is kept at high level.

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 24

6.3.2 Data Interface

A bus connection is created by connecting the open drain input/output lines SDA and SCL to the two wire bus. The inputs of SDA and SCL feature Schmitt-trigger inputs as well as low pass filters in order to suppress noise on the bus line. This improves the robustness against spikes on the two wire interface. Both fast transmission mode (1 kHz to 400 kHz) and high-speed transmission mode (1 kHz to 3.4 MHz) are employed to cover different bus speed settings. Any data transfer transmits the MSB first and the LSB as last bit.

6.3.3 Bus Address

A slave address consists of seven bits, followed by a data direction bit (read/write operation). The slave address can be selected from 8 different address settings by connecting the pin ADD0 and ADD1 to an appropriate signal as summarized in Figure 29. The ADD0 and the ADD1 pin must not be left unconnected. The address selection with ADD1 is depending on the usage of the ALERT function (described in chapter 6.3.8). In case the ALERT functionality is used, it must be connected via a pull up resistor to VDD. In case the ALERT functionality is not used, the pin must be connected to either SCL or VSS (refer to Figure 29 for details). Figure 29: I²C Address Select Configuration ALERT / ADD1 Connection ADD0 Connection Alert Functionality Enabled Device Address (bin) Device Address (hex) SCL VSS No 100 0100 0x54 SCL VDD No 100 0101 0x55 SCL SDA No 100 0110 0x56 SCL SCL No 100 0111 0x57 VSS VSS No 100 1000 0x58 VSS VDD No 100 1001 0x59 VSS SDA No 100 1010 0x5A VSS SCL No 100 1011 0x5B Pull up to VDD VSS Yes 100 1000 0x58 Pull up to VDD VDD Yes 100 1001 0x59 Pull up to VDD SDA Yes 100 1010 0x5A

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 25 ALERT / ADD1 Connection ADD0 Connection Alert Functionality Enabled Device Address (bin) Device Address (hex) Pull up to VDD SCL Yes 100 1011 0x5B

6.3.4 Read/Write Operation

In order to access an internal data register, the index register must be written in advance. This register contains the actual register address and selects the appropriate register for an access. A typical transfer consists of the transmission of the slave address with a write operation indication, followed by the transmission of the register address and is finalized with the actual register content data transfer. This implies that every write operation to the temperature sensor device requires a value for the index register prior to the transmission of the actual register data. The index register defines the register address for both the write and read operation. Consequently, if a read operation is executed, the register address is taken from the index register which was defined from the last write operation. If a different register needs to be read, the index register has to be written in advance to define the new register address. This is accomplished by transmitting the slave address with a low R/W bit, followed by the new content of the index register. Subsequently, the master provokes a START condition on the bus and transmits the slave address with a high R/W bit in order to initiate a read operation. Since the index register always keeps its last value, reads can be executed repetitively on the same register. Similarly to the byte transfer where the MSB is transmitted first, the transfer of a 16-bit word is executed by a two byte transfer whereas the MSB byte is always transmitted first.

6.3.5 Slave Operation

The device employs a slave functionality only (slave transmitter and slave receiver) and cannot be operated as a bus master. Consequently, the device never actively drives the SCL line.

6.3.6 Slave Receiver Mode

Any transmission is invoked by the master device by transmitting the slave address with a low R/W bit. Subsequently, the slave device acknowledges the reception of the valid address by pulling the ninth bit to a low level. Following to acknowledge, the master transmits the content of the index register. This transfer is again acknowledged by the slave device. The next data byte(s) are written to the actual data register which is selected by the index register while each transfer is acknowledged upon a completed transfer by the slave device. A data transfer can be finished if the master transmits a START or a STOP condition on the bus.

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 26

6.3.7 Slave Transmitter

The master transmits the slave address with a high R/W bit. In turn, the slave acknowledges a valid slave address. Subsequently, the slave transmits the MSB byte of the actual selected data register by the index register. After the MSB byte transmission, acknowledge is sent by the master. Afterwards, the LSB byte is transmitted by the slave which is also acknowledged by the master after the completed transmission. The data transfer can be terminated by the master by transmitting a Not- Acknowledge after the transmitted slave data or by invoking a START or a STOP condition on the bus.

6.3.8 Alert Function

If the device is configured for an interrupt mode operation (IM=1), the ALERT output can be used as an alert signal. If the polarity bit is set to ‘0’ (POL=’0’), the alert condition bit is set to ‘0’ in case the temperature has exceeded the configured value in register THIGH. Accordingly, the alert condition bit is set to ‘1’ if the temperature has fallen below the configured value in register TLOW. If the polarity bit is set to ‘1’ (POL=’1’), the alert condition bit is inverted. The following table summarizes the status of the alert condition bit with different alert conditions and polarity configurations. Figure 30: Alert Condition Bit Polarity Bit Alert Condition Alert Condition Bit (AC-Bit)

0 T ≥ THIGH 0

0 T ≤ TLOW 1

1 T ≥ THIGH 1

1 T ≤ TLOW 0

6.3.9 High Speed Mode

The bus operation is limited to 400 kHz unless a high speed command is issued by the master device as the first byte after a START condition. This switches the bus to a high speed operation which allows data transfer frequencies up to 3.4 MHz. Such a command is not acknowledged by the slave but the input filter time constants on the serial interface (SDA and SCL) are adapted to allow the higher transfer rate. After a high speed command, the slave address is transmitted by the master in order to invoke a data transfer. The bus keeps operating at the higher operating frequency until the master issues a STOP condition on the serial bus. Upon the reception of the STOP condition by the slave, the input filters are switched to their initial time constants which allow lower transfer rates only.

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 27

6.3.10 General Call

A general call is issued by the master by transmitting the general call address (000 0000) with a low R/W bit. When this command is issued on the bus, the device acknowledges this command. The device also acknowledges the second byte but ignores the data. Subsequent bytes sent by the master during the general call are not acknowledged.

6.3.11 Start Byte

When the master transmits address 000 0000 and a high R/W bit (“START byte”) the device acknowledges the address. The device then send the MSB data byte and LSB data byte, where the data corresponds to the content of the register whose address has been last written to. After reset this corresponds to the temperature register.

6.3.12 Timeout Function

The serial interface of the slave device is reset if the clock signal SCL is kept low for typ. 30 ms. Such a condition results in a release of the data line by the slave in case it has been pulled to low level. The slave remains inactive after a timeout and waits for a new START command invoked by the bus master. In order to prevent a timeout, the bus transfer rate must be higher than 1 kHz.

6.3.13 Bus Conditions

The following conditions occur on the serial bus which is compatible to the I²C-Bus. Bus Idle The signals SDA and SCL are not actively driven and pulled to a high level by an external pull-up resistor. Start Data Transfer A transition of the SDA input from high to low level while the SCL signal is kept at high level results in a START condition. Such a START condition must precede any data transfer. Stop Data Transfer A transition of the SDA input from low to high level while the SCL signal is kept at high level results in a STOP condition. Any data transfer is finished by generating a STOP or START condition. Data Transfer The master device defines the number of data bytes between a START and STOP condition and there is no limitation in the amount of data to be transmitted.

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 28 If it is desired to read only a single MSB byte without the LSB byte, a termination of the data transfer can be provoked by issuing a START or STOP condition on the bus. Acknowledge It is mandatory for each slave device to respond with acknowledge if the device is addressed by the master. Acknowledge is indicated by pulling down the data line (SDA) while the clock signal (SCL) is high in the acknowledge clock phase. In order to avoid an unwanted START or STOP condition on the bus, setup and hold times must be met. The master can signal an end of data transmission by transmitting a Not-Acknowledge on the last transmitted data byte by keeping the acknowledge bit at high level.

6.3.14 Timing Characteristics

Figure 31: Serial Interface Timing Diagram Figure 32: Bus Timing Specifications Parameter Symbol Fast Mode High Speed Mode Unit Min Max Min Max SCL clock frequency fSCL 0.001 0.4 0.001 3.4 MHz Bus free time between STOP and START condition tBUF 600 160 ns Hold time after repeated START condition tHDSTA 100 100 ns Repeated START condition setup time tSUSTA 100 100 ns Data in hold time tHDDAT 0 0 ns Data out hold time (1) tDH 100 100 ns

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 29 Parameter Symbol Fast Mode High Speed Mode Unit Min Max Min Max Data setup time tSUDAT 100 10 ns SCL clock low period tLOW 1300 160 ns SCL clock high period tHIGH 600 60 ns Clock/Data fall time tF 300 80 ns Clock/Data rise time tR 300 80 ns Clock/Data rise time for SCL≤100 kHz tR 1000 ns (1) The device will hold the SDA line high for 100 ns during the falling edge of the SCL.

6.3.15 Timing Diagrams

The following timing diagrams depict the different bus operation modes and data transmission: Figure 33: Timing Diagram for Word Write SCL SDA R W IX IX Start by master Values are defined by ADD pin setting Frame Slave Address Byte Frame Index Register Byte SCL SDA Frame MSB Data Byte Frame LSB Data Byte D D D D D D D D D D D D D D D D Continued Continued Acknowledge by slave Acknowledge by slave Acknowledge by slave Acknowledge by slave Stop by master Values are defined by ALERT/ADD1 pin setting

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 30 Figure 34: Timing Diagram for Word Read SCL SDA R W IX IX Start by master Values are defined by ADD pin setting Frame Slave Address Byte Frame Index Register Byte SCL SDA Frame Slave Address Byte Frame Register MSB Data Byte D D D D D D D D Continued Continued Acknowledge by slave Acknowledge by slave Acknowledge by slave Stop by master R W Start by master Acknowledge by master Frame Register LSB Data Byte D D D D D D D D Acknowledge by master Stop by master Values are defined by ALERT/ADD1 pin setting

Application Information

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 31

7 Application Information

Figure 35: Application Example with Using the ALERT Functionality In Figure 35 the connections of the AS6221T temperature sensor to a microcontroller and the supply voltage are shown. The AS6221T is connected to a microcontroller via an I²C bus (SDA and SCL only). Additionally the Alert output can also be used for temperature monitoring (e.g. using the interrupt mode, refer to IM bit settings), an example is given in Figure 35 where the Alert output is connected to microcontroller. Micro- controller (Bus Master) VDD 10nF VDD Address Select 0 Slave Serial Interface ALERT Interrupt Pull-up resistors RPU SDA ADD0 VDD SCL VSS ADD1/ ALERTAS6221T

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 32 Figure 36: Application Example without Using the ALERT Functionality In Figure 36 the connection without using the Alert functionality is shown. In this case the ADD1/ALERT pin is used to increase the amount of available I²C addresses. The I²C address of the AS6221T can be selected by connecting the ADD0 and ADD1 to different pins (refer to Figure 29 for details). These pins must not be left unconnected. Micro- controller (Bus Master) VDD 10nF VDD Address Select 0 Slave Serial Interface ALERT Interrupt Pull-up resistors RPU SDA ADD0 VDD SCL VSS ADD1/ ALERTAS6221T Address Select 1

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 33

7.1 External Components

Figure 37: Schematic with External Components Figure 38: Values for External Components Parameter Min Typ Unit Decoupling capacitor 10 nF Pull-up resistors 10 kΩ In Figure 37 and Figure 38 the schematics and the recommended values for external components are shown. The decoupling capacitor for the supply should have a value of at least 10 nF. In order to use the alert functionality, the ALERT/ADD1 pin must be connected via a pull up resistor to VDD. For the serial interface, pull up resistors to VDD are mandatory. The pull up resistors on the serial interface and the interrupt depend on the bus capacitance and on the clock speed. VDD 10nF VDD Address Select 0 Slave Pull-up resistors RPU SDA ADD0 VDD SCL VSS ADD1/ ALERTAS6221T Address Select 1 SCL SDA Alert

Package Drawings & Markings Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 34

8 Package Drawings & Markings

Figure 39: WLCSP Outline Drawing Columns B2 A2 A1B1C11 C B A X dx dxax ax ay aydy Y d Bottom View Rows Bottom View de ae E Side View Ref. Min No m Ma x X 147 1495 151 Y 995 1025 104 ax 347.5 dx 400 ay 312.5 dy 400 d 250 E 475 500 525 de 278 ae 22 (1) All dimensions are in micrometers. Angles in degrees. (2) Dimensioning and tolerance conform to ASME Y14.5M-1994. (3) This package contains no lead (Pb). (4) This drawing is subject to change without notice. RoHS Green

Package Drawings & Markings Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 35 Figure 40: XXXX Tracecode XXXX AS622T

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 36

9 Revision Information

Document Status Product Status Definition Product Preview Pre-Development Information in this datasheet is based on product ideas in the planning phase of development. All specifications are design goals without any warranty and are subject to change without notice Preliminary Datasheet Pre-Production Information in this datasheet is based on products in the design, validation or qualification phase of development. The performance and parameters shown in this document are preliminary without any warranty and are subject to change without notice Datasheet Production Information in this datasheet is based on products in ramp-up to full production or full production which conform to specifications in accordance with the terms of ams-OSRAM AG standard warranty as given in the General Terms of Trade Datasheet (discontinued) Discontinued Information in this datasheet is based on products which conform to specifications in accordance with the terms of ams-OSRAM AG standard warranty as given in the General Terms of Trade, but these products have been superseded and should not be used for new designs Changes from previous version to current revision v1-00 Page Initial version

  • Page and figure numbers for the previous version may differ from page and figure numbers in the current revision.
  • Correction of typographical errors is not explicitly mentioned.

Datasheet • PUBLIC DS001032 • v1-00 • 2022-Apr-08 37 │ 37

10 Legal Information

Copyrights & Disclaimer Copyright ams-OSRAM AG, Tobelbader Strasse 30, 8141 Premstaetten, Austria-Europe. Trademarks Registered. All rights reserved. The material herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. Devices sold by ams-OSRAM AG are covered by the warranty and patent indemnification provisions appearing in its General Terms of Trade. ams-OSRAM AG makes no warranty, express, statutory, implied, or by description regarding the information set forth herein. ams-OSRAM AG reserves the right to change specifications and prices at any time and without notice. Therefore, prior to designing this product into a system, it is necessary to check with ams-OSRAM AG for current information. This product is intended for use in commercial applications. Applications requiring extended temperature range, unusual environmental requirements, or high reliability applications, such as military, medical life-support or life-sustaining equipment are specifically not recommended without additional processing by ams-OSRAM AG for each application. This product is provided by ams-OSRAM AG “AS IS” and any express or implied warranties, including, but not limited to the implied warranties of merchantability and fitness for a particular purpose are disclaimed. ams-OSRAM AG shall not be liable to recipient or any third party for any damages, including but not limited to personal injury, property damage, loss of profits, loss of use, interruption of business or indirect, special, incidental or consequential damages, of any kind, in connection with or arising out of the furnishing, performance or use of the technical data herein. No obligat ion or liability to recipient or any third party shall arise or flow out of ams-OSRAM AG rendering of technical or other services. RoHS Compliant & ams Green Statement RoHS Compliant: The term RoHS compliant means that ams-OSRAM AG products fully comply with current RoHS directives. Our semiconductor products do not contain any chemicals for all 6 substance categories plus additional 4 substance categories (per amendment EU 2015/863), including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, RoHS compliant products are suitable for use in specified lead -free processes. ams Green (RoHS compliant and no Sb/Br/Cl): ams Green defines that in addition to RoHS compliance, our products are free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material) and do not contain Chlorine (Cl not exceed 0.1% by weight in homogeneous material). Important Information: The information provided in this statement represents ams-OSRAM AG knowledge and belief as of the date that it is provided. ams-OSRAM AG bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. ams-OSRAM AG has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. ams-OSRAM AG and ams-OSRAM AG suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release. Headquarters ams-OSRAM AG Tobelbader Strasse 30

8141 Premstaetten

Austria, Europe Tel: +43 (0) 3136 500 0 Please visit our website at www.ams.com Buy our products or get free samples online at www.ams.com/Products Technical Support is available at www.ams.com/Technical-Support Provide feedback about this document at www.ams.com/Document-Feedback For sales offices, distributors and representatives go to www.ams.com/Contact For further information and requests, e-mail us at ams_sales@ams.com