This example program shows how to use the RTX CAN Driver on 
'ST STM3220F-EVAL' Evaluation Board with 
'ST STM32F207IGT6' microcontroller.

Example functionality:
 - Clock Settings:
   - XTAL               =  25 MHz
   - CPUCLK             = 120 MHz
   - APB1 CLK = CAN CLK =  30 MHz

 - send converted analog value in first byte in CAN message on 
   CAN 2 controller every 1 second
 - receive CAN message on CAN 1 controller
 - display lower 4-bit of received byte values on 4 LEDs
   CAN 1 controller speed: 500 kbits
   CAN 2 controller speed: 500 kbits

This example shows how to use RTX CAN Driver.

You may change the value of analog input with potentiometer 
and watch the values on LEDs change accordingly.

The CAN_Ex1 example program is available for target:

STM3220F-EVAL:  runs from Internal Flash located on chip
               (used for production or target debugging)

Notes:      
  - Jumpers Settings needed for example to work:
    JP7:  shorted 1-2, JP10: closed, JP11: closed
    JP12: shorted 1-2, JP14: closed, JP15: closed
  - CAN1_TX is connected to PD1  and all peripherals connected to FSMC 
    (LCD, PSRAM, OneNAND) are disabled when JP14 is closed
  - CAN1_RX is connected to PD0  and all peripherals connected to FSMC 
    (LCD, PSRAM, OneNAND) are disabled when JP15 is closed
  - CAN2_TX is connected to PB13 and USB OTG HS is disabled when 
    JP10 is closed
  - CAN2_RX is connected to PB5  and USB OTG HS is disabled when 
    JP11 is closed
  - To see the example functionality on hardware, loopback has 
    to be connected between CAN1 and CAN2 (pins 7 on both DB-9 
    headers shorted, and pins 2 on both DB-9 headers shorted)
