Search found 83 matches

by maldus
Tue Nov 07, 2023 2:08 pm
Forum: ESP-IDF
Topic: Cannot disable PullUp on GPIO18
Replies: 1
Views: 821

Cannot disable PullUp on GPIO18

Hello everyone, I'm working on an ESP32S2 and I must read an analog value from GPIO18. I am successful in reading a correct value from the pin; however, the voltage on the pin never fell below 0.5V (even with an external pulldown resistor), which prompted me to do some experiments. I started fiddlin...
by maldus
Tue Oct 31, 2023 3:00 pm
Forum: ESP-IDF
Topic: Excessive internal memory allocation for WiFi when PSRAM is enabled but not present
Replies: 5
Views: 7914

Re: Excessive internal memory allocation for WiFi when PSRAM is enabled but not present

I have made some experiments but found no way to avoid the RAM expense if the SPI chip isn't present.
Isn't it possible at all to only enable it if found?
by maldus
Mon Oct 23, 2023 7:27 am
Forum: ESP-IDF
Topic: Excessive internal memory allocation for WiFi when PSRAM is enabled but not present
Replies: 5
Views: 7914

Re: Excessive internal memory allocation for WiFi when PSRAM is enabled but not present

PSRAM has some quirks that make it different from internal memory: e.g. it 'disappears' when the cache is disabled, which happens e.g. when flash is being written to and DMA'ing to and from it works a bit different. For that reason, a bunch of stuff needs to be put in IRAM where without PSRAM, it c...
by maldus
Fri Oct 20, 2023 1:06 pm
Forum: ESP-IDF
Topic: Excessive internal memory allocation for WiFi when PSRAM is enabled but not present
Replies: 5
Views: 7914

Excessive internal memory allocation for WiFi when PSRAM is enabled but not present

Hello everyone, I have an ongoing project that targets ESP32S2 modules. Most of them are equipped with internal PSRAM, but some are not. I would like to publish a firmware update that leverages on PSRAM to add more functions. This update is targeted to all devices, but those who don't have PSRAM sho...
by maldus
Mon Aug 28, 2023 12:04 pm
Forum: ESP-IDF
Topic: USB MSC example crashes with specific drive
Replies: 1
Views: 1096

Re: USB MSC example crashes with specific drive

By trying out more closely other USB drives the only discernible difference I can find is in the `bInterval` field, which is 255 (-1, maybe missing data?) for the problematic drive but 1 for every other model I could get my hands on. Since the library itself crashes I'm at a loss for what else to tr...
by maldus
Wed Aug 23, 2023 9:04 am
Forum: ESP-IDF
Topic: USB MSC example crashes with specific drive
Replies: 1
Views: 1096

USB MSC example crashes with specific drive

Hello everyone, I'm relying on the usb_msc component to have an ESP32S3 module read files from an USB drive (FAT32 formatted). I'm working on ESP-IDF v5.1. For the most part everything works; however today I've stumbled upon a specific USB drive that crashes the internal usb_msc code directly when g...
by maldus
Thu Jul 13, 2023 3:00 pm
Forum: ESP-IDF
Topic: OTA operation from USB drive fails with MPI error
Replies: 0
Views: 1185

OTA operation from USB drive fails with MPI error

Hello everyone, I'm trying to implement an OTA operation from a USB drive. The ESP32-S3 module I'm using reads the contents of the USB drive correctly (I tested it with other files) and detects the OTA binary when present. The OTA operation however fails with a cryptic message about an MPI timeout: ...
by maldus
Tue Jun 20, 2023 7:32 am
Forum: General Discussion
Topic: How to connect to wifi network while in APSTA mode?
Replies: 5
Views: 4236

Re: How to connect to wifi network while in APSTA mode?

This is still relevant. Is it possible?
by maldus
Mon Jun 19, 2023 12:34 pm
Forum: Hardware
Topic: i2c clock speed reduction when failing to communicate to a slave
Replies: 3
Views: 3145

Re: i2c clock speed reduction when failing to communicate to a slave

I too have stumbled upon this behaviour, though I didn't diagnose it in such detail. If an I2C device stops answering for a while the ESP32 module is not always able to it pick up again. I am trying the solution described here https://esp32.com/viewtopic.php?f=14&t=3152&p=14817 (i.e. reset the perip...
by maldus
Thu Jun 01, 2023 1:36 pm
Forum: ESP-IDF
Topic: esp-littlefs failing to format flash partition
Replies: 2
Views: 5551

Re: esp-littlefs failing to format flash partition

Indeed; now it works, thank you very much!