Search found 101 matches
- Wed Dec 11, 2024 9:45 pm
- Forum: ESP-IDF
- Topic: Any way to transfer image files between master and slave esp32 chips using SPI?
- Replies: 14
- Views: 5178
Re: Any way to transfer image files between master and slave esp32 chips using SPI?
As you can see at https://github.com/project-x51/esp32-s3-memorycopy, the PSRAM should be able to accept about 30MB/s - that's much faster than you can possibly receive via SPI. But I still need SPI, UART or some other protocol to transfer data from the master (ESP32) to slave (ESP32-S3), don't I? ...
- Tue Dec 10, 2024 7:39 pm
- Forum: ESP-IDF
- Topic: Any way to transfer image files between master and slave esp32 chips using SPI?
- Replies: 14
- Views: 5178
Re: Any way to transfer image files between master and slave esp32 chips using SPI?
Thanks for the explanations of backlog and pointing out my mistake in esp_async_memcpy. You mentioned that there's a part of code that I don't want. spi_slave_transaction_t t; t.length=128*8; memset(&t, 0, sizeof(t)); I'm a bit confused about what part of this code I don't want (please bear in mind ...
- Fri Dec 06, 2024 6:23 pm
- Forum: ESP-IDF
- Topic: Any way to transfer image files between master and slave esp32 chips using SPI?
- Replies: 14
- Views: 5178
Re: Any way to transfer image files between master and slave esp32 chips using SPI?
Thanks. I saw the example you posted a link to and adapted my approach to the following: 1. Transfer data from ESP32 (master) to ESP32-S3 (slave) over SPI using IRAM buffers 2. Transfer data from ESP32-S3 (slave) IRAM to PSRAM using DMA Step 1 works fine. But step 2 doesn't - keeps rebooting because...
- Mon Dec 02, 2024 6:09 pm
- Forum: ESP-IDF
- Topic: Any way to transfer image files between master and slave esp32 chips using SPI?
- Replies: 14
- Views: 5178
Re: Any way to transfer image files between master and slave esp32 chips using SPI?
Your suggestion below to use heap_caps_aligned_calloc() didn't resolve the issue either. However, if I replace recvbuf = heap_caps_malloc(2000000, MALLOC_CAP_SPIRAM); with WORD_ALIGNED_ATTR char recvbuf[128]={0}; instead (as shown in the original spi_slave example), then it works perfectly fine. But...
- Mon Dec 02, 2024 2:48 am
- Forum: ESP-IDF
- Topic: Any way to transfer image files between master and slave esp32 chips using SPI?
- Replies: 14
- Views: 5178
Re: Any way to transfer image files between master and slave esp32 chips using SPI?
Thanks. Checking for NULL - great learning point for a newbie. So this is what I've got now: WORD_ALIGNED_ATTR char sendbuf[128]={0}; DMA_ATTR static char *recvbuf = NULL; recvbuf = heap_caps_malloc(130, MALLOC_CAP_SPIRAM); assert(recvbuf != NULL); memset(recvbuf, 0, 2000000); spi_slave_transaction_...
- Sat Nov 30, 2024 9:27 pm
- Forum: ESP-IDF
- Topic: Any way to transfer image files between master and slave esp32 chips using SPI?
- Replies: 14
- Views: 5178
Re: Any way to transfer image files between master and slave esp32 chips using SPI?
Thanks. Turns out I already have the SPI_DMA_CH_AUTO flag in spi_bus_initialize(). The buffers you refer to - do they need to be internal buffers or can they reside on external SPI RAM? Read somewhere that DMA capable RAM doesn't yet work with external RAM - is that still the case? Asking because th...
- Fri Nov 29, 2024 1:55 pm
- Forum: ESP-IDF
- Topic: Any way to transfer image files between master and slave esp32 chips using SPI?
- Replies: 14
- Views: 5178
Re: Any way to transfer image files between master and slave esp32 chips using SPI?
@MicroController Thanks. Does Espressif have an example for SPI DMA to look at? I haven't come across that yet and am curious.
- Tue Nov 26, 2024 12:25 am
- Forum: ESP-IDF
- Topic: Any way to transfer image files between master and slave esp32 chips using SPI?
- Replies: 14
- Views: 5178
Any way to transfer image files between master and slave esp32 chips using SPI?
I’m using SPI slave example which allows for data transfer between a master and slave over SPI, utilizing a GPIO for handshake between master and slave. Is there a way to transfer an image file using this protocol? This is the approach I was thinking of, but appreciate some feedback: 1. Master sends...
- Tue Oct 08, 2024 9:20 pm
- Forum: ESP IoT Solution
- Topic: Unable to get valid IO Expander handle for ESP32-S3 and LCD using TCA9554 IO Expander
- Replies: 1
- Views: 6160
Unable to get valid IO Expander handle for ESP32-S3 and LCD using TCA9554 IO Expander
Setup: Driving LCD (without touchscreen) with an Adafruit Qualia ESP32-S3 board which uses a TCA9554 I/O expander. LCD screen uses ST7701 panel driver. Attached schematics show connection between ESP32-S3, I/O expander and LCD screen. Trying to run the rgb_avoid_tearing example from ESP-IOT-SOLUTION...
- Mon Sep 16, 2024 10:51 pm
- Forum: IDEs for ESP-IDF
- Topic: Proper "Adafruit Qualia ESP32-S3 for TTL RGB-666 board" configurations in VsCode ESP-IDF or PlatformIO
- Replies: 4
- Views: 9077
Re: Proper "Adafruit Qualia ESP32-S3 for TTL RGB-666 board" configurations in VsCode ESP-IDF or PlatformIO
Hi, can you please post a link to the platformIO project you’re referring to? I’m trying to make the same Qualia board and lcd screen work using esp-off and am running into challenges. Any ideas or feedback on what to look out for would be appreciated.