Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

UPSD3312D Datasheet(PDF) 125 Page - STMicroelectronics

Part # UPSD3312D
Description  fast 8032 MCU with programmable logic
PDF  272 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UPSD3312D Datasheet(HTML) 125 Page - STMicroelectronics

Back Button UPSD3312D Datasheet HTML 121Page - STMicroelectronics UPSD3312D Datasheet HTML 122Page - STMicroelectronics UPSD3312D Datasheet HTML 123Page - STMicroelectronics UPSD3312D Datasheet HTML 124Page - STMicroelectronics UPSD3312D Datasheet HTML 125Page - STMicroelectronics UPSD3312D Datasheet HTML 126Page - STMicroelectronics UPSD3312D Datasheet HTML 127Page - STMicroelectronics UPSD3312D Datasheet HTML 128Page - STMicroelectronics UPSD3312D Datasheet HTML 129Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 125 / 272 page
background image
Obsolete
Product(s)
- Obsolete
Product(s)
Obsolete
Product(s)
- Obsolete
Product(s)
UPSD33xx
I2C interface
Doc ID 9685 Rev 7
125/272
23.3
Operating modes
The I2C interface supports four operating modes:
●
Master-Transmitter
●
Master-Receiver
●
Slave-Transmitter
●
Slave-Receiver
The interface may operate as either a Master or a Slave within a given application,
controlled by firmware writing to SFRs.
By default after a reset, the I2C interface is in Master Receiver mode, and the SDA/P3.6 and
SCL/P3.7 pins default to GPIO input mode, high impedance, so there is no I2C bus
interference. Before using the I2C interface, it must be initialized by firmware, and the pins
must be configured. This is discussed in Section 23.13: I2C operating sequences on
page 134.
23.4
Bus arbitration
A Master device always samples the I2C bus to ensure a bus line is high whenever that
Master is asserting a logic 1. If the line is low at that time, the Master recognizes another
device is overriding it’s own transmission.
A Master may start a transfer only if the I2C bus is not busy. However, it’s possible that two or
more Masters may generate a START condition simultaneously. In this case, arbitration
takes place on the SDA line each time SCL is high. The Master that first senses that its bus
sample does not correspond to what it is driving (SDA line is low while it’s asserting a high)
will immediately change from Master-Transmitter to Slave-Receiver mode. The arbitration
process can carry on for many bit times if both Masters are addressing the same Slave
device, and will continue into the data bits if both Masters are trying to be Master-
Transmitter. It is also possible for arbitration to carry on into the acknowledge bits if both
Masters are trying to be Master-Receiver. Because address and data information on the bus
is determined by the winning Master, no information is lost during the arbitration process.
23.5
Clock synchronization
Clock synchronization is used to synchronize arbitrating Masters, or used as a handshake
by a devices to slow down the data transfer.
23.5.1
Clock synchronization during arbitration
During bus arbitration between competing Masters, Master_X, with the longest low period
on SCL, will force Master_Y to wait until Master_X finishes its low period before Master_Y
proceeds to assert its high period on SCL. At this point, both Masters begin asserting their
high period on SCL simultaneously, and the Master with the shortest high period will be the
first to drive SCL for the next low period. In this scheme, the Master with the longest low
SCL period paces low times, and the Master with the shortest high SCL period paces the
high times, making synchronized arbitration possible.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com