Electronic Components Datasheet Search
  English  ▼

X  

AN2038 Datasheet(PDF) 5 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) 5 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
 5 / 23 page
background image
AN2038
I2C emulation
5/23
Figure 5.
7-bit addressing
Possible data transfer formats are:
●
Master-transmitter transmits to slave-receiver. The transfer direction is not changed
(see Figure 5 "Master transmit bytes to slave").
●
Master reads slave immediately after first byte (see Figure 5 "Master receive bytes from
slave"). At the moment of the first acknowledge, the master transmitter becomes a
master-receiver and the slave-receiver becomes a slave-transmitter. This first
acknowledge is still generated by the slave. The STOP condition is generated by the
master.
See Figure 6 for the format of first byte after the Start condition.
Figure 6.
First byte after the Start condition
2.2
I2C architecture
In Figure 7 shows the hardware architecture used to implement I2C emulation using the SPI
peripheral.
The ST7MC is connected to the I2C bus through an optoisolator able to isolate the High
voltage section from the bus.
By means of one I/O pin the ST7MC is able to select if the SPI bus is used in I2C emulation
mode or in SPI mode for communication with the SPI Memory. In the first case the
optoisolator is enabled and the SPI memory is disabled, in the second case the optoisolator
is disabled so SPI and I2C are unconnected and SPI memory is enabled.
SLAVE ADDRESS
S
R/W
A
DATA
A
DATA
A
P
SLAVE ADDRESS
S
R/W
A
DATA
A
DATA
A
P
Master transmits bytes to slave
Master receives bytes from slave
From master to slave
From slave to master
‘0’
‘1’
S: Start
P: Stop
A: Acknowledge
Slave address
MSB
LSB
R/W



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