Mistake on this page?
Report an issue in GitHub or email us
Functions

The SPI HAL tests ensure driver conformance to defined behaviour. More...

Functions

void fpga_spi_test_init_free (PinName mosi, PinName miso, PinName sclk, PinName ssel)
 Test that the spi-Master can be initialized/de-initialized using all possible SPI pins. More...
 
void fpga_spi_test_common (PinName mosi, PinName miso, PinName sclk, PinName ssel)
 Test that the SPI-Master transfer can be performed in various configurations. More...
 

Detailed Description

The SPI HAL tests ensure driver conformance to defined behaviour.

To run the SPI hal tests use the command:

mbed test -t <toolchain> -m <target> -n tests-mbed_hal_fpga_ci_test_shield-spi

Function Documentation

void fpga_spi_test_common ( PinName  mosi,
PinName  miso,
PinName  sclk,
PinName  ssel 
)

Test that the SPI-Master transfer can be performed in various configurations.

Given board provides SPI-Master support. When SPI transmission is performed using different settings. Then data is successfully transfered.

void fpga_spi_test_init_free ( PinName  mosi,
PinName  miso,
PinName  sclk,
PinName  ssel 
)

Test that the spi-Master can be initialized/de-initialized using all possible SPI pins.

Given board provides SPI-Master support. When SPI-Master is initialized (and then de-initialized) using valid set of SPI pins. Then the operation is successfull.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.