The STA339BW is an integrated solution of digital audio processing, digital amplifier control,
and FFX-power output stage, thereby creating a high-power single-chip FFX
comprising high-quality, high-efficiency, all digital amplification.
STA339BW is based on FFX (fully flexible amplification) processor, a STMicroelectronics
proprietary technology. FFX is the evolution and the enlargement of the ST ternary
technology: the new processor can be configured to work in ternary, binary, binary
differential and phase shift PWM modulation schemes.
STA339BW contains the ternary, binary and binary differential implementations, a subset of
the full capability of the FFX processor.
The STA339BW is part of the Sound Terminal™ family that provides full digital audio
streaming to the speaker, offering cost effectiveness, low power dissipation and sound
enrichment.
The STA339BW power section consists of four independent half bridges. These can be
configured via digital control to operate in different modes. 2.1 channels can be provided by
two half bridges and a single full bridge, providing up to 2 x 9 W + 1 x 20 W of power output.
Two channels can be provided by two full bridges, providing up to 2 x 20 W of power. The IC
can also be configured as 2.1 channels with 2 x 20 W provided by the device and external
power for FFX power drive.
Also provided in the STA339BW are a full assortment of digital processing features. This
includes up to 8 programmable 28-bit biquads (EQ) per channel and bass/treble tone
control. Available presets enable a time-to-market advantage by substantially reducing the
amount of software development needed for certain functions. This includes audio preset
volume loudness, preset volume curves and preset EQ settings. There are also new
advanced AM radio interference reduction modes. Dual band DRC dynamically equalizes
the system to provide speaker linear frequency response regardless output power level.
This feature independently processes the two bands, controlling, dynamically, the output
power level in each band and so providing a better sound quality.
The serial audio data input interface accepts all possible formats, including the popular I
format. Three channels of FFX processing are provided. This high-quality conversion from
PCM audio to FFX PWM switching waveform provides over 100 dB SNR and dynamic
range.
®
solution
2
S
10/77Doc ID 15251 Rev 5
STA339BWDescription
1.1 Block diagram
Figure 1.Block diagram
I2S
interface
Vol um e
control
PLL
FFX
I2C
Powe r
control
Protection
current/thermal
Logic
Regulators
Bias
Channel
1A
Channel
1B
Channel
2A
Channel
2B
PowerDigital DSP
Doc ID 15251 Rev 511/77
Pin connectionsSTA339BW
2 Pin connections
2.1 Connection diagram
Figure 2.Pin connection PowerSSO-36 (top view)
GND_SUB
SA
TEST_MODE
VSS
VCC_REG
OUT2B
GND2
VCC2
OUT2A
OUT1B
VCC1
GND1
OUT1A
GND_REG
VDD
CONFIG
OUT3B / FFX3B
OUT3A / FFX3A
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
D05AU1638
VDD_DIG
GND_DIG
SCL
SDA
INT_LINE
RESET
SDI
LRCKI
BICKI
XTI
GND_PLL
FILTER_PLL
VDD_PLL
PWRDN
GND_DIG
VDD_DIG
TWARN / OUT4A
EAPD / OUT4B
2.2 Pin description
Table 2.Pin description
PinTypeNameDescription
1GNDGND_SUBSubstrate ground
2I SAI
3ITEST_MODEThis pin must be connected to ground (pull-down)
4I/OVSSInternal reference at V
5I/OVCC_REGInternal V
6OOUT2BOutput half bridge 2B
7GNDGND2Power negative supply
8PowerVCC2Power positive supply
9OOUT2AOutput half bridge 2A
10OOUT1BOutput half bridge 1B
12/77Doc ID 15251 Rev 5
2
C select address (pull-down)
reference
CC
CC
- 3.3 V
STA339BWPin connections
Table 2.Pin description (continued)
PinTypeNameDescription
11PowerVCC1Power positive supply
12GNDGND1Power negative supply
13OOUT1AOutput half bridge 1A
14GNDGND_REGInternal ground reference
15PowerVDDInternal 3.3 V reference voltage
16ICONFIGParalleled mode command
17OOUT3B / FFX3BPWM out Ch3B / external bridge driver
18OOUT3A / FFX3APWM out Ch3A / external bridge driver
19OEAPD / OUT4BPower down for external bridge / PWM out Ch4B
20I/OTWARN / OUT4A
21PowerVDD_DIGDigital supply voltage
22GNDGND_DIGDigital ground
23IPWRDNPower down (pull-up)
24PowerVDD_PLLPositive supply for PLL
Thermal warning from external bridge (pull-up when input)
/ PWM out Ch4A
25IFILTER_PLLConnection to PLL filter
26GNDGND_PLLNegative supply for PLL
27IXTIPLL input clock
2
28IBICKII
29ILRCKII
30ISDII
S serial clock
2
S left/right clock
2
S serial data channels 1 and 2
31IRESETReset (pull-up)
32OINT_LINEFault interrupt
2
33I/OSDAI
34ISCLI
C serial data
2
C serial clock
35GNDGND_DIGDigital ground
36PowerVDD_DIGDigital supply voltage
Doc ID 15251 Rev 513/77
Electrical specificationsSTA339BW
3 Electrical specifications
3.1 Absolute maximum ratings
Table 3.Absolute maximum ratings
Symbol Parameter MinTypMaxUnit
V
CC
VDD_DIG Digital supply voltage-0.3 -4 V
VDD_PLL PLL supply voltage-0.3-4V
Operating junction temperature -20-150 °C
T
op
Storage temperature -40 -150 °C
T
stg
Power supply voltage (VCCxA, VCCxB) -0.3-30 V
Warning:Stresses beyond those listed in Tabl e 3 above may cause
permanent damage to the device. These are stress ratings
only, and functional operation of the device at these or any
other conditions beyond those indicated under
“Recommended operating conditions” are not implied.
Exposure to absolute-maximum-rated conditions for
extended periods may affect device reliability. In the real
application, power supplies with nominal values rated within
the recommended operating conditions, may experience
some rising beyond the maximum operating conditions for a
short time when no or very low current is sinked (amplifier in
mute state). In this case the reliability of the device is
guaranteed, provided that the absolute maximum ratings are
not exceeded.
3.2 Thermal data
Table 4.Thermal data
ParameterMinTypMaxUnit
R
th j-case
R
th j-amb
T
th-sdj
T
th-w
T
th-sdh
1. See Section 8: Package thermal characteristics on page 73 for details.
3.4 Electrical specifications for the digital section
Table 6.Electrical specifications - digital section
Symbol Parameter ConditionsMinTypMaxUnit
I
il
I
ih
V
il
V
ih
V
ol
V
oh
I
pu
R
pu
Low-level input current without
pull-up/down device
High-level input current without
pull-up/down device
Low-level input voltage---
High-level input voltage-
Low-level output voltageIol = 2 mA--
High-level output voltageIoh = 2 mA
Pull-up/down current-2566125µA
Equivalent pull-up/down
resistance
Vi = 0 V-10110 µA
Vi = VDD_DIG
= 3.6 V
-10110µA
0.8 *
VDD_DIG
0.8 *
VDD_DIG
--V
--V
--50-kΩ
0.2 *
VDD_DIG
0.4 *
VDD_DIG
V
V
Doc ID 15251 Rev 515/77
Electrical specificationsSTA339BW
3.5 Electrical specifications for the power section
The specifications given in this section are valid for the operating conditions: VCC=18V,
f=1kHz, f
Table 7.Electrical specifications - power section
SymbolParameter ConditionsMin Typ Max Unit
= 384 kHz, T
sw
= 25° C and RL = 8 Ω, unless otherwise specified.
amb
Output power BTL
W
THD = 10%-20-
Po
THD = 1%-4-
THD = 1%-16-
Output power SE
W
THD = 10%-5-
R
dsON
Power Pchannel/Nchannel MOSFET (total
bridge)
l
= 1.5 A -180250 mΩ
d
gPPower Pchannel RdsON matchingld = 1.5 A95--%
gNPower Nchannel RdsON matchingl
IdssPower Pchannel/Nchannel leakageV
I
LDT
I
HDT
t
r
t
f
V
CC
Low current dead time (static) Resistive load
High current dead time (dynamic) Iload = 1.5 A
Rise time Resistive load
Fall time Resistive load
Supply voltage operating voltage -5 -26V
= 1.5 A95--%
d
= 20 V--10µA
CC
(1)
(1)
(1)
(1)
-8 15 ns
-15 30 ns
-10 18 ns
-10 18 ns
Supply current from VCC in power down PWRDN = 0 -0.11mA
PCM Input signal = -
I
vcc
Supply current from V
in operation
CC
60 dBfs,
Switching frequency
-52 60 mA
= 384 kHz,
No LC filters
I
I
I
vdd
lim
sc
Supply current FFX processing (reference
only)
Overcurrent limit
Short circuit protectionHi-Z output3.84.8-A
Internal clock =
49.152 MHz
(2)
-5570mA
3.03.84.0A
UVLUndervoltage protection --3.54.3 V
t
min
Output minimum pulse width No load 20 30 60 ns
DRDynamic range--100-dB
SNR
Signal to noise ratio, ternary modeA-weighted-100-dB
Signal to noise ratio binary mode--90-dB
FFX stereo mode,
<5 kHz
PSSRPower supply rejection ratio
V
RIPPLE
= 1 V RMS
Audio input =
dither only
16/77Doc ID 15251 Rev 5
-80-dB
STA339BWElectrical specifications
Table 7.Electrical specifications - power section (continued)
SymbolParameter ConditionsMin Typ Max Unit
FFX stereo mode,
THD+NTotal harmonic distortion + noise
X
TA LK
Crosstalk
Peak efficiency, FFX mode
η
Peak efficiency,binary modes
1. Refer to Figure 5: Test circuit 1.
2. Limit current if the register (OCRB par 6.1.3.3) overcurrent warning detect adjustment bypass is enabled. When disabled
refer to the Isc.
Po = 1 W
f=1kHz
FFX stereo mode,
<5 kHz
One channel driven
at 1 W
Other channel
measured
Po = 2 x 20 W
into 8 Ω
Po = 2 x 9 W into 4 Ω
+ 1 x 20 W into 8 Ω
-0.2-%
-80-dB
-90-
%
-87-
Doc ID 15251 Rev 517/77
Electrical specificationsSTA339BW
3.6 Power on/off sequence
Figure 3.Power-on sequence
VCC
VCC
VCC
VCC
VCC
VDD_Dig
VDD_Dig
VDD_Dig
VDD_Dig
VDD_Dig
XTI
XTI
XTI
XTI
XTI
Reset
Reset
Reset
Reset
Reset
2
2
2
2
2
C
C
C
C
C
I
I
I
I
I
PWDN
PWDN
PWDN
PWDN
PWDN
Note: no specific VCC and
VDD_DIG turn
is required
Don’t care
Don’t care
Don’t care
Don’t care
Don’t care
Don’t care
Don’t care
−
on sequence
TR
TR
TR
TR
TR
Don’t care
Don’t care
Don’t care
Don’t care
Don’t care
TC
TC
TC
TC
TC
CMD0CMD1CMD2
CMD0CMD1CMD2
CMD0CMD1CMD2
CMD0CMD1CMD2
CMD0CMD1CMD2
TR = minimum time between XTI master clock stable and Reset removal: 1 ms
TC = minimum time between Reset removal and I
Note:The definition of a stable clock is when f
Section 6.2.3 on page 30 gives information on setting up the I
Figure 4.Power-off sequence for pop-free turn-off
VCC
VCC
VDD_Dig
VDD_Dig
XTI
XTI
Soft Mute
Soft Mute
Reg. 0x07
Reg. 0x07
Data 0xFE
Data 0xFE
Soft EAPD
Soft EAPD
Reg. 0x05
Reg. 0x05
Bit 7 = 0
Bit 7 = 0
Don’t care
Don’t care
2
C program, sequence start: 1ms
- f
max
< 1 MHz.
min
FE
FE
2
S interface.
Note: no specific VCC and
VDD_DIG turn
is required
Don’t care
Don’t care
Don’t care
Don’t care
−
off sequence
Don’t care
Don’t care
Don’t care
Don’t care
18/77Doc ID 15251 Rev 5
STA339BWElectrical specifications
3.7 Testing
3.7.1 Functional pin definition
Table 8.Functional pin definition
Pin name NumberLogic value IC status
PWRDN 23
0 Low consumption
1 Normal operation
0
TWARN 20
1 Normal operation
0
EAPD 19
1 Normal operation
Figure 5.Test circuit 1
Low current dead time = MAX(DTr, DTf)
Duty cycle = 50%
INxY
A temperature warning is indicated by the external power
stage
Low consumption for power stage
All internal regulators are switched off
+Vcc
OUTxY
OUTxY
DTrDTf
Rload = 8
Ω
+
-
Vcc
(3/4)Vcc
(1/2)Vcc
(1/4)Vcc
t
vdc = Vcc/2
gnd
Figure 6.Test circuit 2
High current dead time for Bridge application = ABS(DTout(A)-DTin(A))+ABS(DTOUT(B)-DTin(B))
+V
CC
Duty cycle=ADuty cycle=B
DTin(A)
INxA
Duty cycle A and B: Fixed to have DC output current of Iout in the direction shown in figure
DTout(A)
Q1
OUTxA
Q3
Iout
Rload = 4 Ω
470nF
DTout(B)DTin(B)
10µ10µ
Iout
470nF470nF
Q2
OUTxB
Q4
D06AU1651_00
Doc ID 15251 Rev 519/77
INxB
Processing data pathsSTA339BW
4 Processing data paths
The whole processing chain is composed of two consecutive sections. In the first one
dual-channel processing is implemented, as described below. Then each channel is fed into
the post-mixing block where there is a choice of processing, either the dual-band DRC is
disabled or it is enabled. When B
output configuration and with cross-over filters enabled, is used. When B
the 2.0 output configuration with cross-over filters for defining the cutoff frequency of the two
bands is used.
The first section, Figure 7, begins with a 2x oversampling FIR filter allowing a 2 * fs audio
processing. Then a selectable high-pass filter removes the DC level (enabled if HFB = 0).
The channel 1 and 2 processing chain can include up to 8 filters, depending on the selected
configuration (bits BQL, BQ5, BQ6, BQ7 and XO[3:0]).
By default, four independent filters per channel are enabled, plus the preconfigured deemphasis, bass and treble controls (BQL = 0, BQ5 = 0, BQ6 = 0, BQ7 = 0).
If the coefficient sets are linked (BQL = 1) then it is possible to use the de-emphasis, bass
and treble filter in a user defined configuration (provided the relevant BQx bits are set to 1).
In other words both channels use the same processing coefficients and can have up to 7
filters each. Note that if BQL = 0 the BQx bits are ignored and the 5th, 6th and 7th filters are
configured as de-emphasis, bass and treble controls, respectively.
2
DRC is disabled a third channel, typically used in 2.1
2
DRC is enabled
Moreover the common 8th filter, from the subsequent processing section, can be available
on both channels (provided the pre-defined cross-over frequencies are not used,
XO[3:0] = 0, and the dual-band DRC is not used).
In the second section, mixing and crossover filters are available. If B
(lower schematic in Figure 8) they are fully user-programmable and allow a third channel
(2.1 outputs) to be generated. Alternatively, in B
2
DRC mode (upper schematic in Figure 8),
2
DRC is not enabled
those blocks will be used to split the sub-band and define the cutoff frequencies of the two
bands. A prescaler and a final post scaler allow full control over the signal dynamics before
and after, respectively, the filtering stages. A mixer function is also available.
Figure 7.Left and right processing part 1
Sampling
Sampling
frequency = fs
frequency = fs
From
From
2
2
S input
S input
I
I
interface
interface
sampling
sampling
sampling
sampling
x2
x2
FIR
FIR
x2
x2
over
over
FIR
FIRover
over
x2
x2
FIR
FIR
x2
x2
over
over
FIR
FIRover
over
Sampling
Sampling
frequency = 2 * fs
frequency = 2 * fs
Hi-pass
Hi-pass
PreScale
Pre-scale
PreScale
Pre-scale
If HPB=0
If HPB=0
Hi-pass
Hi-pass
PreScale
Pre-scale
PreScale
Pre-scale
Pass
Pass
filter
filter
Filter
Filter
Pass
Pass
Filter
filter
Filter
filter
Biquad#1Biquad#2Biquad#3Biquad
Biquad#1Biquad#2Biquad#3Biquad
Biquad#1Biquad#2Biquad#3Biquad
Biquad#1Biquad#2Biquad#3Biquad
User-defined filters
User-defined filters
If DSPB=0 and C1EQBP=0
If DSPB=0 and C1EQBP=0
Biquad#1Biquad#2Biquad#3Biquad
Biquad#1Biquad#2Biquad#3Biquad
Biquad#1Biquad#2Biquad#3Biquad
Biquad#1Biquad#2Biquad#3Biquad
#4
#4
#4
#4
#4
#4
#4
#4
If BQ5=1
If BQ5=1
and BQL=1
and BQL=1
Biquad
Biquad
#5
#5
De-Emph.
De-Emph.
If DEMP=0
If DEMP=0
If BQ5=1
If BQ5=1
and BQL=1
and BQL=1
Biquad
Biquad
#5
#5
De-Emph.
De-Emph.
If BQ6=1
IF BQ7=1
If BQ6=1
IF BQ7=1
and BQL=1
and BQL=1
and BQL=1
and BQL=1
Biquad
Biquad
Biquad
Biquad
#6
#6
BassTreble
BassTreble
If C1TCB=0
If C1TCB=0
BTC: bass boost/cut
BTC: bass boost/cut
TTC: treble bo ost/cut
TTC: treble bo ost/cut
If BQ6=1
IF BQ7=1
If BQ6=1
IF BQ7=1
and BQL=1
and BQL=1
and BQL=1
and BQL=1
Biquad
Biquad
Biquad
Biquad
#6
#6
BassTreble
BassTreble
#7
#7
L
L
L
L
#7
#7
L
L
R
R
If HPB=0
If HPB=0
User-defined filters
User-defined filters
If DSPB=0 and C2EQBP=0
If DSPB=0 and C2EQBP=0
20/77Doc ID 15251 Rev 5
If DEMP=0
If DEMP=0
If C2TCB=0
If C2TCB=0
BTC: bass boost/cut
BTC: bass boost/cut
TTC: treble bo ost/cut
TTC: treble bo ost/cut
STA339BWProcessing data paths
Figure 8.Processing part 2
Ch3
Dual-band DRC enabled
L
L
L
L
R
R
R
R
User-defined mix coeffici ents
User-defined mix coeffici ents
C1Mx1
C1Mx1 =
C1Mx1
C1Mx1 =
0x7FFFFF
0x7FFFFF
C1Mx2 =
C1Mx2 =
C1Mx2
C1Mx2
0x00000
0x00000
C2Mx1
C2Mx1
C2Mx1=
C2Mx1=
0x000000
0x000000
C2Mx2
C2Mx2 =
C2Mx2
C2Mx2 =
0x7FFFFF
0x7FFFFF
C3Mx1
C3Mx1 =
C3Mx1
C3Mx1 =
0x40000
0x40000
C3Mx2
C3Mx2 =
C3Mx2
C3Mx2 =
0x400000
0x400000
Hi-Pass XO
Hi-Pass XO
B2DRC
B2DRC
Filter
+
+
+
+
+
+
+
+
+
+
+
+
Filter
Hi-pass
Hi-pass
filter
filter
Hi-Pass XO
Hi-Pass XO
B2DRC
B2DRC
Filter
Filter
Hi-pass
Hi-pass
filter
filter
Crossover frequency det ermined by XO setting
Crossover frequency det ermined by XO setting
User-defined if XO = 0000
User-defined if XO = 0000
-
-++
+
-
-++
+
Ch3
Volume
Volume
Ch1
Ch1
Volume
Volume
Ch2
Ch2
Volume
Volume
Ch3
Ch3
Volume
Volume
DRC2
DRC2
Vol
VolAnd
And
DRC1
DRC1
Limiter
Limiter
DRC1
DRC1
DRC2
DRC2
+
+
+
+
B2DRC Enabled
B2DRC Enabled
Post scale
Post scalePost-scale
Post-scale
Post scale
Post-scale
Post scale
Post-scale
Dual-band DRC disabled
C1Mx1
C1Mx1
C1Mx1
L
L
L
L
R
R
R
R
C1Mx1
+
+
+
+
C1Mx2
C1Mx2
C1Mx2
C1Mx2
Channel 1/2
Channel 1/2
Hi-Pass XO
Hi-Pass XO
Biquad#5
Biquad #5
Filter
Filter
--------------
--------------
Hi-pass XO
Hi-pass XO
filter
filter
Vol
Volume
Vol
Volume
And
and
And
and
Limiter
Limiter
Limiter
Limiter
Post scale
Post-scale
Post scale
Post-scale
C2Mx1
C2Mx1
C2Mx1
C2Mx1
+
+
+
+
C2Mx2
C2Mx2
C2Mx2
C2Mx2
C3Mx1
C3Mx1
C3Mx1
C3Mx1
+
+
+
+
C3Mx2
C3Mx2
C3Mx2
C3Mx2
User-defined mix coefficients
User-defined mix coefficients
Crossover f requency determined by XO setting
Crossover f requency determined by XO setting
User defined if XO = 0000
User defined if XO = 0000
Channel 1/2
Channel 1/2
Hi-Pass XO
Hi-Pass XO
Biquad#5
Biquad #5
Filter
Filter
--------------
--------------
Hi-pass XO
Hi-pass XO
filter
filter
Channel 3
Channel 3
Lo-PassXO
Lo-PassXO
Biquad
Biquad
Filter
Filter
--------------
--------------
Low-pass XO
Low-pass XO
filter
filter
Vol
Volume
Vol
Volume
And
and
And
and
Limiter
Limiter
Limiter
Limiter
Vol
Volume
Vol
Volume
And
and
And
and
Limiter
Limiter
Limiter
Limiter
Post scale
Post-scale
Post scale
Post-scale
Post scale
Post-scale
Post scale
Post-scale
B2DRC Disabled
B2DRC Disabled
Doc ID 15251 Rev 521/77
I2C bus specificationSTA339BW
5 I2C bus specification
The STA339BW supports the I2C protocol via the input ports SCL and SDA_IN (master to
slave) and the output port SDA_OUT (slave to master). This protocol defines any device that
sends data on to the bus as a transmitter and any device that reads the data as a receiver.
The device that controls the data transfer is known as the master and the other as the slave.
The master always starts the transfer and provides the serial clock for synchronization. The
STA339BW is always a slave device in all of its communications. It can operate at up to
400 kb/s (fast-mode bit rate). The STA339BW I
5.1 Communication protocol
5.1.1 Data transition or change
Data changes on the SDA line must only occur when the SCL clock is low. SDA transition
while the clock is high is used to identify a START or STOP condition.
5.1.2 Start condition
START is identified by a high to low transition of the data bus SDA signal while the clock
signal SCL is stable in the high state. A START condition must precede any command for
data transfer.
2
C interface is a slave only interface.
5.1.3 Stop condition
STOP is identified by low to high transition of the data bus SDA signal while the clock signal
SCL is stable in the high state. A STOP condition terminates communication between
STA339BW and the bus master.
5.1.4 Data input
During the data input the STA339BW samples the SDA signal on the rising edge of clock
SCL. For correct device operation the SDA signal must be stable during the rising edge of
the clock and the data can change only when the SCL line is low.
5.2 Device addressing
To start communication between the master and the STA339BW, the master must initiate
with a start condition. Following this, the master sends onto the SDA line 8-bits (MSB first)
corresponding to the device select address and read or write mode.
The seven most significant bits are the device address identifiers, corresponding to the I
bus definition. In the STA339BW the I
the SA port configuration, 0x38 when SA = 0, and 0x3A when SA = 1.
The eighth bit (LSB) identifies read or write operation RW, this bit is set to 1 in read mode
and to 0 for write mode. After a START condition the STA339BW identifies on the bus the
device address and if a match is found, acknowledges the identification on the SDA bus
during the 9th bit time. The byte following the device identification byte is the internal space
address.
2
C interface has two device addresses depending on
2
C
22/77Doc ID 15251 Rev 5
STA339BWI2C bus specification
5.3 Write operation
Following the START condition the master sends a device select code with the RW bit set
to 0. The STA339BW acknowledges this and the writes for the byte of internal address. After
receiving the internal byte address the STA339BW again responds with an
acknowledgement.
5.3.1 Byte write
In the byte write mode the master sends one data byte, this is acknowledged by the
STA339BW. The master then terminates the transfer by generating a STOP condition.
5.3.2 Multi-byte write
The multi-byte write modes can start from any internal address. The master generating a
STOP condition terminates the transfer.
5.4 Read operation
5.4.1 Current address byte read
Following the START condition the master sends a device select code with the RW bit set
to 1. The STA339BW acknowledges this and then responds by sending one byte of data.
The master then terminates the transfer by generating a STOP condition.
5.4.2 Current address multi-byte read
The multi-byte read modes can start from any internal address. Sequential data bytes are
read from sequential addresses within the STA339BW. The master acknowledges each
data byte read and then generates a STOP condition terminating the transfer.
5.4.3 Random address byte read
Following the START condition the master sends a device select code with the RW bit set
to 0. The STA339BW acknowledges this and then the master writes the internal address
byte. After receiving, the internal byte address the STA339BW again responds with an
acknowledgement. The master then initiates another START condition and sends the device
select code with the RW bit set to 1. The STA339BW acknowledges this and then responds
by sending one byte of data. The master then terminates the transfer by generating a STOP
condition.
5.4.4 Random address multi-byte read
The multi-byte read modes could start from any internal address. Sequential data bytes are
read from sequential addresses within the STA339BW. The master acknowledges each
data byte read and then generates a STOP condition terminating the transfer.
Doc ID 15251 Rev 523/77
I2C bus specificationSTA339BW
A
A
A
A
A
5.4.5 Write mode sequence
Figure 9.Write mode sequence
BYTE
WRITE
DEV-ADDR
START
MULTIBYTE
WRITE
DEV-ADDR
START
5.4.6 Read mode sequence
Figure 10. Read mode sequence
RW=
HIGH
ACK
RW
ACK
RW
ACK
ACK
RW
CURRENT
ADDRESS
READ
RANDOM
ADDRESS
READ
SEQUENTIAL
CURRENT
READ
SEQUENTIAL
RANDOM
READ
DEV-ADDR
START
DEV-ADDR
START
DEV-ADDR
START
DEV-ADDR
START
RW
RW
DATA
SUB-ADDR
DATA
SUB-ADDR
ACK
ACK
NO ACK
ACK
ACK
ACK
SUB-ADDR
SUB-ADDR
STOP
STARTRW
STARTRW
ACK
ACK
DEV-ADDR
DATA
DEV-ADDR
DATA IN
CK
STOP
DATA IN
CK
DATA IN
CK
STOP
ACK
ACK
ACK
DATA
DATA
DATA
NO ACK
NO ACK
CK
STOP
STOP
DATA
CKNO ACK
DATA
STOP
24/77Doc ID 15251 Rev 5
Loading...
+ 53 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.