数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN1045 数据表(PDF) 2 Page - STMicroelectronics

部件名 AN1045
功能描述  ST7 S/W IMPLEMENTATION OF I2C BUS MASTER
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN1045 数据表(HTML) 2 Page - STMicroelectronics

  AN1045 Datasheet HTML 1Page - STMicroelectronics AN1045 Datasheet HTML 2Page - STMicroelectronics AN1045 Datasheet HTML 3Page - STMicroelectronics AN1045 Datasheet HTML 4Page - STMicroelectronics AN1045 Datasheet HTML 5Page - STMicroelectronics AN1045 Datasheet HTML 6Page - STMicroelectronics AN1045 Datasheet HTML 7Page - STMicroelectronics AN1045 Datasheet HTML 8Page - STMicroelectronics AN1045 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 2 / 16 page
background image
2/16
ST7 S/W IMPLEMENTATION OF I2C BUS MASTER
1.1 COMMUNICATION SPEED
The communication speed is modifiable by using the function delay(time) which waits for a
given time period and then modifies the frequency of SCL.
Here Fscl is equal to 62.5 kHz. It can be easily reduced by increasing the period between two
clock cycles, but this speed is not far from the highest speed you can have (~70 kHz).
1.2 START, STOP CONDITION AND ACKNOWLEDGE GENERATION
The Start and Stop conditions are always generated by the master. In this software, there are
no bits to set to generate these conditions like in the real peripheral: you just have to call the
corresponding function (I2Cm_Start() and I2Cm_Stop()).
An Acknowledge is sent after an address or a data byte is received. When the master has to
receive an acknowledge from the slave, you have to call the function Wait_Ack() which reads
the SDA and SCL lines to recognize the acknowledge condition (the SDA line put at the low
state by the one which sends the acknowledge during one clock pulse). And when the master
has to send an acknowledge after receiving data from the slave, you have to call the function
I2Cm_Ack().
2 ST7 I2C COMMUNICATION APPLICATION
2.1 HARDWARE CONFIGURATION
The ST7 communication application hardware is composed of a ST72324 microcontroller
(which has no I2C peripheral) and any slave (an M24C08 EEPROM for example).
Figure 1. ST7 / E2PROM I2C Communication Application
ST72324
I2C
Vdd
Vss
SCL
5V
2x100W
SDA
2x12KW
M24C08
SCL
SDA
Vss
E
2



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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