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

X  

AN971 数据表(PDF) 3 Page - STMicroelectronics

部件名 AN971
功能描述  The goal of this application note is to present an practical example
PDF  7 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN971 数据表(HTML) 3 Page - STMicroelectronics

  AN971 Datasheet HTML 1Page - STMicroelectronics AN971 Datasheet HTML 2Page - STMicroelectronics AN971 Datasheet HTML 3Page - STMicroelectronics AN971 Datasheet HTML 4Page - STMicroelectronics AN971 Datasheet HTML 5Page - STMicroelectronics AN971 Datasheet HTML 6Page - STMicroelectronics AN971 Datasheet HTML 7Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 3 / 7 page
background image
3/7
I2C COMMUNICATION BETWEEN ST7 AND M24Cxx EEPROM
2 ST7 / M24CXX I2C COMMUNICATION APPLICATION
2.1 HARDWARE CONFIGURATION
The ST7 / M24Cxx I2C communication application hardware consists of a ST72264 microcon-
troller which communicates with an external M24C08 EEPROM through an I2C bus interface.
Figure 1. ST7 / EEPROM I2C Communications Application
2.2 ST7 I2C PERIPHERAL BASIC DRIVERS
In this chapter all registers refer to the ST7 I2C peripheral (unless otherwise specified).
2.3 INITIALIZE THE I2C PERIPHERAL
In this application the initialization of the ST7 I2C peripheral is done completely by software
without taking into account the hardware reset status.
First the Control Register (CR) is cleared and the Data (DR) and Status (SR1,SR2) registers
are touched to clear any pending events.
Then, the peripheral is enabled through the Control Register (CR). This action needs to write
twice in the register due to the fact that the Control Register (CR) bits can be set only when the
PE enable bit is already set. To allow the peripheral to acknowledge the received data the
ACK bit of the Control Register (CR) is set.
As the ST24C08 EEPROM is specified with a maximum I2C clock speed at 100KHz, the ST7
I2C peripheral is set to this speed (CCR=26h) in the application.
ST72264
I2C
VDD
VSS
SCL
5V
2x100
Ω
SDA
2x27K
Ω
M24C08
SCL
SDA
Address=A0h
E



Html Pages

1 2 3 4 5 6 7


数据表 下载

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