Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN2511 Datasheet(PDF) 9 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) 9 Page - STMicroelectronics

Back Button 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 AN2511 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 43 page
background image
AN2511
Implementation of PMBus using ST7 I2C
Doc ID 13286 Rev 2
9/43
Figure 3.
Flowchart: data length calculation
Inside both PMBus_CommandRead and PMBus_CommandWrite functions,
PMBus_DataLengthCalc
is called which calculates the data length based on the
command code received.
2.1.3
Read and write operation
PMBus master performs read/ write operations with the slave device. Depending on the
command code, either PMBus_CommandRead or PMBus_CommandWrite is called. Inside
this function, the SMBus transaction type is selected as shown in the following sequence.
Figure 4.
Flowchart: read operation
START
Check if command code equal
to Block protocol
Check if command code equal
to Byte protocol
Check if command code equal
to word protocol
No
No
No
Yes
Yes
Yes
Byte Count=6,
Update
SMBus_Mode
for Block Command
Byte Count=1,
Update
SMBus_Mode
for Byte Command
Byte Count=2,
Update
SMBus_Mode
for Word Command
STOP
START
Check if SMBus_Mode for
Byte command
Check if SMBus_Mode for Word
command
Check if SMBus_Mode for
Send Block command
Yes
Yes
Yes
No
No
No
SMBus Read byte protocol
SMBus Read word protocol
SMBus Read block protocol
STOP
171
181
171
1
81
1
S
Slave Address
Wr
A
Command Code
A
S
Slave Address
Rd
A
Data Byte
A
P
171
181
171
181
S
Slave Address
Wr
A
Command Code
A
S
Slave Address
Rd
A
Data Byte Low
A
...
8181
...
81
1
Data Byte 1
A
Data Byte 2
A
...
Data Byte N
A
P
171
181
171
181
S
Slave Address
Wr
A
Command Code
A
Sr
Slave Address
Rd
A
Count Byte = 1
A
...
81
1
Data Byte High
A
P



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