Search found 4 matches

by leleroy
Thu Dec 22, 2022 5:18 am
Forum: ESP32 Arduino
Topic: Keep clocking out in SCLK (without blocking) when not using SPI
Replies: 1
Views: 977

Re: Keep clocking out in SCLK (without blocking) when not using SPI

Using RMT is probably the right way to go!
No CPU load.

Code: Select all

https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-reference/peripherals/rmt.html#resource-allocation
by leleroy
Thu Dec 22, 2022 5:16 am
Forum: ESP32 Arduino
Topic: Where is the driver/* layer in my Arduino/ESP32 libraries?
Replies: 2
Views: 1381

Where is the driver/* layer in my Arduino/ESP32 libraries?

I installed the ESP32-Arduino support (via the Library Manager) according to this link: https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#installing-using-boards-manager But can't find ESP-IDF driver/* layer files at all? https://docs.espressif.com/projects/esp-idf/en/lates...
by leleroy
Sat Dec 17, 2022 6:24 am
Forum: ESP32 Arduino
Topic: Keep clocking out in SCLK (without blocking) when not using SPI
Replies: 1
Views: 977

Keep clocking out in SCLK (without blocking) when not using SPI

The SPI slave device is half-duplex and requires two different phases: 1. Sending it command via SPI - done and understood and done by: uint8_t spiTransferByte(spi_t * spi, uint8_t data) { if(!spi) { return 0; } SPI_MUTEX_LOCK(); spi->dev->mosi_dlen.usr_mosi_dbitlen = 7; spi->dev->miso_dlen.usr_miso...