Search found 53 matches
- Thu Jul 25, 2024 7:58 pm
- Forum: General Discussion
- Topic: Q: I2S receiving buffer size
- Replies: 6
- Views: 6016
Re: Q: I2S receiving buffer size
Sorry, but I'm still a little unclear. The documentation for i2s_read() says for the output parameter bytes_read, "Number of bytes read, if timeout, bytes read will be less than the size passed in". It sounds like if you pass portMAX_DELAY for no timeout, the number of bytes read will be the number ...
- Tue Jun 04, 2024 5:20 pm
- Forum: ESP-IDF
- Topic: SPIFFS partition not flashed
- Replies: 2
- Views: 947
Re: SPIFFS partition not flashed
Did you add a call to spiffs_create_partition_image() to your CMakeLists.txt for the new partition? Thanks, @MicroController. That did the trick. I did the last SPIFFS partitions over a year ago and forgot that I also have to add this directive to CMakeLists.txt. I incorrectly assumed that mentioni...
- Sun Jun 02, 2024 6:42 pm
- Forum: ESP-IDF
- Topic: SPIFFS partition not flashed
- Replies: 2
- Views: 947
SPIFFS partition not flashed
Hi, I have a custom partition table that includes a few SPIFFS partitions. Everything worked well until I added another SPIFFS partition. idf.py won't package that SPIFFS partition and I don't know why. Here is my custom partition table: nvs, data, nvs, , 0x6000, phy_init, data, phy, , 0x1000, facto...
- Sat Mar 30, 2024 10:55 pm
- Forum: General Discussion
- Topic: Q: I2S receiving buffer size
- Replies: 6
- Views: 6016
Re: Q: I2S receiving buffer size
Hi all: I am still puzzled by my question from last November. Any knowledgeable soul out there know the answer?
AP
AP
- Tue Nov 28, 2023 8:09 pm
- Forum: General Discussion
- Topic: Q: I2S receiving buffer size
- Replies: 6
- Views: 6016
Q: I2S receiving buffer size
Hi, I understand the need for more than 1 DMA buffer to ensure continuous reading of I2S data. I assume for two DMA buffers, the CPU processes one buffer while DMA fills the second and then repeats the process by flipping the buffers. The documentation states that recv_buffer_size > dma_buf_count * ...
- Tue Jun 27, 2023 4:37 pm
- Forum: ESP-IDF
- Topic: Different partition.csv files in one project
- Replies: 1
- Views: 1326
Different partition.csv files in one project
Hi all, for one of my projects I have two different partition.csv files depending on a Kconfig compile-time configuration. ESP-IDF lets me select one custom partition.csv file, but I would like to make that dependent on an application-specific setting. I realize this is more of a CMake question than...
- Thu Dec 16, 2021 11:11 pm
- Forum: Report Bugs
- Topic: Problem with spi_master driver and two mixed-duplex devices
- Replies: 5
- Views: 38828
Re: Problem with spi_master driver and two mixed-duplex devices
I also ran into the same issue: I'm using full-duplex to talk to a SD card and half-duplex to another SPI device. The patch that is mention in this thread unfortunately does not work for me.
AP
AP
- Thu Dec 16, 2021 9:38 pm
- Forum: General Discussion
- Topic: Issue with two SPI devices on same bus
- Replies: 1
- Views: 6213
Re: Issue with two SPI devices on same bus
So, after some more digging it appears that my problem is the same as the one described here: https://www.esp32.com/viewtopic.php?t=13719 What I wasn't explicit about in my original post: everything worked fine when I used full-duplex connections to both SPI devices. Things started to break once I s...
- Sat Dec 11, 2021 12:44 am
- Forum: General Discussion
- Topic: Issue with two SPI devices on same bus
- Replies: 1
- Views: 6213
Issue with two SPI devices on same bus
Hi all. I have two SPI devices connected to an ESP32; a micro-SD card and an FGPA. Both work fine, however, because of some timing issues I can clock the SPI signal to the FPGA only at 5 MHz. I want to use the dummy bit workaround as described in the documentation, however, this let me down a rabbit...
- Fri Jun 11, 2021 7:02 am
- Forum: ESP-IDF
- Topic: Bit 27 of RTCIO_TOUCH_PADn_REG
- Replies: 2
- Views: 3314
Re: Bit 27 of RTCIO_TOUCH_PADn_REG
So, this is an example of "the code is the documentation." I guess this is a question for the Espressif folks: how much up to date is the TRM and when will the documentation catch up with the current hardware/software?
AP
AP