Electronic Components Datasheet Search
  English  ▼

X  

AN2038 Datasheet(PDF) 3 Page - STMicroelectronics

Part # AN2038
Description  I2C emulation with ST7MC in slave mode
PDF  23 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2038 Datasheet(HTML) 3 Page - STMicroelectronics

  AN2038 Datasheet HTML 1Page - STMicroelectronics AN2038 Datasheet HTML 2Page - STMicroelectronics AN2038 Datasheet HTML 3Page - STMicroelectronics AN2038 Datasheet HTML 4Page - STMicroelectronics AN2038 Datasheet HTML 5Page - STMicroelectronics AN2038 Datasheet HTML 6Page - STMicroelectronics AN2038 Datasheet HTML 7Page - STMicroelectronics AN2038 Datasheet HTML 8Page - STMicroelectronics AN2038 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 3 / 23 page
background image
AN2038
I2C emulation
3/23
2
I2C emulation
2.1
I2C basics
The I2C-bus has two wires, serial data (SDA) and serial clock (SCL), used to carry
information between the devices. Each device is recognized by a unique address and can
operate as either a transmitter or receiver, depending on the function of the device.
In addition to transmitters and receivers, devices can also be considered "masters" or
"slaves" when performing data transfers. A master is the device which initiates a data
transfer on the bus and generates the clock signals. At that time, any device addressed is
considered a slave.
Both SDA and SCL are bi-directional lines, connected to a positive supply voltage via a pull-
up resistor (see Figure 1). When the bus is free, both lines are HIGH. The output stages of
devices connected to the bus must have an open-drain or open-collector to perform the AND
function. Since data on the I2C-bus can be transferred at rates more than 100 kb/s in
Standard-mode, in this application we reach a speed of 4 kb/s. This is caused by need to
emulate the I2C with the SPI peripheral and the presence of a non-interruptible interrupt
sub-routine for the motor control application.
Figure 1.
I2C bus
The data on the SDA line must be stable during the HIGH period of the clock. The HIGH or
LOW state of the data line can only change when the clock signal on the SCL line is LOW
(see Figure 2).
Figure 2.
Data Valid
+VDD
SDA
SCL
RP
RP
DEV1
DEV2
Data Stable
Changing
allowed
Data Stable
SDA
SCL



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


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