Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
SAM SPI Unit Test

See here for project documentation.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.