# SPI in QUP

Source: [https://docs.qualcomm.com/doc/80-88500-1/topic/30_SPI_in_QUP_v3.html](https://docs.qualcomm.com/doc/80-88500-1/topic/30_SPI_in_QUP_v3.html)

The serial peripheral interface (SPI) core allows full and half-duplex synchronous serial
      communication between a master and slave. There is no explicit communication framing, error
      checking, or defined data word length. Hence, the communication is strictly at the raw-bit
      level.

The SPI core supports the following:

- Transfer rates up to 50 MHz
- 4 bits to 32 bits per word of transfer
- Maximum of four chip selects (CS) per bus

- **[Configure SPI in kernel](https://docs.qualcomm.com/doc/80-88500-1/topic/31_Configure_SPI_in_kernel_.html)**
- **[Add delay between SPI_CS asserting pin and SPI_CLK](https://docs.qualcomm.com/doc/80-88500-1/topic/32_Add_delay_time_between_SPI_CS_asserting_pin_and_SPI_CLK.html)**
- **[Measure SPI throughput](https://docs.qualcomm.com/doc/80-88500-1/topic/33_Measure_SPI_throughput.html)**
- **[Configure SPI in sensor core](https://docs.qualcomm.com/doc/80-88500-1/topic/34_Configure_SPI_in_sensor_core_.html)**
- **[Enable SPI bus in sensor low-power island (SLPI)](https://docs.qualcomm.com/doc/80-88500-1/topic/35_Enable_SPI_bus_in_sensor_low_power_island__SLPI_.html)**
- **[Update QUP serial engine firmware for SPI](https://docs.qualcomm.com/doc/80-88500-1/topic/36_Update_QUP_v3_serial_engine_firmware_for_SPI.html)**
- **[Configure GPI as SPI](https://docs.qualcomm.com/doc/80-88500-1/topic/37_Configure_GPI_as_SPI.html)**
- **[Enable SPI bus in TrustZone](https://docs.qualcomm.com/doc/80-88500-1/topic/38_Enable_SPI_bus_in_TrustZone.html)**
- **[Full-duplex SPI transfer mechanism in TrustZone](https://docs.qualcomm.com/doc/80-88500-1/topic/39_Full_duplex_SPI_transfer_mechanism_in_TrustZone.html)**
- **[Full-cycle timing mechanism of SPI bus](https://docs.qualcomm.com/doc/80-88500-1/topic/40_Full_cycle_timing_mechanism_of_SPI_bus.html)**

**Parent Topic:** [Qualcomm universal peripheral (QUP)](https://docs.qualcomm.com/doc/80-88500-1/topic/16_Qualcomm_universal_peripheral__QUP_.html)

Last Published: Aug 18, 2023

[Previous Topic
Configure UART in sensor low-power island (SLPI) processor](https://docs.qualcomm.com/bundle/publicresource/80-88500-1/topics/28_Configure_UART_in_sensor_low_power_island__SLPI__processor.md) [Next Topic
Configure SPI in kernel](https://docs.qualcomm.com/bundle/publicresource/80-88500-1/topics/31_Configure_SPI_in_kernel_.md)