Search found 52 matches

by apuder
Tue Jun 04, 2024 5:20 pm
Forum: ESP-IDF
Topic: SPIFFS partition not flashed
Replies: 2
Views: 564

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...
by apuder
Sun Jun 02, 2024 6:42 pm
Forum: ESP-IDF
Topic: SPIFFS partition not flashed
Replies: 2
Views: 564

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...
by apuder
Sat Mar 30, 2024 10:55 pm
Forum: General Discussion
Topic: Q: I2S receiving buffer size
Replies: 2
Views: 3960

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
by apuder
Tue Nov 28, 2023 8:09 pm
Forum: General Discussion
Topic: Q: I2S receiving buffer size
Replies: 2
Views: 3960

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 * ...
by apuder
Tue Jun 27, 2023 4:37 pm
Forum: ESP-IDF
Topic: Different partition.csv files in one project
Replies: 1
Views: 1026

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...
by apuder
Thu Dec 16, 2021 11:11 pm
Forum: Report Bugs
Topic: Problem with spi_master driver and two mixed-duplex devices
Replies: 5
Views: 37551

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
by apuder
Thu Dec 16, 2021 9:38 pm
Forum: General Discussion
Topic: Issue with two SPI devices on same bus
Replies: 1
Views: 5673

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...
by apuder
Sat Dec 11, 2021 12:44 am
Forum: General Discussion
Topic: Issue with two SPI devices on same bus
Replies: 1
Views: 5673

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...
by apuder
Fri Jun 11, 2021 7:02 am
Forum: ESP-IDF
Topic: Bit 27 of RTCIO_TOUCH_PADn_REG
Replies: 2
Views: 2926

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
by apuder
Thu Jun 10, 2021 1:57 pm
Forum: ESP-IDF
Topic: Bit 27 of RTCIO_TOUCH_PADn_REG
Replies: 2
Views: 2926

Bit 27 of RTCIO_TOUCH_PADn_REG

Hi,

I have been tracing a call to rtc_gpio_pullup_dis(GPIO_NUM_2). This leads to a call to rtcio_ll_pullup_disable where bit 27 is cleared of RTCIO_TOUCH_PAD2_REG. I checked the TRM for this register (Register 4.54) but for bit 27 it says "reserved". What am I missing here?

TIA,
AP