| Electronic Components Datasheet Search |
|
AN2511 Datasheet(PDF) 9 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2511 Datasheet(HTML) 9 Page - STMicroelectronics |
|
9 / 43 page ![]() 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 |
|
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 |
| 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 |