Search found 31 matches

by Bryght-Richard
Fri Oct 04, 2024 9:15 pm
Forum: ESP-IDF
Topic: Custom SPI with maximum frequency 80MHz
Replies: 4
Views: 746

Re: Custom SPI with maximum frequency 80MHz

Could you use the I2S peripheral in parallel mode? This would be able to apply CS, drive clock, and read 2-8 bits in parallel, but I'm not sure if ESP could send to ADC at the same time. It can drive displays in parallel mode with DMA, and I think it can read too, but it may be half-duplex in parall...
by Bryght-Richard
Fri Sep 06, 2024 6:50 pm
Forum: ESP-IDF
Topic: GATT procedure initiated: notify; att_handle =
Replies: 1
Views: 1637

Re: GATT procedure initiated: notify; att_handle =

Apologies for restarting this old thread, but Google has chosen it. Adjust the Nimble Log Level in SDK config to prevent those message:

CONFIG_BT_NIMBLE_LOG_LEVEL_WARNING=y
CONFIG_BT_NIMBLE_LOG_LEVEL=2
by Bryght-Richard
Thu Aug 29, 2024 6:43 pm
Forum: General Discussion
Topic: LILYGO T-SIM7000G WITH CAMERA
Replies: 1
Views: 978

Re: LILYGO T-SIM7000G WITH CAMERA

Find or build a demo project for each of those functions. Make sure they work, and that you understand them. Then combine them into a new project.
by Bryght-Richard
Wed Aug 28, 2024 4:46 pm
Forum: General Discussion
Topic: ESP32 Forum search bug
Replies: 1
Views: 762

Re: ESP32 Forum search bug

Yes, they recommended to use google with "site:esp32.com".

viewtopic.php?f=14&t=40211
by Bryght-Richard
Fri Aug 23, 2024 6:39 pm
Forum: General Discussion
Topic: xtensa calling convention: arguments pre-extended, post-extended, or both?
Replies: 1
Views: 749

xtensa calling convention: arguments pre-extended, post-extended, or both?

More notes here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116467 #include <stdint.h> __attribute__ ((noinline)) uint32_t callee(uint32_t x, uint16_t y){ return x + y; } __attribute__ ((noinline)) uint32_t caller(uint32_t x, uint32_t y){ return callee(x, y); } In the above code, both caller() and...
by Bryght-Richard
Tue Aug 13, 2024 3:24 pm
Forum: ESP-IDF
Topic: Profiling on Espressif MCUs woes
Replies: 11
Views: 3188

Re: Profiling on Espressif MCUs woes

Cleaned up patches for upstream OpenOCD available here, could use reviewers and testers for ESP32 and ESP32-S2.
by Bryght-Richard
Wed Aug 07, 2024 1:35 pm
Forum: ESP-IDF
Topic: RMT transaction on led strip corrupted by WiFi interrupts
Replies: 8
Views: 2014

Re: RMT transaction on led strip corrupted by WiFi interrupts

I saw this once, but it was 2.4GHz radio transmission was sagging power supply slightly, so then RMT bitstream level was not reaching VIH level for LED strip.
by Bryght-Richard
Fri Aug 02, 2024 4:23 pm
Forum: ESP-IDF
Topic: Profiling on Espressif MCUs woes
Replies: 11
Views: 3188

Re: Profiling on Espressif MCUs woes

I found Espressif's gprof. Changing the default is easy, but combining multiple text sections is more complicated, but should be doable by merging the symbol sets using BFD.
by Bryght-Richard
Fri Aug 02, 2024 3:31 pm
Forum: ESP-IDF
Topic: Profiling on Espressif MCUs woes
Replies: 11
Views: 3188

Re: Profiling on Espressif MCUs woes

Thanks ESP_Sprite. I think it should be possible to support them all with this approach, I just need to figure out how to structure it in OpenOCD so they can all share the same implementation. Also, does Espressif maintain their own port of gprof, or distribute mainline? It might make sense to patch...
by Bryght-Richard
Thu Aug 01, 2024 3:15 pm
Forum: ESP-IDF
Topic: Profiling on Espressif MCUs woes
Replies: 11
Views: 3188

Re: Profiling on Espressif MCUs woes

Moving to polling XDM_TRAX_DEBUGPC non-intrusively: Built-in JTAG -> 2.9ksamples/second. USB2.0 FT2232H -> 3.4ksamples/second Built-in JTAG with request batching -> 18ksample/second :) USB2.0 FT2232H with request batching -> 100ksample/second! A very rough set of changes is available for the ESP32-S...