Spi Master Driver - Espressif ESP32-S2 Programming Manual

Table of Contents

Advertisement

Chapter 2. API Reference
Enumerations
enum sigmadelta_port_t
SIGMADELTA port number, the max port number is (SIGMADELTA_NUM_MAX -1).
Values:
SIGMADELTA_PORT_0
SIGMADELTA port 0
SIGMADELTA_PORT_MAX
SIGMADELTA port max
enum sigmadelta_channel_t
Sigma-delta channel list.
Values:
SIGMADELTA_CHANNEL_0
Sigma-delta channel 0
SIGMADELTA_CHANNEL_1
Sigma-delta channel 1
SIGMADELTA_CHANNEL_2
Sigma-delta channel 2
SIGMADELTA_CHANNEL_3
Sigma-delta channel 3
SIGMADELTA_CHANNEL_4
Sigma-delta channel 4
SIGMADELTA_CHANNEL_5
Sigma-delta channel 5
SIGMADELTA_CHANNEL_6
Sigma-delta channel 6
SIGMADELTA_CHANNEL_7
Sigma-delta channel 7
SIGMADELTA_CHANNEL_MAX
Sigma-delta channel max

2.2.16 SPI Master Driver

SPI Master driver is a program that controls ESP32-S2's SPI peripherals while they function as masters.
Overview of ESP32-S2's SPI peripherals
ESP32-S2 integrates 4 SPI peripherals.
• SPI0 and SPI1 are used internally to access the ESP32-S2's attached flash memory. Both controllers share
the same SPI bus signals, and there is an arbiter to determine which can access the bus.
Currently, SPI Master driver does not support SPI1 bus.
• SPI2 and SPI3 are general purpose SPI controllers. They are open to users. SPI2 and SPI3 have independent
signal buses with the same respective names. SPI2 has 6 CS lines. SPI3 has 3 CS lines. Each CS line can be
used to drive one SPI slave.
Terminology
The terms used in relation to the SPI master driver are given in the table below.
Espressif Systems
364
Submit Document Feedback
Release v4.4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S2 and is the answer not in the manual?

Table of Contents

Save PDF