An open API service indexing awesome lists of open source software.

https://github.com/mrcodetastic/esp32s3_spi_dma_tx_seg_loop

Example of SPI Master DMA driven segmented transfers on the ESP32S3
https://github.com/mrcodetastic/esp32s3_spi_dma_tx_seg_loop

esp32-s3 esp32s3 octal-spi segmented-transfer spi

Last synced: 4 months ago
JSON representation

Example of SPI Master DMA driven segmented transfers on the ESP32S3

Awesome Lists containing this project

README

        

## Overview
This code uses the ESP32S3's SPI (GPSPI2) device to start a half-duplex octal (8 bits in parallel) transmission, sending a 25kByte segment continuously until interrupted.

The transmission can be restarted.

## Logic flow

![image](https://github.com/mrcodetastic/esp32s3_spi_dma_tx_seg_loop/assets/12006953/7ee6f797-2124-484c-b6ed-f23f678bd1c5)

## As seen in Pulseview
The gap between stopping a transmission, waiting for completion (via interrupt) and then restarting is only a few milliseconds.

![image](https://github.com/mrcodetastic/esp32s3_spi_dma_tx_seg_loop/assets/12006953/f69701cb-33b3-4cfb-963a-f1483dc93b91)