Search found 666 matches

by lbernstone
Tue Apr 02, 2024 5:29 pm
Forum: ESP32 Arduino
Topic: Can ESP32-C6 use GPIO to wake up Deep Sleep?
Replies: 8
Views: 1958

Re: Can ESP32-C6 use GPIO to wake up Deep Sleep?

There is no ADC (analog) peripheral accessible by the LP-core on a ESP32-C6.
by lbernstone
Tue Apr 02, 2024 5:28 pm
Forum: ESP32 Arduino
Topic: ESP32S3 Unable to set specific GPIO as outputs
Replies: 7
Views: 1781

Re: ESP32S3 Unable to set specific GPIO as outputs

I've forgotten to put paste under the ground pad entirely before. That is probably a bit more obvious than a couple missed pins :) So, the problem solved after putting paste properly? The ground pad is underneath on a module. The fix is to desolder the module and reset it with the proper paste.
by lbernstone
Tue Apr 02, 2024 5:26 pm
Forum: ESP32 Arduino
Topic: ESP32 Devkit v1, Failed uploading: uploading error: exit status 2
Replies: 3
Views: 1498

Re: ESP32 Devkit v1, Failed uploading: uploading error: exit status 2

The most likely cause of this is a bad USB cable/port. Try a different port with the highest quality cable you have.
That said, applying 9V may very well have damaged the flash without injuring the cpu. This could appear to the esp32 like a communication failure.
by lbernstone
Tue Apr 02, 2024 2:14 am
Forum: ESP32 Arduino
Topic: Fuori frequency measure
Replies: 3
Views: 1343

Re: Fuori frequency measure

There are 4 independent PCNT units on an esp32-s3. There is not an arduino wrapper for pcnt, but the IDF functions will work if you just include the appropriate headers.
Check out the "best frequency meter ever"
by lbernstone
Mon Apr 01, 2024 2:15 am
Forum: ESP32 Arduino
Topic: ESP32C3FN4 + 8MB external Flash (W25Q64JVXGIQ_TR)
Replies: 4
Views: 1114

Re: ESP32C3FN4 + 8MB external Flash (W25Q64JVXGIQ_TR)

The ESP-IDF example should essentially work. Use steps 1-3 from the example, then call LittleFS.begin with the partition name you gave to the external flash. You won't be able to do standard OTA on that space, but with some creativity you could load firmware from it.
by lbernstone
Sun Mar 31, 2024 4:39 pm
Forum: ESP32 Arduino
Topic: Can't Allocate in Heap using MALLOC_CAP_RTCRAM
Replies: 4
Views: 1268

Re: Can't Allocate in Heap using MALLOC_CAP_RTCRAM

I'm pretty sure this would not be possible in arduino, since any extra RTC_FAST memory is going to be mapped into the general heap. It might be possible to do in an IDF project where you separate the RTC memory, but I am doubtful that the ULP would be able to pick up a dynamic resizing by the cpu.
by lbernstone
Sun Mar 31, 2024 6:43 am
Forum: ESP32 Arduino
Topic: Win'10 Can't see esp32 C3 SuperMini
Replies: 2
Views: 1109

Re: Win'10 Can't see esp32 C3 SuperMini

I assume this is the sort of mini device that only has a direct USB connection. In addition to the boot button as suggested above, you will want the following settings in Arduino IDE. Note that I consider these devices very poor for developing code, since it takes ~200ms for the USB CDC connection t...
by lbernstone
Sat Mar 30, 2024 7:23 pm
Forum: ESP32 Arduino
Topic: SerialBT periodically stutters and breaks messages
Replies: 2
Views: 1069

Re: SerialBT periodically stutters and breaks messages

I don't have a good answer for you, other than you are asking the system to do too much. Here's a couple recommendations 1) I doubt you really need the data every 100ms. Collect 10 data points and send them in a single packet. This is a lot less network overhead, and easier to sequence. 2) Bluetooth...
by lbernstone
Fri Mar 29, 2024 4:55 pm
Forum: ESP32 Arduino
Topic: ESP32S3 - What is the FSPIWP\FSPIDQS pin and how do you configure it
Replies: 2
Views: 1123

Re: ESP32S3 - What is the FSPIWP\FSPIDQS pin and how do you configure it

Those pins are for extra data lanes that would be used in Quad SPI . QSPI is not currently supported in arduino, so can only be enable using the ESP-IDF drivers. If you aren't using those pins for QSPI, you should be able to use them for whatever you would like. Perhaps your board is using gpio 14 f...
by lbernstone
Thu Mar 28, 2024 8:29 pm
Forum: ESP32 Arduino
Topic: ESP32S2 stalling 5ms every 2seconds?
Replies: 4
Views: 1297

Re: ESP32S2 stalling 5ms every 2seconds?

Without actual code demonstrating the issue, nobody is going to be able to help you. This is very likely a priority issue. Loop task runs at priority 1. Start a new task at priority 6 and put the led flash in that.