SPI Communication Parameters.
More...
#include <esp32_max22200_test_config.hpp>
|
| static constexpr uint32_t | FREQUENCY = 1000000 |
| | 1MHz SPI frequency
|
| |
| static constexpr uint8_t | MODE = 0 |
| | SPI Mode 0 (CPOL=0, CPHA=0) per datasheet.
|
| |
| static constexpr uint8_t | QUEUE_SIZE = 1 |
| | Transaction queue size.
|
| |
| static constexpr uint8_t | CS_ENA_PRETRANS = 1 |
| | CS setup cycles before transaction.
|
| |
| static constexpr uint8_t | CS_ENA_POSTTRANS = 1 |
| | CS hold cycles after transaction.
|
| |
SPI Communication Parameters.
MAX22200 SPI protocol (per datasheet Rev 1, 3/25):
- SPI Mode 0: CPOL=0, CPHA=0
- Maximum SPI clock: 10 MHz (standalone), 5 MHz (daisy-chain)
- Two-phase protocol: Phase 1: CMD pin HIGH → write 8-bit Command Register Phase 2: CMD pin LOW → read/write 8 or 32 bits of data
- Registers are 32-bit (or 8-bit MSB-only mode)
◆ CS_ENA_POSTTRANS
| constexpr uint8_t MAX22200_TestConfig::SPIParams::CS_ENA_POSTTRANS = 1 |
|
staticconstexpr |
CS hold cycles after transaction.
◆ CS_ENA_PRETRANS
| constexpr uint8_t MAX22200_TestConfig::SPIParams::CS_ENA_PRETRANS = 1 |
|
staticconstexpr |
CS setup cycles before transaction.
◆ FREQUENCY
| constexpr uint32_t MAX22200_TestConfig::SPIParams::FREQUENCY = 1000000 |
|
staticconstexpr |
◆ MODE
| constexpr uint8_t MAX22200_TestConfig::SPIParams::MODE = 0 |
|
staticconstexpr |
SPI Mode 0 (CPOL=0, CPHA=0) per datasheet.
◆ QUEUE_SIZE
| constexpr uint8_t MAX22200_TestConfig::SPIParams::QUEUE_SIZE = 1 |
|
staticconstexpr |
The documentation for this struct was generated from the following file: