Search found 14 matches

by iamflimflam1
Sat Sep 27, 2025 6:50 am
Forum: ESP-IDF
Topic: PDM microphone L/R GPIO pin.
Replies: 2
Views: 794

Re: PDM microphone L/R GPIO pin.

Thanks - that’s really helpful. Makes sense now.
by iamflimflam1
Wed Sep 24, 2025 4:55 pm
Forum: ESP-IDF
Topic: PDM microphone L/R GPIO pin.
Replies: 2
Views: 794

PDM microphone L/R GPIO pin.

I'm using a PDM microphone - https://media.digikey.com/pdf/Data%20Sheets/Ole%20Wolff/OWMMOD-403010A-S261F.pdf

This has a clock pin and an L/R pin.

When I'm setting up the GPIO pins - I don't see any way to specify the L/R pin.


typedef struct {
gpio_num_t clk; /*!< PDM clk pin, output */
union ...
by iamflimflam1
Thu Oct 28, 2021 1:55 pm
Forum: ESP-IDF
Topic: spi: spicommon_dma_chan_alloc(228): no available dma channel
Replies: 1
Views: 2131

Re: spi: spicommon_dma_chan_alloc(228): no available dma channel

Turns out this was being caused by an issue on my side.
by iamflimflam1
Thu Oct 28, 2021 9:23 am
Forum: ESP-IDF
Topic: spi: spicommon_dma_chan_alloc(228): no available dma channel
Replies: 1
Views: 2131

spi: spicommon_dma_chan_alloc(228): no available dma channel

I'm having an issue with using SD Cards with SPI

Code: Select all

spi: spicommon_dma_chan_alloc(228): no available dma channel
I'm not sure how to track this issue down - I can't recreate it in a simple test program, only in my main application.
by iamflimflam1
Sun Oct 10, 2021 6:08 pm
Forum: ESP-IDF
Topic: Correct argument for ulp_run
Replies: 1
Views: 2399

Correct argument for ulp_run

I'm confused by what should be passed in the argument for ulp_run

I've seen examples that show this:

ulp_run((&ulp_entry - RTC_SLOW_MEM)/4);

and this

ulp_run(&ulp_entry - RTC_SLOW_MEM);

In the docs it does say that it should be expressed in 32 bit words - which I think is where the /4 is ...
by iamflimflam1
Sat Jul 24, 2021 9:41 am
Forum: ESP-IDF
Topic: hfp_hf disconnects after a few seconds
Replies: 2
Views: 4252

Re: hfp_hf disconnects after a few seconds

For anyone looking for a working hsp_hf I've pulled together something that works using: https://github.com/bluekitchen/btstack

It's very much based on their demo code with a very small amount of cleanup and addition of microphone input so it fully works.

https://github.com/atomic14/esp32-hsp-hf
by iamflimflam1
Thu Jul 22, 2021 1:14 pm
Forum: ESP-IDF
Topic: hfp_hf disconnects after a few seconds
Replies: 2
Views: 4252

hfp_hf disconnects after a few seconds

I'm trying to run the esp-idf hfp_hf example examples/bluetooth/bluedroid/classic_bt/hfp_hf

It seems to work, but disconnects after a short period of time. This is what I see in the logs:

hfp_hf> con
connect
W (6571) BT_APPL: HF Client found collision (ACL) ...
hfp_hf> I (14101) BT_HF: ESP_BT ...
by iamflimflam1
Tue Jan 12, 2021 5:14 am
Forum: ESP-IDF
Topic: SPI transaction sending speed
Replies: 1
Views: 2674

Re: SPI transaction sending speed

Looks like I should be using `spi_device_polling_transmit`
by iamflimflam1
Mon Jan 11, 2021 10:01 pm
Forum: ESP-IDF
Topic: SPI transaction sending speed
Replies: 1
Views: 2674

SPI transaction sending speed

Hi All,

I'm trying to control a dual DAC converter using SPI - the MCP4822 (https://ww1.microchip.com/downloads/en/DeviceDoc/20002249B.pdf)

I was hoping to be able to send out 2 samples at around 20KHz but seems to be only able to get about half that rate. I thnk each sample needs to be sent as a ...
by iamflimflam1
Wed Dec 09, 2020 1:48 pm
Forum: Hardware
Topic: Open drain output max voltage
Replies: 3
Views: 6139

Re: Open drain output max voltage

I can't find many (any) details on the output drivers.

I thought that unless there are protection diodes that would take the voltage back to the supply rails you should be safe pulling up an open-drain output to a higher voltage as it won't be connected to anything when the output is off?

Go to advanced search