SPI

Serial Peripheral Interface

SPI Block Diagram


GUI (Graphical Programming Interface:

API (Application Programming Interface:

C API:

void init_SPI(int baudrate, int mode);

void write_SPI(uint8_t *write_data);

void read_SPI(int num_read_bytes, uint8_t *rd_buf);

void write_read_SPI(uint8_t *write_data, uint8_t *rd_buf);


PYTHON API:

init_spi(baudrate, mode)

write_spi(spi_list)

read_spi(num_read_bytes)

write_read_spi(write_data)