Search found 10 matches

by maierkomor
Tue Jul 25, 2023 6:11 pm
Forum: ESP-IDF
Topic: SPI master von v5.1
Replies: 5
Views: 690

Re: SPI master von v5.1

The frame buffer and transfer buffer are allocated once at the beginning and used over the whole execution time. The same code runs finde in multi-core mode on an ESP32 with IDF v4.4.4. Looking at what is written to the screen, it seems like there is some other issue. For me it looks like a complete...
by maierkomor
Tue Jul 25, 2023 11:17 am
Forum: ESP-IDF
Topic: SPI master von v5.1
Replies: 5
Views: 690

Re: SPI master von v5.1

Concerning the maximum transfer size, the message was not regarding max_transfer_sz but shows up as follows, when DMA channel is set to something else than SPI_DMA_CH_AUTO: E (3157) spi_master: check_trans_valid(775): txdata transfer > host maximum The transfer size in that case is 4096. Same proble...
by maierkomor
Tue Jul 25, 2023 11:02 am
Forum: ESP-IDF
Topic: SPI master von v5.1
Replies: 5
Views: 690

Re: SPI master von v5.1

Well, reducing the code to a bare minimum is difficult, as to reproduce the problem, you need the driver for ILI9341, fonts, and an app does some rendering and screen updates. Additionally, you will need to replicate the hardware setup. I.e. SPI and CS pins etc.. Nevertheless, I can provide you a so...
by maierkomor
Mon Jul 24, 2023 9:47 pm
Forum: ESP-IDF
Topic: SPI master von v5.1
Replies: 5
Views: 690

SPI master von v5.1

Hi, I am seeing incorrect SPI transfers, when switching off unicore support for ESP32-S3. I.e. I turn on multicore support by disabling CONFIG_FREERTOS_UNICORE, which also changes a set of dependent configuration settings. The SPI in use is SPI2_HOST configured with SPI_DMA_CH_AUTO. The effect on an...
by maierkomor
Mon Dec 12, 2022 9:41 pm
Forum: ESP-IDF
Topic: built-in jtag down after esp_wifi_start
Replies: 2
Views: 970

Re: built-in jtag down after esp_wifi_start

Thanks for this hint. This workaround works.
by maierkomor
Sat Dec 10, 2022 11:39 am
Forum: ESP-IDF
Topic: built-in jtag down after esp_wifi_start
Replies: 2
Views: 970

built-in jtag down after esp_wifi_start

Is it expected that the built-in jtag goes down after esp_wifi_start is called? In my software the debugging works fine until that point. I can also step into esp_wifi_start, but going over it without breakpoint breaks the USB jtag connection. Stopping at esp_wifi_start seems to break the timing of ...
by maierkomor
Sat Dec 10, 2022 11:20 am
Forum: ESP-IDF
Topic: usbtiny.h not found
Replies: 5
Views: 1568

Re: usbtiny.h not found

Thanks for the tip. I will give that a try.
by maierkomor
Tue Nov 22, 2022 8:51 pm
Forum: ESP-IDF
Topic: usbtiny.h not found
Replies: 5
Views: 1568

Re: usbtiny.h not found

OK, I found the root cause of the problem. The .c file referencing "usbtiny.h" is in a components subdirectory. If I move the #include directive to a file under the main directory, the components directory of tinyusb is added to the build command of the relevant file, and the error does not appear. ...
by maierkomor
Mon Nov 21, 2022 10:07 pm
Forum: ESP-IDF
Topic: usbtiny.h not found
Replies: 5
Views: 1568

Re: usbtiny.h not found

Yes, that did the trick for the example. Unfortunately, I am having trouble integrating the set-target step into my build environment that should use the -B flag for setting the build directory, and some more -Ddefines that get their value via environment variables in the CMakeLists.txt with the add...
by maierkomor
Sun Nov 13, 2022 10:31 am
Forum: ESP-IDF
Topic: usbtiny.h not found
Replies: 5
Views: 1568

usbtiny.h not found

Hi, with IDF version 4.4.3, the tinyusb examples yield a file not found error for usbtiny.h. The default config seems to be correct, but the relevant directory seems to be missing on the include path. I setup the IDF with running the install.sh and sourcing the export.sh scripts, and building starts...

Go to advanced search