Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
LIN Example

Purpose

The LIN management example demonstrates how to use LIN peripheral with

master/slave modes.

Requirements

This package can be used with SAM3X-EK and an additional LIN transceiver board. In this example, the USART-DB board is used as the LIN transceiver board. The USART-DB board is an external board which can be used to demonstrate varity of USART peripheral functions. In this case, the USART-DB board must be configured to LIN mode to enable the LIN access.

Description

This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the USART in LIN modes software driver.
It also comes bundled with an example. This example is a basic example supporting Master and Slave Mode example.

Usage

-# Build the program and download it into the evaluation board.
-# On the computer, open and configure a terminal application
   (e.g., HyperTerminal on Microsoft Windows) with these settings:
  - 115200 bauds
  - 8 bits of data
  - No parity
  - 1 stop bit
  - No flow control
-# In the terminal window, the
   following text should appear (values depend on the board and the chip

used):

-- LIN Example xxx --
-- xxxxxx-xx
-- Compiled: xxx xx xxxx xx:xx:xx --
  1. The application will output converted value to hyperterminal and display a menu for users to set different modes.