N34TS04
www.onsemi.com
4
Pin Description
SCL: The Serial Clock input pin accepts the Serial Clock
generated by the Master (Host).
SDA: The Serial Data I/O pin receives input data and transmits
data stored in SPD memory or in the TS registers. In transmit
mode, this pin is open drain. Data is acquired on the positive
edge, and is delivered on the negative edge of SCL.
A0, A1 and A2: The Address pins accept the device address.
These pins have on−chip pull−down resistors.
EVENT
: The open−drain EVENT pin can be programmed
to signal over/under temperature limit conditions.
Power−On Reset (POR)
The N34TS04 incorporates Power−On Reset (POR)
circuitry which protects the device against powering up to an
undetermined logic state. As V
CC
exceeds the POR trigger
level, the TS component will power up into conversion
mode and the SPD component will power up into standby
mode. Both the TS and SPD components will power down
into Reset mode when V
CC
drops below the POR trigger
level. This bi−directional POR behavior protects the
N34TS04 against brown−out failure following a temporary
loss of power. The POR trigger level is set below the
minimum operating V
CC
level.
Device Interface
The N34TS04 supports the Inter−Integrated Circuit (I
2
C)
and the System Management Bus (SMBus) data
transmission protocols. These protocols describe serial
communication between transmitters and receivers sharing a
2−wire data bus. Data flow is controlled by a Master device,
which generates the serial clock and the START and STOP
conditions. The N34TS04 acts as a Slave device. Master and
Slave alternate as transmitter and receiver. Up to 8 N34TS04
devices may be present on the bus simultaneously, and can be
individually addressed by matching the logic state of the
address inputs A0, A1, and A2.
I
2
C/SMBus Protocol
The I
2
C/SMBus uses two ‘wires’, one for clock (SCL) and
one for data (SDA). The two wires are connected to the V
CC
supply via pull−up resistors. Master and Slave devices
connect to the bus via their respective SCL and SDA pins.
The transmitting device pulls down the SDA line to
‘transmit’ a ‘0’ and releases it to ‘transmit’ a ‘1’.
Data transfer may be initiated only when the bus is not
busy (see A.C. Characteristics).
During data transfer, the SDA line must remain stable
while the SCL line is HIGH. An SDA transition while SCL
is HIGH will be interpreted as a START or STOP condition
(Figure 3).
START
The START condition precedes all commands. It consists
of a HIGH to LOW transition on SDA while SCL is HIGH.
The START acts as a ‘wake−up’ call to all Slaves. Absent a
START, a Slave will not respond to commands.
STOP
The STOP condition completes all commands. It consists
of a LOW to HIGH transition on SDA while SCL is HIGH.
The STOP tells the Slave that no more data will be written
to or read from the Slave.
Device Addressing
The Master initiates data transfer by creating a START
condition on the bus. The Master then broadcasts an 8−bit
serial Slave address. The first 4 bits of the Slave address (the
preamble) determine whether the command is intended for
the Temperature Sensor (TS) or the EEPROM. The next 3
bits, A2, A1 and A0, select one of 8 possible Slave devices.
The last bit, R/W
, specifies whether a Read (1) or Write (0)
operation is being performed.
Acknowledge
A matching Slave address is acknowledged (ACK) by the
Slave by pulling down the SDA line during the 9
th
clock
cycle (Figure 4). After that, the Slave will acknowledge all
data bytes sent to the bus by the Master. When the Slave is
the transmitter, the Master will in turn acknowledge data
bytes in the 9
th
clock cycle. The Slave will stop transmitting
after the Master does not respond with acknowledge
(NoACK) and then issues a STOP. Bus timing is illustrated
in Figure 5.
Figure 3. Start/Stop Timing
START BIT
SDA
STOP BIT
SCL
N34TS04
www.onsemi.com
5
Figure 4. Acknowledge Timing
ACKNOWLEDGE
1
START
SCL FROM
MASTER
89
DATA OUTPUT
FROM TRANSMITTER
DATA OUTPUT
FROM RECEIVER
30%
30%
70%
30%
70%
30%
30%
70%
70%
70%
70%
70%
70%
SCL
SDA IN
Figure 5. Bus Timing
t
BUF
t
SU:STO
t
F
t
SU:STA
t
HD:STA
t
HD:DAT
t
SU:DAT
t
R
t
LOW
t
HIGH
t
DH
SDA OUT
30%
70%
Table 7. COMMAND SET (Notes 9, 10)
Function
Abbr
Function Specific Preamble Select Address R/W_n A0 Pin
b7 b6 b5 b4 b3 b2 b1 b0
Read Temperature Registers RTR
0 0 1 1 LSA2 LSA1 LSA0
1
0 or 1
Write Temperature Registers WTR 0
Read EE Memory RSPD
1 0 1 0 LSA2 LSA1 LSA0
1
0 or 1
Write EE Memory WSPD 0
Set Write Protection, block 0 SWP0
0 1 1 0
0 0 1 0 V
HV
Set Write Protection, block 1 SWP1 1 0 0 0 V
HV
Set Write Protection, block 2 SWP2 1 0 1 0 V
HV
Set Write Protection, block 3 SWP3 0 0 0 0 V
HV
Clear All Write Protection CWP 0 1 1 0 V
HV
Read Protection Status, block 0 RPS0 0 0 1 1 0, 1 or V
HV
Read Protection Status, block 1 RPS1 1 0 0 1 0, 1 or V
HV
Read Protection Status, block 2 RPS2 1 0 1 1 0, 1 or V
HV
Read Protection Status, block 3 RPS3 0 0 0 1 0, 1 or V
HV
Set SPD Page Address to 0
(Select Lower Bank)
SPA0 1 1 0 0 0, 1 or V
HV
Set SPD Page Address to 1
(Select Upper Bank)
SPA1 1 1 1 0 0, 1 or V
HV
Read SPD Page Address RPA 1 1 0 1 0, 1 or V
HV
Reserved All Other Encodings
9. LSAx stands for Logic State of Address pin x.
10.If V
HV
is not applied on the A0 pin during SWP/CWP commands, the N34TS04 will respond with NoACK after the 3rd byte and will not execute
the SWP/CWP instruction. During RPS/SPA/RPA commands the state of pin A0 must be stable for the duration of the sequence.
N34TS04
www.onsemi.com
6
SPD EEPROM Bank Selection
Upon power−up, the address pointers for both the
Temperature Sensor (TS) and on−board EEPROM are
initialized to 00h. The TS address pointer will thus point to
the Capability Register and the EEPROM address pointer
will point to the first location in the lower 2−Kb bank (SPD
page 0).
Only one SPD page is visible (active) at any given time.
The lower SPD page is automatically selected at power−up.
The upper SPD page can be activated (and the lower one
implicitly de−activated) by executing the SPA1 utility
command. The SPA0 utility command can then be used to
re−activate the lower SPD page without powering down.
The identity of the active SPD page can be retrieved with the
RPA command.
SPD page selection related command details are
presented in Table 9c, Table 9d, Figure 13 and Figure 14.
Write Operations
EEPROM Byte and TS Register Write
To write data to a TS register, or to the on−board
EEPROM, the Master creates a START condition on the bus,
and then sends out the appropriate Slave address (with the
R/W
bit set to ‘0’), followed by a starting data byte address
or TS register address, followed by data. The matching
Slave will acknowledge the Slave address, EEPROM byte
address or TS register address and the data byte(s), one for
EEPROM data (Figure 6) and two for TS register data
(Figure 7). The Master then ends the session by creating a
STOP condition on the bus. The STOP completes the
(volatile) TS register update or starts the internal Write cycle
for the (non−volatile) EEPROM data (Figure 8).
EEPROM Page Write
Each of the two 2−Kb banks is organized as 16 pages of
16 bytes each (not to be confused with the SPD page, which
refers to the entire 2−Kb bank). One of the 16 memory pages
is selected by the 4 most significant bits of the byte address,
while the 4 least significant bits point to the byte position
within the page. Up to 16 bytes can be written in one Write
cycle (Figure 9).
During data load, the internal byte position pointer is
automatically incremented after each data byte is loaded. If
the Master transmits more than 16 data bytes, then earlier
data will be replaced by later data in a ‘wrap−around’
fashion within the 16−byte wide data buffer. The internal
Write cycle then starts following the STOP.
Acknowledge Polling
Acknowledge polling can be used to determine if the
N34TS04 is busy writing to EEPROM, or is ready to accept
commands. Polling is executed by interrogating the device
with a ‘Selective Read’ command (see READ
OPERATIONS). The N34TS04 will not acknowledge the
Slave address as long as internal EEPROM Write is in
progress.
Delivery State
The N34TS04 is shipped ‘unprotected’, i.e. none of the
Software Write Protection (SWP) flags is set. The entire
memory is erased, i.e. all bytes are 0xFF.
Read Operations
Immediate Read
A N34TS04 presented with a Slave address containing a
‘1’ in the R/W
position will acknowledge the Slave address
and will then start transmitting SPD data or respectively TS
register data from the current address pointer location. The
Master stops this transmission by responding with NoACK,
followed by a STOP (Figures 10a, 10b).
Selective Read
The Read operation can be started from a specific address,
by preceding the Immediate Read sequence with a ‘data less’
Write sequence. The Master sends out a START, Slave
address and byte or register address, but rather than
following up with data (as in a Write operation), the Master
then issues another START and continuous with an
Immediate Read sequence (Figures 11a, 11b).
Sequential EEPROM Read
EEPROM data can be read out indefinitely, as long as the
Master responds with ACK (Figure 12). The internal address
pointer is automatically incremented after every data byte
sent to the bus. If the end of the active 2−Kb bank is reached
during continuous Read, then the address count
‘wraps−around’ to the beginning of the active 2−Kb bank,
etc. Sequential Read works with either Immediate Read or
Selective Read, the only difference being that in the latter
case the starting address is intentionally updated.
Figure 6. EEPROM Byte Write
BYTE
ADDRESS
SLAVE
SPD
ADDRESS
S
A
C
K
A
C
K
DATA
A
C
K
S
T
O
P
P
BUS ACTIVITY:
MASTER
SLAVE
SDA LINE
S
T
A
R
T

N34TS04MT3ETG

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
EEPROM & TEMP SENSOR 8TDFN
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet