|
TLE92466ED Driver 0.1.0-dev
Modern C++20 driver for Infineon TLE92466ED Six-Channel Low-Side Solenoid Driver
|
SPI Communication Parameters. More...
#include <esp32_tle92466ed_test_config.hpp>
Static Public Attributes | |
| static constexpr uint32_t | FREQUENCY = 1000000 |
| 1MHz SPI frequency | |
| static constexpr uint8_t | MODE = 1 |
| SPI Mode 1 (CPOL=0, CPHA=1) | |
| static constexpr uint8_t | QUEUE_SIZE = 1 |
| Transaction queue size. | |
| static constexpr uint8_t | CS_ENA_PRETRANS = 1 |
| CS asserted N clock cycles before transaction. | |
| static constexpr uint8_t | CS_ENA_POSTTRANS = 1 |
| CS held N clock cycles after transaction. | |
SPI Communication Parameters.
The TLE92466ED supports SPI frequencies up to 8MHz. We use 1MHz for reliable communication with standard wiring.
CS Timing Requirements (per TLE92466ED datasheet):
cs_ena_pretrans and cs_ena_posttrans are in clock cycles. At 1MHz: 1 cycle = 1000ns, so 2 cycles = 2000ns (well above 50ns minimum)
|
staticconstexpr |
CS held N clock cycles after transaction.
|
staticconstexpr |
CS asserted N clock cycles before transaction.
|
staticconstexpr |
1MHz SPI frequency
|
staticconstexpr |
SPI Mode 1 (CPOL=0, CPHA=1)
|
staticconstexpr |
Transaction queue size.