Search found 18 matches

by JVKran
Tue Sep 19, 2023 3:03 pm
Forum: General Discussion
Topic: ULP Wakeup GPIO-interrupt figure out what pin caused it to wake up
Replies: 1
Views: 986

ULP Wakeup GPIO-interrupt figure out what pin caused it to wake up

Hi there! I was wondering if it's possible to figure out what pin caused the ULP to wakeup from within the ULP. One possible use case; if wakeup on pin 11 occurs, always wake main processor, but when it occurs on pin 12, only wake up the main processor if the adc voltage is higher than 3V. Given the...
by JVKran
Tue Aug 01, 2023 12:26 pm
Forum: ESP-IDF
Topic: Porting NXP NFC Lib to ESP32 (ESP-IDF)
Replies: 3
Views: 2948

Re: Porting NXP NFC Lib to ESP32 (ESP-IDF)

Did you manage to get something working? I've spent a couple of days on this as well. Communication with the PN5180 works (MISO and MISO), I see things going on, but the examples don't output anything. I also had to change some things in FreeRTOS as well... Disable asserts for a timer of 0 ms... Jus...
by JVKran
Wed May 03, 2023 7:34 am
Forum: ESP-IDF
Topic: BLE scan, automatic light sleep and GPIO wakeup
Replies: 3
Views: 2199

Re: BLE scan, automatic light sleep and GPIO wakeup

Hi!

Almost a month has passed, and I still haven't found a solution. Could anyone please look into this? In the meantime, I'll try to get it to work from time to time and report back if I find any solution.

Kind regards,

Jochem
by JVKran
Fri Apr 07, 2023 1:40 pm
Forum: ESP-IDF
Topic: BLE scan, automatic light sleep and GPIO wakeup
Replies: 3
Views: 2199

BLE scan, automatic light sleep and GPIO wakeup

Hi there! I've taken the BLE ibeacon example and applied the configuration as described here to it to be able to reduce power consumption. Now I'd like to add an LED with button to it. As soon as the button is pressed, the led should turn on. The use-case is slightly different, but lets just use thi...
by JVKran
Thu Apr 07, 2022 9:37 am
Forum: Hardware
Topic: Setting efuse to ESP32-S3 to enable DFU on boot press.
Replies: 24
Views: 18955

Re: Setting efuse to ESP32-S3 to enable DFU on boot press.

Hi there! I heard the lockdown in Shanghai has been extended for an indefinite time. Hang in there! Furthermore, I just wanted to let y'all know I'm having the same issue as described in the previous posts. Personally I'm going to put using USB on hold, but nevertheless it would be great to have! Ki...
by JVKran
Tue Nov 30, 2021 5:12 pm
Forum: ESP-IDF
Topic: Open subdirectory
Replies: 4
Views: 6379

Re: Open subdirectory

For the record; this is still not solved and happening in the latest IDF version.
by JVKran
Fri Aug 27, 2021 10:59 am
Forum: ESP-ADF
Topic: Custom Board SPH0645
Replies: 4
Views: 19489

Re: Custom Board SPH0645

Hi Johny, Of course I can! Using the I2S configuration underneath in combination with the sd-card example results in a clear recording. You of course have to replace I2S_STREAM_CFG_DEFAULT with I2S_STREAM_CFG_INMP. #define I2S_STREAM_CFG_INMP() { \ .type = AUDIO_STREAM_READER, \ .i2s_config = { \ .m...
by JVKran
Tue Aug 17, 2021 10:55 am
Forum: ESP-IDF
Topic: [Solved] Play audio on website
Replies: 4
Views: 6777

Re: Play audio on website

Hi there! Thanks to Fasani's last post, I decided to go on a little web-development trip to stack-overflow where I found this post that suggested using 'preload="none"'. As the name suggests, it prevents preloading all files and only makes a GET-request whenever the audio is supposed to be played ba...
by JVKran
Tue Aug 17, 2021 8:45 am
Forum: ESP-IDF
Topic: Open subdirectory
Replies: 4
Views: 6379

Re: Open subdirectory

Hi there. I've now updated the function to also include the error number as below. void list_files(const char * dirpath){ struct dirent *ep; DIR *dp = opendir(dirpath); if (dp != NULL){ while ((ep = readdir(dp)) != NULL) { ESP_LOGI(TAG, "Found %s.", ep->d_name); } (void) closedir (dp); } else { ESP_...
by JVKran
Mon Aug 16, 2021 1:30 pm
Forum: ESP-IDF
Topic: Open subdirectory
Replies: 4
Views: 6379

Open subdirectory

Hey there! Ok, so, I know this sounds very stupid, but I can't for the life of me figure out how to open a subdirectory. I've mounted an SD-card which I can succesfully use to play and serve files. Furthermore, I have the following function. void list_files(const char * dirpath){ struct dirent *ep; ...