Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CAN Stack Example 1 for UC3C-EK Documentation

Introduction

This documents data structures, functions, variables, defines, enums, and typedefs in the software for the CAN driver.

The given example is a CAN driver example using two CAN channels available. A mailbox is defined by the user and all messages are sent easily.

Compilation Info

This software was written for the GNU GCC for AVR32 and IAR Systems compiler for AVR32. Other compilers may or may not work.

Main Files

Configuration Information

This example has been tested with the following configuration:

  • UC3C_EK evaluation kit;
  • CPU clock: 16 MHz; This example demonstrates that the application can be waked-up from the CAN.
  • Plug a DB9 cable on CAN1 DB9 connector and an external CAN node to setup a 'point to point' network.
  • Configure the baudrate to 1Mbps.
  • Setup the external CAN node to transmit message.
  • Start the example.
  • The CPU is in sleep mode (STATIC) at the beginning of the application and then is waked up after the reception of the message from the external CAN node
  • Led0 is ON once a wakeup frame is received and Led1 is ON once the message is acknowledged.

Contact Information

For further information, visit Atmel AVR32.