STEVAL-ISQ002V1 STMicroelectronics, STEVAL-ISQ002V1 Datasheet - Page 23

BOARD EVAL BASED ON ST72264G1

STEVAL-ISQ002V1

Manufacturer Part Number
STEVAL-ISQ002V1
Description
BOARD EVAL BASED ON ST72264G1
Manufacturer
STMicroelectronics
Datasheets

Specifications of STEVAL-ISQ002V1

Main Purpose
Interface, PMBus
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
ST72F264
Primary Attributes
The PMBus™ Interface Using the ST7 I2C Peripheral
Secondary Attributes
Firmware in C Language
Product
Power Management Modules
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
497-6423

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
STEVAL-ISQ002V1
Manufacturer:
STMicroelectronics
Quantity:
1
AN2511
3.4
----------*/
alerted */
errors
}
Limitations
1.
2.
3.
EnableInterrupts;
MISCR1 = 0x10 ;
/*---------------------PMBus communication configuration-------------------*/
while (1)
{
}
The SMBus driver used in this application note is tested only for write word, read word
and write block protocols with PEC disabled.
The SMBus driver doesn't meet the clock low extending feature of SMBus v1.1 due to
the limitation of the I
In case of PEC, when slave is acting as receiver, the ACK bit is not disabled if the PEC
received from master transmitter is different from slave. It is stored in the user address
as the last byte. It is the responsibility of the user to check the master PEC with the
slave PEC to decide on data validity.
PMBus_Init (SMBs_MISC, SLAVEADD, 0x40, 0x23);
if (SMBus_Mode & SMB_ARA)
{
/* Alerted slave address will be used for any further communication */
}
Command_Code =
PMBus_CommandWrite (Command_Code);
Command_Code =
PMBus_CommandRead (Command_Code);
if (SMB_Err_Status)
{
}
/*----------------------- Alert Interrupt configuration ---------------------
PCOR = CONTROL ;
PCDR = CONTROL ;
*/
PMBus_Err = SMBm_ReceiveByte (ALERTRESPONSEADD, Data_Buff);
SMBus_Mode &= (unsigned char) ~SMB_ARA ;
SMB_Err_Status = I2CSR2 ;
SMB_Err_Status = 0 ;
/* I2C configuration: ST7 I2C address 0x30, communication speed 100kHz */
PMBus_SlaveAdd = *Data_Buff ;
/* ST7 I2C sends the alert response address to check which slave
/* Read data and store it in Data_Buff */
0x01;
0x02;
2
C peripheral.
/* Checking if an alert signal is received from slave */
Doc ID 13286 Rev 2
/* EI0 on falling edge low level for Alert interrupt */
/* User should enter the PMBus command code here */
/* User should enter the PMBus command code here */
/* I2C status register read to clear any
/* Writes data from Data_Buff */
/* Resets interrupt mask */
PMBus commands and source code
/* End of while (1) */
/* End of main */
23/43

Related parts for STEVAL-ISQ002V1