/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name          : Readme.txt
* Author             : MCD Application Team
* Version            : V4.0
* Date               : 10/09/2007
* Description        : Description of the I2C Example.
********************************************************************************
* THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*******************************************************************************/

Example description
===================
This example provides a basic example showing how to use the I2C firmware 
library to communicate with an I2C EEPROM mounted on the MB393B board.

The associated software performs a write operation to the I2C EEPROM followed 
by a read operation of the data already stored in the EEPROM.

The example is made of 4 main parts :
  1)  I2C peripheral configuration.
  2)  Write operation to the I2C EEPROM.
  3)  Read and display, in the Windows hyperterminal, the data already stored
      in the I2C EEPROM.

Directory contents
==================
 71x_conf.h  Library Configuration file
 71x_it.c    Interrupt handlers
 71x_it.h    Interrupt handlers header file
 main.c      Main program
 main.h      Header for main.c
 i2c_ee.h    Header for EEPROM driver
 i2c_ee.c    EEPROM driver
 


Hardware environment
====================
Connect the COM A port on the STR71x-Eval board (mb393) using a serial link to a PC
- Hyperterminal configuration:
    - Word Length = 8 Bits
    - 1 Stop Bit
    - No parity
    - BaudRate = 9600 baud
    - flow control: None  


How to use it
=============
In order to make the program work, you must do the following :
- Create a project and setup all your toolchain's start-up files
- Ensure that the switch (SW6) mounted on the MB393 demo board is at
    (1-2) position,
- Compile the directory content files and required Library files :
  + 71x_lib.c
  + 71x_i2c.c
  + 71x_apb.c
  + 71x_i2c_ee.c 
  + 71x_gpio.c
  + 71x_rccu.c
  + 71x_uart.c

- Link all compiled files and load your image into either RAM or FLASH
- Run the example
- The message: "Rx_Buffer : STMicroelectronics ** STR71x EEPROM Example **"
  will be displayed on the windows hyperterminal.



******************* (C) COPYRIGHT 2007 STMicroelectronics *****END OF FILE****
