CMSIS-Driver Validation  
Driver Validation

Functions

void SPI_DataLost (void)
 Function: Function SPI_DataLost. More...
 
void SPI_ModeFault (void)
 Function: Function SPI_ModeFault. More...
 

Description

These tests verify API and operation of the SPI event signaling, except ARM_SPI_EVENT_TRANSFER_COMPLETE signal which is tested in the Data Exchange tests.

The event tests verify the following driver function (SPI Driver function documentation):

Note
In Test Mode Loopback these tests are not executed

Function Documentation

◆ SPI_DataLost()

void SPI_DataLost ( void  )

The function SPI_DataLost verifies signaling of the ARM_SPI_EVENT_DATA_LOST event:

  • in Slave Mode with Slave Select line Hardware monitored
  • with default clock / frame format
  • with default data bits
  • with default bit order
  • at default bus speed

it also checks that status data_lost flag was activated.

◆ SPI_ModeFault()

void SPI_ModeFault ( void  )

The function SPI_ModeFault verifies signaling of the ARM_SPI_EVENT_MODE_FAULT event:

  • in Master Mode with Slave Select line Hardware monitored Input
  • with default clock / frame format
  • with default data bits
  • with default bit order
  • at default bus speed

it also checks that status mode_fault flag was activated.