**************** STMicroelectronics *************** 2003 ****************************************** -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- THE INFORMATION INCLUDED IN THIS FILE IS FOR GUIDANCE ONLY. STMicroelectronics SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM USE OF THIS INFORMATION. -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- I. HOW TO USE THE SMBUS SLAVE DRIVER: ------------------------------------ This SMBus slave driver is fully compatible with compilers METROWERKS/COSMIC. It follows the SMBus specifications v1.1. Following are the contents of SMBus_Slave folder. 1. Sources : It contains following source files. * SMBS.c : It contains the source code for all the functions to be used in main.c. * SMBS.h : This file defines prototypes for all the functions whose source code appears in SMBS.c. * SMBS_hr.c : This file contains the hardware registers of I2C. * SMBS_hr.h : This file declares all the hardware registers as extern in case of METROWERKS compiler and maps these registers in case of COSMIC compiler. * SMBS_config.h : This file is used to select the Fcpu and packet error checking option. * main.c : It is application file which calls the functions in SMBS.c. This file contains the Example program for SMBus slave driver communication for Write Word, Write Block and read word protocols. Here PEC option is not chosen. 2. Config: Config\Metrowerks : It contains following files in case of Metrowerks. * st72f264.prm : Mapping file for all the hardware registers in device. * st72f264.mak : Make file to build the application.User should add in STVD7/Project settings/maker/filename the path to the Metrowerks maker in order to build his project,if the maker path is different from standard installation path. * default.env : Defines all the enviroment variables. In this file, the path must be updated in GENPATH, SOURCEPATH, OBJPATH, ABSPATH and TEXTPATH, depending on project location to get the example compiled. Config\cosmic : It contains following files in case of COSMIC. * st72f264.mak : Make file to build the application.User should add in STVD7/Project settings/maker/filename the path to the Metrowerks maker in order to build his project,if the maker path is different from standard installation path. * st72f264.lkf : Link file used to link with target device. * vector_264.c : It is the interrupt mapping file for te target device. 3. Object: Object\Metrowerks : It contains all the object files and executable files in case of METROWERKS Object\cosmic : It contains all the object files and executable files in case of COSMIC II. LIMITATIONS: --------------- 1. This driver is tested only for write word, read word and write block protocols with PEC disabled. 2. This driver doesn't meet clock low extending feature of SMBus v1.1 due to the limitation of I2C peripheral. 3. 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. 4. Optional SMBus signals (SMBSUS#, SMBALERT#) are not implemented.Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.