Microchip® Advanced Software Framework

Overview

This unit test carries out tests for WDT driver.

This unit test carries out tests for the DAC driver.

This unit test carries out tests for SERCOM USART driver.

This unit test carries out tests for NVM driver.

This unit test carries out tests for the ADC driver.

This unit test carries out tests for TCC driver.

This unit test carries out tests for the BOD driver.

The Atmel® Software Framework (ASF) is a collection of free embedded software for Atmel microcontroller devices.

This unit test carries out tests for the AC driver.

This unit test carries out tests for the I2S driver.

This unit test carries out tests for TC driver.

This unit test carries out tests for the External Interrupt driver.

This unit test carries out tests for the I2C driver.

This unit test carries out tests for the EVENTS driver.

This unit test carries out tests for SERCOM SPI driver.

This unit test carries out tests for the EEPROM Emulator service.

This unit test carries out tests for the RTC count driver.

This unit test carries out tests for the RTC calendor driver.

It consists of test cases for the following functionalities:

  • Test for RTC calendar initialization.
  • Test for RTC calendar polled mode.
  • Test for RTC calendar callback mode.

This unit test carries out tests for the RTC count driver.

It consists of test cases for the following functionalities:

  • Test for RTC count initialization.
  • Test for RTC count polled mode.
  • Test for RTC count callback mode.

This unit test carries out tests for the EEPROM Emulator service.

It consists of test cases for the following functionalities:

  • Test for EEPROM emulator initialization.
  • Test for EEPROM emulator buffer read/write functionality.
  • Test for EEPROM emulator page read/write functionality.

This unit test carries out tests for SERCOM SPI driver.

It consists of test cases for the following functionalities:

  • Test for driver initialization.
  • Test for single byte write and read by polling.
  • Test for buffer write by polling and read with interrupt.
  • Test for buffer read & write using transceive function.
  • Test for 9-bit data transfer.
  • Test for baudrate.

This unit test carries out tests for the EVENTS driver.

It consists of test cases for the following functionalities:

  • Test for synchronous event propagation.
  • Test for resynchronized event propagation.
  • Test for asynchronous event propagation.
  • Application as a bridge for I2C slave bootloader self programming
  • Uses USB Communication Device Class(CDC)
  • I2C Master sends the data to be programmed over I2C bus

This unit test carries out tests for the I2C driver.

It consists of test cases for the following functionalities:

  • Test for I2C initialization.
  • Test for I2C master transfer.
  • Test for I2C master full speed transfer.

This unit test carries out tests for the External Interrupt driver.

It consists of test cases for the following functionalities:

  • Test for polled mode detection of external interrupt.
  • Test for callback mode detection of external interrupt.

This application calibrates the internal OSC8M (8MHz) oscillator of the device against a known, accurate external clock or crystal frequency.

This unit test carries out tests for TC driver.

It consists of test cases for the following functionalities:

  • Test for driver initialization.
  • Test for TC start/stop
  • Test for TC callback generation
  • Test for 32-bit (chained) TC operation
  • Test for compare and capture TC operation

This unit test carries out tests for the I2S driver.

It consists of test cases for the following functionalities:

  • Test for polled mode transmit/receive of I2S.
  • Test for callback mode transmit/receive of I2S.

This application demonstrates a simple sound player, sourcing a waveform from the device's Non-Volatile Memory and streaming it out of the DAC as an analog waveform.

This unit test carries out tests for the AC driver.

It consists of test cases for the following functionalities:

  • Test for AC initialization.
  • Test for AC single shot comparison.
  • Test for AC callback mode comparison.
  • Test for AC continuous window mode comparison.

This application demonstrates a hardware XOSC32K external 32KHz crystal oscillator clock source failure detector, using general purpose hardware peripherals.

  • Application for self programming
  • Uses I2C Slave interface
  • I2C Master sends the data to be programmed over I2C bus
  • Resets the device after programming and starts executing application

The Atmel® Software Framework (ASF) is a collection of free embedded software for Atmel microcontroller devices.

It simplifies the usage of Atmel products, providing an abstraction to the hardware and high-value middleware.

ASF is designed to be used for evaluation, prototyping, design and production phases. ASF is integrated in the Atmel Studio IDE with a graphical user interface or available as a standalone package for several commercial and open source compilers.

This document describes the API interfaces to the low level ASF module drivers of the device.

asf_structure.jpg

For more information on ASF refer to the online documentation at www.atmel.com/asf.

This application runs a suite of tests for the AT25DFx SerialFlash driver with any SPI HAL that is supported by the driver and for which setup code has been added to this application.

This unit test carries out tests for the BOD driver.

It consists of test cases for the following functionalities:

  • Test for BOD initialization.
  • Test for BOD detected.

This unit test carries out tests for TCC driver.

It consists of test cases for the following functionalities:

  • Test for driver initialization.
  • Test for TCC start/stop
  • Test for TCC callback generation
  • Test for 24-bit TCC operation
  • Test for compare and capture TCC operation

This unit test carries out tests for the ADC driver.

It consists of test cases for the following functionalities:

  • Test for ADC initialization.
  • Test for ADC polled mode conversion.
  • Test for ADC callback mode conversion.
  • Test for ADC averaging mode.
  • Test for ADC window mode.

This unit test carries out tests for NVM driver.

It consists of test cases for the following functionalities:

  • Test for driver initialization.
  • Test for NVM parameter retrieval.
  • Test for FLASH row erasure.
  • Test for FLASH page read and write.
  • Test for FLASH partial page update.

This unit test carries out tests for SERCOM USART driver.

It consists of test cases for the following functionalities:

  • Test for driver initialization.
  • Test for single 8-bit write and read by polling.
  • Test for single 9-bit write and read by polling.
  • Test for multiple 8-bit write by polling and read by interrupts.
  • Test for multiple 8-bit write and read by interrupts.

The Atmel® Software Framework (ASF) is a collection of free embedded software for Atmel microcontroller devices.

It simplifies the usage of Atmel products, providing an abstraction to the hardware and high-value middleware.

ASF is designed to be used for evaluation, prototyping, design, and production phases. ASF is integrated in the Atmel Studio IDE with a graphical user interface or available as a standalone package for several commercial and open source compilers.

This document describes the API interfaces to the USB Stack for applications, included in ASF as middleware service.

asf_structure.jpg

For more information on ASF USB Stack and ASF, refer to the online documentation at following link:

This application demonstrates how to configure the ADC in a sleepwalking operation, where the input voltage is measured at a fixed interval, but the device is not woken from sleep until the measured value is below a given threshold; in this application 0.5 Volts.

This application demonstrates the use of the OLED1 Xplained Pro extension board for the SAM Xplained Pro with a Tic-tac-toe game.

This unit test carries out tests for the DAC driver.

DAC conversion has already been tested by quick_start. This test cases consists of the following functionalities:

  • Test for DAC initialization.
  • Test for DAC buffer empty

This application demonstrates a simple example to toggle the board LED.

This unit test carries out tests for WDT driver.

It consists of test cases for the following functionalities:

  • Test for driver initialization.
  • Test for early warning callbacks.
  • Test for system reset upon timeout.

This example demonstrates the different functional modes of Analog Comparator (AC) module in SAM D21 devices.