/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name          : Readme.txt
* Author             : MCD Application Team
* Version            : V4.0
* Date               : 10/09/2007
* Description        : Description of the CAN 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 demonstrate one of the feature of the CAN.The program runs in 
loopback mode combined with silent mode (i.e. self-test mode) to be independant. 
from any true CAN network.
 
This example demonstrates the following features of the CAN :

  - Bus initialization (baudrate setting),
  - Loopback and silent test modes,
  - Configuration of message objects,
  - Transmit and receive of CAN messages,
  - Standard and extended identifiers,
  - Polling mode and interrupt mode.

It is made of 2 parts :

  1) one message exchange in polling mode,
  2) one message exchange in interrupt mode.


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
  
 
  
Hardware environment
====================
This example works as standalone on the STR71x-Eval board (mb393) and extra 
hardware implementation is not required to run the example.



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
- Compile the directory content files and required Library files :
  + 71x_lib.c
  + 71x_can.c
  + 71x_apb.c
  + 71x_gpio.c
  + 71x_rccu.c
  + 71x_eic.c

- Link all compiled files and load your image into either RAM or FLASH
- Run the example  
- You don't need to put any cap on the CAN bus because the loopback is internal.
  in any case, the CAN_TX pin is always active in this mode.
- After running the example you must see LD3 to LD11 on (mb393) switched ON. 


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