Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
UC3C CAN and LIN Loopbacks Application for uc3c_ek Documentation

Introduction

This is the documentation for CAN and LIN loopback demo application running on the UC3C_EK development kit.

  • Step 1: The potentiometer value is read and displayed on the LCD screen.
  • Step 2: The value of the potentiometer is sent through CAN network.
  • Step 3: The content of the received message on CAN network is displayed on the LCD screen and corresponds to the screen observed in step 1.
  • Step 4: The same message is also transmitted on LIN bus
  • Step 5: The content of the message received on LIN network is displayed on the LCD screen and should correspond to the screen observed on step 1,3.

Main Files

Compilation Information

This software is written for GNU GCC for AVR32 and for IAR Embedded Workbench for Atmel AVR32. Other compilers may or may not work.

Device Information

All AVR32 AT32UC3C devices can be used.

Configuration Information

This example has been tested with the following configuration:

  • UC3C_EK evaluation kit;
  • CPU clock: 16 MHz;
  • USART2 (on UC3C_EK) abstracted with a USB CDC connection to a PC;
  • PC terminal settings:
    • 57600 bps,
    • 8 data bits,
    • no parity bit,
    • 1 stop bit,
    • no flow control.

Contact Information

For further information, visit Atmel AVR.