UPSD3254 STMICROELECTRONICS [STMicroelectronics], UPSD3254 Datasheet - Page 79

no-image

UPSD3254

Manufacturer Part Number
UPSD3254
Description
Flash Programmable System Devices with 8032 Microcontroller Core
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPSD3254A-24U6
Manufacturer:
ST
0
Part Number:
UPSD3254A-40T6
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
UPSD3254A-40U6
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
UPSD3254A-40U6
Manufacturer:
ST
Quantity:
20 000
Part Number:
UPSD3254B-24U6
Manufacturer:
ST
0
Part Number:
UPSD3254BV-24U6
Manufacturer:
ST
Quantity:
3 100
Part Number:
UPSD3254BV-24U6
Manufacturer:
ST
Quantity:
875
Part Number:
UPSD3254BV-24U6
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
UPSD3254BV-24U6
Manufacturer:
ST
Quantity:
20 000
Part Number:
UPSD3254BV-40U6
Manufacturer:
ST
Quantity:
200
Table 50. Serial Control Register (SxCON: S1CON, S2CON)
Table 51. Description of the SxCON Bits
Table 52. Selection of the Serial Clock Frequency SCL in Master Mode
CR2
CR2
Bit
7
7
6
5
4
3
2
1
0
0
0
0
0
1
1
1
1
Symbol
ADDR
CR2
STO
CR1
CR0
CR1
ENII
ENII
STA
AA
6
0
0
1
1
0
0
1
1
This bit along with Bits CR1and CR0 determines the serial clock frequency when SIO is
in the Master Mode.
Enable IIC. When ENI1 = 0, the IIC is disabled. SDA and SCL outputs are in the high
impedance state.
START flag. When this bit is set, the SIO H/W checks the status of the I
generates a START condition if the bus free. If the bus is busy, the SIO will generate a
repeated START condition when this bit is set.
STOP flag. With this bit set while in Master Mode a STOP condition is generated.
When a STOP condition is detected on the I
flag.
Note: This bit have to be set before 1 cycle interrupt period of STOP. That is, if this bit is
set, STOP condition in Master Mode is generated after 1 cycle interrupt period.
This bit is set when address byte was received. Must be cleared by software.
Acknowledge enable signal. If this bit is set, an acknowledge (low level to SDA) is
returned during the acknowledge clock pulse on the SCL line when:
• Own slave address is received
• A data byte is received while the device is programmed to be a Master Receiver
• A data byte is received while the device is a selected Slave Receiver. When this bit is
reset, no acknowledge is returned.
SIO release SDA line as high during the acknowledge clock pulse.
These two bits along with the CR2 Bit determine the serial clock frequency when SIO is
in the Master Mode.
CR0
STA
5
0
1
0
1
0
1
0
1
UPSD3254A, UPSD3254BV, UPSD3253B, UPSD3253BV
f
OSC
STO
120
240
480
960
Divisor
16
24
30
60
4
12MHz
ADDR
12.5
6.25
375
250
200
100
50
25
3
Function
2
C-bus, the I
Bit Rate (kHz) at f
24MHz
12.5
750
500
400
200
100
AA
50
25
2
2
C hardware clears the STO
36MHz
18.75
CR1
37.5
750
600
300
150
75
X
1
OSC
2
C-bus and
40MHz
CR0
833
666
333
166
83
41
20
X
0
79/175

Related parts for UPSD3254