Search found 9042 matches

by ESP_Sprite
Tue Feb 28, 2023 12:41 am
Forum: General Discussion
Topic: SPI Slave transmit function
Replies: 2
Views: 814

Re: SPI Slave transmit function

It's undefined, as in, we don't guarantee anything about the state the data is in. In practice, it may be that the first few words still are 'old' data as they're already hoovered up by the DMA subsystem and waiting in a FIFO somewhere, but whatever behaviour you see, better not depend on it as ther...
by ESP_Sprite
Mon Feb 27, 2023 12:15 am
Forum: ESP32 Arduino
Topic: possible to rename the ESP32S3 USB JTAG/serial debug unit for android ?
Replies: 3
Views: 1362

Re: possible to rename the ESP32S3 USB JTAG/serial debug unit for android ?

No, sorry, the USB serial/JTAG unit cannot be renamed. However, the ESP32S3 also has an USB OTG peripheral, switchable to use the same port. That hardware does allow for reconfiguration. (You probably want to look into the TinyUSB examples, I think that has some stuff with custom descriptors.)
by ESP_Sprite
Mon Feb 27, 2023 12:13 am
Forum: ESP-IDF
Topic: Problems while compiling the project Hello_World
Replies: 32
Views: 19732

Re: Problems while compiling the project Hello_World

The errors you mention all sound like IDE issues. Have you actually tried compiling the project? For the first run, CMake resolves a bunch of dependencies etc, without that IDEs are generally incapable of finding everything.
by ESP_Sprite
Sun Feb 26, 2023 5:41 am
Forum: Sample Code
Topic: How to use GPIOs in stub function [Example blink led]
Replies: 2
Views: 2687

Re: How to use GPIOs in stub function [Example blink led]

Agree, I'll move it to there.
by ESP_Sprite
Sun Feb 26, 2023 5:40 am
Forum: ESP-IDF
Topic: SPI problem
Replies: 3
Views: 1042

Re: SPI problem

Hard to say. For issues like this, you generally want to own at the very least a cheap logic analyzer, or they get very hard to debug.
by ESP_Sprite
Sun Feb 26, 2023 5:34 am
Forum: Hardware
Topic: ESP32 C3 boot loop
Replies: 7
Views: 3524

Re: ESP32 C3 boot loop

Ah, never mind, I thought you used the USB-serial-JTAG converter; if you're using an UART to program the chip, my advise is not applicable. In that case, I don't have specific advice. Suggest you check the power rails, if the UART signals look good, etc, perhaps there's an issue there. You could als...
by ESP_Sprite
Sat Feb 25, 2023 2:17 am
Forum: ESP-IDF
Topic: Code reusing while using interrupts
Replies: 5
Views: 1639

Re: Code reusing while using interrupts

It's possibly easier to create a FreeRTOS task for this. Task waits for e.g. a semaphore or queue, then handles the sensors. Either your interrupt or your normal code can raise the semaphore or put something in the queue and let the task handle the thing.
by ESP_Sprite
Sat Feb 25, 2023 2:14 am
Forum: ESP-IDF
Topic: HTTPS cancel download of large file
Replies: 2
Views: 946

Re: HTTPS cancel download of large file

Smells like something is not properly re-entrant, which causes the spurious errors. Is there a way to handle the cancel in the download task, as in, the cancelling task raises a semaphore, the download task checks that and calls esp_http_client_close() function?