![]() |
CMSIS-Driver Validation
Version 1.0
Driver Validation
|
SPI test cases. More...
Functions | |
void | SPI_GetCapabilities (void) |
Test case: SPI_GetCapabilities. | |
void | SPI_Initialization (void) |
Test case: SPI_Initialization. | |
void | SPI_CheckInvalidInit (void) |
Test case: SPI_CheckInvalidInit. | |
void | SPI_PowerControl (void) |
Test case: SPI_PowerControl. | |
void | SPI_Config_PolarityPhase (void) |
Test case: SPI_Config_PolarityPhase. | |
void | SPI_Config_DataBits (void) |
Test case: SPI_Config_DataBits. | |
void | SPI_Config_BitOrder (void) |
Test case: SPI_Config_BitOrder. | |
void | SPI_Config_SSMode (void) |
Test case: SPI_Config_SSMode. | |
void | SPI_Config_CommonParams (void) |
Test case: SPI_Config_CommonParams. | |
void | SPI_Config_BusSpeed (void) |
Test case: SPI_Config_BusSpeed. | |
void | SPI_Send (void) |
Test case: SPI_Send. | |
void | SPI_Receive (void) |
Test case: SPI_Receive. | |
void | SPI_Loopback_CheckBusSpeed (void) |
Test case: SPI_Loopback_CheckBusSpeed. | |
void | SPI_Loopback_Transfer (void) |
Test case: SPI_Loopback_Transfer. | |
The SPI validation test performs the following checks:
To perform loopback communication tests, it is required to connect the SPI's MISO signal to the MOSI signal (refer to the schematics of your target hardware for detailed pinout information).
void SPI_CheckInvalidInit | ( | void | ) |
The test case SPI_CheckInvalidInit verifies the driver behaviour when receiving an invalid initialization sequence:
void SPI_Config_BitOrder | ( | void | ) |
The test case SPI_Config_BitOrder verifies the Control function with the sequence:
void SPI_Config_BusSpeed | ( | void | ) |
The test case SPI_Config_BusSpeed verifies the Control function and tests bus speeds with the sequence:
void SPI_Config_CommonParams | ( | void | ) |
The test case SPI_Config_CommonParams verifies the Control function with the sequence:
void SPI_Config_DataBits | ( | void | ) |
The test case SPI_Config_DataBits verifies the Control function with the sequence:
void SPI_Config_PolarityPhase | ( | void | ) |
The test case SPI_Config_PolarityPhase verifies the Control function with the sequence:
void SPI_Config_SSMode | ( | void | ) |
The test case SPI_Config_SSMode verifies the Control function with the sequence:
void SPI_GetCapabilities | ( | void | ) |
The test case SPI_GetCapabilities verifies the function GetCapabilities.
void SPI_Initialization | ( | void | ) |
The test case SPI_Initialization verifies the SPI functions with the sequence:
void SPI_Loopback_CheckBusSpeed | ( | void | ) |
The test case SPI_Loopback_CheckBusSpeed verifies the function Control with the sequence:
void SPI_Loopback_Transfer | ( | void | ) |
The test case SPI_Loopback_Transfer verifies the function Transfer.
void SPI_PowerControl | ( | void | ) |
The test case SPI_PowerControl verifies the PowerControl function with the sequence:
void SPI_Receive | ( | void | ) |
The test case SPI_Receive verifies the function Receive with the sequence:
void SPI_Send | ( | void | ) |
The test case SPI_Send verifies the function Send with the sequence: