Microchip® Advanced Software Framework

SAM FREQM Unit Test

Overview:

Introduction

This unit test carries out tests for the FREQM driver.

It consists of test cases for the following functionalities:

  • Test for FREQM polling mode read.
  • Test for FREQM callback mode read.

The following kit is required for carrying out the test:

  • SAM L22 Xplained Pro board

Setup

There is no special requirement.

To run the test:

  • Connect the SAM Xplained Pro board to the computer using a micro USB cable.
  • Open the virtual COM port in a terminal application.
    Note
    The USB composite firmware running on the Embedded Debugger (EDBG) will enumerate as debugger, virtual COM port, and EDBG data gateway.
  • Build the project, program the target and run the application. The terminal shows the results of the unit test.

Usage

  • Polling mode read is tested.
  • Callback mode read is tested.

Compilation Info

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

Contact Information

For further information, visit http://www.microchip.com.