Os motores de busca de Datasheet de Componentes eletrônicos
  Portuguese  ▼
ALLDATASHEETPT.COM

X  

AN971 Folha de dados(PDF) 3 Page - STMicroelectronics

Nome de Peças AN971
Descrição Electrónicos  The goal of this application note is to present an practical example
PDF  7 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrônico  STMICROELECTRONICS [STMicroelectronics]
Página de início  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN971 Folha de dados(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


Folha de dados Download

Go To PDF Page


Ligação URL



ALLDATASHEET é útil para você?  [ DONATE ] 

Sobre Alldatasheet   |   Publicidade   |   Contato conosco   |   Privacy Policy   |   Link para a ficha técnica    |   roca de Link   |   Lista de Fabricantes
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