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

QSPI tests of the HAL. More...

Functions

void qspi_init_free_test (void)
 Test that qspi_init/qspi_free can be called multiple times. More...
 
void qspi_frequency_test (void)
 Test qspi frequency setting. More...
 
template<qspi_bus_width_t write_inst_width, qspi_bus_width_t write_addr_width, qspi_bus_width_t write_data_width, qspi_bus_width_t write_alt_width, unsigned int write_cmd, qspi_address_size_t write_addr_size, qspi_alt_size_t write_alt_size, uint32_t write_count, qspi_bus_width_t read_inst_width, qspi_bus_width_t read_addr_width, qspi_bus_width_t read_data_width, qspi_bus_width_t read_alt_width, unsigned int read_cmd, int read_dummy_cycles, qspi_address_size_t read_addr_size, qspi_alt_size_t read_alt_size, int frequency, uint32_t read_count, uint32_t test_count, uint32_t data_size, uint32_t flash_addr>
void qspi_write_read_test (void)
 Template for write/read tests. More...
 

Detailed Description

QSPI tests of the HAL.

Function Documentation

void qspi_frequency_test ( void  )

Test qspi frequency setting.

Given board provides QSPI, with QSPI already initialized. When set QSPI frequency. Then freguency setting is successfully performed (no exception is generated).

void qspi_init_free_test ( void  )

Test that qspi_init/qspi_free can be called multiple times.

Given board provides QSPI. When qspi_init/qspi_free is called multiple times. Then qspi_init/qspi_free are successfully performed (no exception is generated).

void qspi_write_read_test ( void  )

Template for write/read tests.

Test single write/read operation of a block of data to/from the specific memory address Given board provides QSPI, with QSPI already initialized. When perform write and then read operations. Then data is successfully written and then read (no exception is generated) and the read data is valid.

Test multiple write/read operation of a block of data to/from the same specific memory address Given board provides QSPI, with QSPI already initialized. When perform write and then read operations. Then data is successfully written and then read (no exception is generated) and the read data is valid.

Test multiple adjacent write and single read operation of a block of data to/from the specific memory address Given board provides QSPI, with QSPI already initialized. When perform write and then read operations. Then data is successfully written and then read (no exception is generated) and the read data is valid.

Test single write and multiple adjacent read operation of a block of data to/from the specific memory address Given board provides QSPI, with QSPI already initialized. When perform write and then read operations. Then data is successfully written and then read (no exception is generated) and the read data is valid.

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.