I'm working on a project where the ESP32 will be configured as a spi slave device. The main controller will provide data to the ESP32 over spi at 2 MHz. However, the spi transactions will be variable in length, and based on the documentation here: https://docs.espressif.com/projects/esp ... slave.html, it still seems like there is still a usage restriction on DMA if the spi transaction is not a multiple of 4 bytes. Is this still the case or has this been fixed on newer chips?
If the DMA issue still exists, is there anyway to implement a spi driver that can handle transactions over 64 bytes without DMA? From the documentation, it seems like anything over 64 bytes requires DMA, but since I don't have control over the transaction length, I don't know if there's an easy software fix for this.
Implementing SPI transactions over 64 bytes without DMA
Who is online
Users browsing this forum: Bing [Bot] and 83 guests