ams TMD2755 Temperature Sensor Function User Manual
AMS TMD2755 is a highly sensitive and versatile temperature sensor that offers precise temperature readings in various applications. It features a wide temperature measurement range, allowing you to accurately monitor temperatures in different environments. The device is also equipped with a programmable interrupt function, enabling you to set specific temperature thresholds and receive alerts when those thresholds are reached. Additionally, the TMD2755 has a low power consumption, making it suitable for battery-powered applications.
広告
広告
Application Note
AN001016
TMD2755 Temperature
Sensor Function
Register Description and Usage
v1-00 • 2021-Feb-19
Document Feedback TMD2755 Temperature Sensor Function
Content Guide
Content Guide
Introduction ................................... 3
Register Descriptions ................... 4
Settings for the Temperature Sensor ........... 4
Driver .............................................. 6
Sequences from Prox to Temp Sensor ........ 6
Sequences from Temp Sensor to Prox ........ 6
Revision Information ..................... 8
Legal Information ........................... 9
Application Note • PUBLIC
AN001016 • v1-00 • 2021-Feb-19
9
│ 2
Document Feedback TMD2755 Temperature Sensor Function
Introduction
1 Introduction
The purpose of this document is to describe TMD2755 registers that are related to the temperature sensor functionality and how to use them correctly. These registers are not published in the TMD2755 datasheet.
Application Note • PUBLIC
AN001016 • v1-00 • 2021-Feb-19
9
│ 3
Document Feedback
2 Register Descriptions
2.1 Settings for the Temperature Sensor
2.1.1 CFG1 Register (0x91) Bit 7 enab_temp_sensor (Bit7)
Access RW
Description: Enable or disable the comparator for temp sensor
Default 0: Disable temp sensor comparator
Set to 1: Enable temp sensor comparator
2.1.2 ADCCFG Register (0xBF) Bit [1:0] adc_sel (Bit [1:0])
Access RW
Description: ADC input selection
Default 0: ADC input path for normal prox operation
Set to 1: ADC input path for temp sensor
2.1.3 ADCCFG Register (0xBF) Bit [3:2] adc_settling (Bit [3:2])
Access RW
Description: ADC settling time selection
Default 1: 2 µs for normal prox operation
Set to 3: 8 µs for temp sensor
TMD2755 Temperature Sensor Function
Register Descriptions
Application Note • PUBLIC
AN001016 • v1-00 • 2021-Feb-19
9
│ 4
2.1.4
Document Feedback TMD2755 Temperature Sensor Function
Register Descriptions
CALIB Register (0xD7) Bit 1 start_adc (Bit 1)
Access WS_SC (Write to start – self clearing)
Description: Manually start ADC conversion
Default 0: No manual ADC start
Set to 1: Manually start ADC conversion for temp sensor (ADC conversion is automatic for prox when
PEN is enabled)
Application Note • PUBLIC
AN001016 • v1-00 • 2021-Feb-19
9
│ 5
Document Feedback TMD2755 Temperature Sensor Function
Recommended Sequences in SW Driver
3 Recommended Sequences in SW Driver
In some applications, there is a need to get the chip temperature information by reading out temp sensor ADCs periodically. At each time of setting up temp sensor and reading 10-bit temp ADCs from
PDATA registers, the ongoing prox operation is affected. The sequences in the SW driver have to be optimized to reduce turnaround time, and avoid unwanted prox related interrupts if it operates in interrupt mode.
3.1 Sequences from Prox to Temp Sensor
Figure 1 below shows a recommended sequence from normal prox operation to temp sensor
operation. The minimum lengths of the timers required are related to some of the prox configurations being used in an application.
Figure 1:
Sequences from Prox to Temp Sensor
Sequence Step
12
13
14
7
8
9
10
11
5
6
3
4
0
1
2
Actions/States
Ongoing prox operation
Disable PEN
Start timer1
Timer1 expires
Disable prox-related INTs
Clear prox-related flags
Disable PWEN
Disable hw prox_avg
Set enab_temp_sensor bit to 1
Set adc_sel to 1
Set adc_settling to 3 (8µs)
Set start_adc bit to 1
Start timer2
Timer2 expires
Read 10-bit temp ADC from Pdata registers
Notes
Enable Register (x80)
INTENAB Register (0xDD)
STATUS Register (0x94)
Enable Register (x80)
CALIBCFG Register (0xD9)
CFG1 Register (0x91) Bit 7
ADCCFG Register (0xBF) Bit [1:0]
ADCCFG Register (0xBF) Bit [3:2]
CALIB Register (0xD7) Bit 1
Pdata Registers 0x99 and 0x9A
3.2 Sequences from Temp Sensor to Prox
Figure 2 below shows a recommended sequence from temp sensor operation to prox operation. The
minimum lengths of the timer required are related to some of the prox configurations being used in an application.
Application Note • PUBLIC
AN001016 • v1-00 • 2021-Feb-19
9
│ 6
Document Feedback
Figure 2:
Sequences from Temp Sensor to Prox
TMD2755 Temperature Sensor Function
Recommended Sequences in SW Driver
Sequence Step
6
7
4
5
2
3
0
1
8
9
10
11
Actions/States
Temp sensor option just finished
Set enab_temp_sensor bit to 0
Set adc_sel to 0
Set adc_settling to 1 (2µs)
Clear prox-related flags
Enable prox-related INTs
Set hw prox_avg to its original setting
Enable PWEN
Enable PEN
Start timer
Timer expires
First valid Pdata available. Prox now running
Notes
CFG1 Register (0x91) Bit 7
ADCCFG Register (0xBF) Bit [1:0]
ADCCFG Register (0xBF) Bit [3:2]
STATUS Register (0x94)
INTENAB Register (0xDD)
CALIBCFG Register (0xD9)
Enable Register (x80)
Enable Register (x80)
Pdata Registers 0x99 and 0x9A
Application Note • PUBLIC
AN001016 • v1-00 • 2021-Feb-19
9
│ 7
Document Feedback
4 Revision Information
TMD2755 Temperature Sensor Function
Revision Information
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.
Application Note • PUBLIC
AN001016 • v1-00 • 2021-Feb-19
9
│ 8
Document Feedback
5 Legal Information
TMD2755 Temperature Sensor Function
Legal Information
Copyrights & Disclaimer
Copyright ams 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.
Information in this document is believed to be accurate and reliable. However, ams AG does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such information.
Applications that are described herein are for illustrative purposes only. ams AG makes no representation or warranty that such applications will be appropriate for the specified use without further testing or modification. ams AG takes no responsibility for the design, operation and testing of the applications and end-products as well as assistance with the applications or end-product designs when using ams AG products. ams AG is not liable for the suitability and fit of ams AG products in applications and end-products planned. ams 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 or applications described herein. No obligation or liability to recipient or any third party shall arise or flow out of ams AG rendering of technical or other services. ams AG reserves the right to change information in this document at any time and without notice.
RoHS Compliant & ams Green Statement
RoHS Compliant: The term RoHS compliant means that ams 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 AG knowledge and belief as of the date that it is provided. ams 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 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 AG and ams AG suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release.
Headquarters ams 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 [email protected]
Application Note • PUBLIC
AN001016 • v1-00 • 2021-Feb-19
9
│ 9
ダウンロード
広告