Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Accelerometer LIS3L06AL Example for evk1101 Documentation

Introduction

This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the lis3l06al accelerometer driver.
This documentation is also bundled with an example that covers various uses of this accelerometer driver.

Operating mode:

  • Plug the USART1 of the EVK1101 to a PC serial port (see the section Configuration Information for details on the PC terminal settings)
  • Flip the EVK1101 over to the left or right and see the axis values change on your PC terminal with extra messages "left" or "right" and angles information
  • Flip the EVK1101 forward or backward and see the axis values change on your PC terminal with extra messages "up" or "down" and angles information
  • Give a sudden acceleration in the movement of the board and you'll get a special message on the USART1...

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.

Configuration Information

This example has been tested with the following configuration:

  • EVK1101 evaluation kit;
  • CPU clock: 12 MHz;
  • USART1 connected to a PC serial port via a standard RS232 DB9 cable;
  • PC terminal settings:
    • 57600 bps,
    • 8 data bits,
    • no parity bit,
    • 1 stop bit,
    • no flow control.

Contact Information

For further information, visit Atmel AVR32.