Search found 50 matches

by apuder
Sat Mar 30, 2024 10:55 pm
Forum: General Discussion
Topic: Q: I2S receiving buffer size
Replies: 2
Views: 2279

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: 2279

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: 825

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: 36383

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: 5372

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: 5372

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: 2744

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: 2744

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
by apuder
Sun Jun 06, 2021 4:15 am
Forum: General Discussion
Topic: Use ULP to blink LED
Replies: 3
Views: 5762

Re: Use ULP to blink LED

Thanks, that helped. I got it to work with:

Code: Select all

WRITE_RTC_REG(RTC_IO_PAD_DAC1_REG, 17, 1, 1)
WRITE_RTC_REG(RTC_IO_PAD_DAC1_REG, 15, 2, 0)
AP
by apuder
Sat Jun 05, 2021 6:03 am
Forum: General Discussion
Topic: Use ULP to blink LED
Replies: 3
Views: 5762

Use ULP to blink LED

Hi, I have been looking at this example where the author used the ULP to make an LED blink: https://github.com/joba-1/Blink-ULP The example uses GPIO 2 (RTC GPIO 12) to connect the LED. I tried unsuccessfully to change the example to make use of GPIO 25. According to table 4.4 of the TRM GPIO 25 is ...