Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2511 Datasheet(PDF) 8 Page - STMicroelectronics

Part # AN2511
Description  This application note describes
PDF  43 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2511 Datasheet(HTML) 8 Page - STMicroelectronics

Back Button AN2511 Datasheet HTML 4Page - STMicroelectronics AN2511 Datasheet HTML 5Page - STMicroelectronics AN2511 Datasheet HTML 6Page - STMicroelectronics AN2511 Datasheet HTML 7Page - STMicroelectronics AN2511 Datasheet HTML 8Page - STMicroelectronics AN2511 Datasheet HTML 9Page - STMicroelectronics AN2511 Datasheet HTML 10Page - STMicroelectronics AN2511 Datasheet HTML 11Page - STMicroelectronics AN2511 Datasheet HTML 12Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 43 page
background image
Implementation of PMBus using ST7 I2C
AN2511
8/43
Doc ID 13286 Rev 2
2
Implementation of PMBus using ST7 I2C
2.1
Firmware architecture
This section explains sequence of operation for different software modules.
2.1.1
I2C initialization
To use ST7 I2C for PMBus communication, the peripheral is initialized for 100 kHz
communication speed. The I2C is configured with an address of 0x30, as it can act as a
slave due to its multi-master capability. The following flowchart shows the sequence.
Figure 2.
Flowchart: I2C initialization
The above flowchart is implemented in the function PMBus_Init.
2.1.2
Slave address and command code
The PMBus master addresses the slave with a 7-bit address. Once the slave device
acknowledges the address, the command code is sent corresponding to the PMBus
command and SMBus protocol (refer to Section 3.1).
Then, the microcontroller decodes the command code as shown in the following sequence.
Simultaneously, the SMBus_Mode variable is updated.
START
Initialize I2C CR, CCR,
OAR1 and OAR2 registers
Configure slave addresses
in OAR1 and OAR2
Enable I2C peripheral and
acknowledge in I2CCR register
Set communication speed as
100kHz in I2CCCR register
STOP



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 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43


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