![]() |
CMSIS-Driver Validation
Version 1.4.0
Driver Validation
|
SPI test cases. More...
Functions | |
| void | SPI_GetCapabilities (void) |
| Test case: SPI_GetCapabilities. More... | |
| void | SPI_Initialization (void) |
| Test case: SPI_Initialization. More... | |
| void | SPI_CheckInvalidInit (void) |
| Test case: SPI_CheckInvalidInit. More... | |
| void | SPI_PowerControl (void) |
| Test case: SPI_PowerControl. More... | |
| void | SPI_Config_PolarityPhase (void) |
| Test case: SPI_Config_PolarityPhase. More... | |
| void | SPI_Config_DataBits (void) |
| Test case: SPI_Config_DataBits. More... | |
| void | SPI_Config_BitOrder (void) |
| Test case: SPI_Config_BitOrder. More... | |
| void | SPI_Config_SSMode (void) |
| Test case: SPI_Config_SSMode. More... | |
| void | SPI_Config_CommonParams (void) |
| Test case: SPI_Config_CommonParams. More... | |
| void | SPI_Config_BusSpeed (void) |
| Test case: SPI_Config_BusSpeed. More... | |
| void | SPI_Send (void) |
| Test case: SPI_Send. More... | |
| void | SPI_Receive (void) |
| Test case: SPI_Receive. More... | |
| void | SPI_Loopback_CheckBusSpeed (void) |
| Test case: SPI_Loopback_CheckBusSpeed. More... | |
| void | SPI_Loopback_Transfer (void) |
| Test case: SPI_Loopback_Transfer. More... | |
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 Control function, configures various bus speeds, and measures the transfer time with this sequence:
| void SPI_Loopback_Transfer | ( | void | ) |
The test case SPI_Loopback_Transfer verifies the function Transfer with the sequence:
| 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: