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