Search found 7 matches

by 64-core CPU
Mon Nov 10, 2025 8:58 pm
Forum: ESP-IDF
Topic: How to add custom peripherals to qemu-esp?
Replies: 4
Views: 2273

Re: How to add custom peripherals to qemu-esp?

The solution was found here https://stackoverflow.com/questions/65481757/qemu-read-guest-ram-from-host-application Using cpu_physical_memory_read you can read the guest's memory.

So, let's summarize SPI emulation using DMA channels:
1) The ESP firmware writes various registers, including SPI_DMA ...
by 64-core CPU
Mon Nov 10, 2025 2:39 pm
Forum: ESP-IDF
Topic: How to add custom peripherals to qemu-esp?
Replies: 4
Views: 2273

Re: How to add custom peripherals to qemu-esp?

It seems that I have found the answer to the first question. I assumed that this was an offset relative to something and started going through the starting addresses of the regions specified in the documentation.It looks like the address 0x3FF00000 is used as a base - this is the starting address in ...
by 64-core CPU
Mon Nov 10, 2025 12:26 pm
Forum: ESP-IDF
Topic: How to add custom peripherals to qemu-esp?
Replies: 4
Views: 2273

Re: How to add custom peripherals to qemu-esp?

OK, let's continue. I was able to connect the devices via the i2c bus and GPIO lines without any problems - they work as expected and without any issues.

Now when I tried to connect devices via SPI bus, I had problems with it. Data simply doesn't pass through SPI. The emulated device reads only ...
by 64-core CPU
Fri Nov 07, 2025 5:48 am
Forum: ESP-IDF
Topic: How to add custom peripherals to qemu-esp?
Replies: 4
Views: 2273

Re: How to add custom peripherals to qemu-esp?

I did a little digging through the source code and concluded that my assumption about the gpio subsystem was correct—it's not implemented. The only thing it does implement is reading bootstrap. Obviously, this isn't enough for gpio to work in any form, so I tinkered with the code a bit. Here is a ...
by 64-core CPU
Wed Nov 05, 2025 2:56 pm
Forum: ESP-IDF
Topic: How to add custom peripherals to qemu-esp?
Replies: 4
Views: 2273

How to add custom peripherals to qemu-esp?

(Please note that English is not my native language)

Hi all! I am developing my own device with esp32 chip as CPU. This device has various peripherals on different buses such as i2c and spi. Some of the peripherals also have GPIO connections for interrupts.

I want to make an emulator of my device ...
by 64-core CPU
Wed Nov 04, 2020 5:06 pm
Forum: Hardware
Topic: ESP32 A2DP src SBC codec setup
Replies: 1
Views: 4669

Re: ESP32 A2DP src SBC codec setup

I ended up solving the problem. The point was that the wrong quartz was soldered on the vs1053 debug board. Because of this, the vs1053 played sound slower than necessary.

They also helped me on GitHub https://github.com/espressif/esp-idf/issues/5997

Thank you all for your attention.

Moderators ...
by 64-core CPU
Thu Oct 15, 2020 10:51 am
Forum: Hardware
Topic: ESP32 A2DP src SBC codec setup
Replies: 1
Views: 4669

ESP32 A2DP src SBC codec setup

(Sorry for my english)

Hi!

I have esp32 and vs1053(audio codec). I trying create bluetooth audio player. I set up the esp32 as bluetooth sound source. vs1053 decodes audio and returns it over the i2s bus. vs1053 support i2s output format is 16bit per sample and 48/96/192KHz. I set it to output at ...

Go to advanced search