Datasheet

TSYS01-FAMILY
Digital Temperature Sensor
SENSOR SOLUTIONS /// TSYS01-FAMILY
06/2018
Page 4
Pin function table
Pin
Name
Type
Function
1
V
SS
G
Ground
2
CSB
DI
SPI: Chip Select (active low)
I
2
C: Address Selection
3
SCLK/SCL
DI
SPI: Serial Data Clock
I
2
C: Serial Data Clock
4
SDI/SDA
DIO
SPI: Serial Data Input
I
2
C: Data Input / Output
5
SDO
DO
SPI: Serial Data Output
6 14
NC
---
Not connected / Do not connect
15
V
DD
P
Supply Voltage
16
PS
DI
Communication protocol select (0=SPI, 1=I
2
C)
---
DAP
---
Die Attach Pad, suggested to connect to V
SS
Interface description
PROTOCOL SELECTION
PS pin input level has to be defined in dependence to protocol selection.
PS = 0 activates SPI.
PS = 1 activates I2C.
I
2
C INTERFACE
A I
2
C communication message starts with a start condition and it is ended by a stop condition.
Each command consists of two bytes: the address byte and command byte.
I
2
C ADDRESS SELECTION
The I
2
C address can be selected by CSB pin.
CSB=1 the address is 1110110x.
CSB=0 the address is 1110111x.
Therefore, two TSYS01 can be interfaced on the same I
2
C bus.
SPI INTERFACE
The serial interface is a 4-wire SPI bus, operating as a slave. CS (chip select), SCLK (serial clock), SDI
(serial data in), and SDO (serial data out) are used to interact with the SPI master.
Communication with the chip starts when CS is pulled to low and ends when CS is pulled to high.
SCLK is controlled by the SPI master and idles low (SCLK low on CS transitions, mode 0).
A mode where the clock alternatively idles high is also supported (mode 3).