Search found 9 matches

by ssacp148
Mon Sep 16, 2019 3:08 pm
Forum: ESP32 Arduino
Topic: wifi task interfering with loop() task on app core?
Replies: 3
Views: 5278

Re: wifi task interfering with loop() task on app core?

Are you sure you're not doing anything that might be waiting for a WiFi event? I would be looking out especially for something like this in loop(): while (WiFi.status() != WL_CONNECTED) If you share your code here we might be able to spot the cause. No I'm not doing anything like that in my code. I...
by ssacp148
Mon Sep 16, 2019 2:54 pm
Forum: Hardware
Topic: SW_RESET continuous reboot
Replies: 40
Views: 124011

Re: SW_RESET continuous reboot

Hi guys, I got fixed. try this latest development release; Arduino core for ESP32 https://github.com/espressif/arduino-esp32/releases/tag/1.0.3-rc3 ------ I had same problem. 1. There is no problem on ESP-IDF. 2. I had this reboot problem only using Arduino IDE. > rst:0x3 (SW_RESET),boot:0x13 (SPI_...
by ssacp148
Mon Sep 16, 2019 2:06 pm
Forum: ESP32 Arduino
Topic: wifi task interfering with loop() task on app core?
Replies: 3
Views: 5278

wifi task interfering with loop() task on app core?

Hey all, I have my loop() function reading from UART2 and updating an SSD1306 OLED through I2C. This works fine and takes approximately ~35ms. However, when enabeling the loop() task seems to get pre-empted becuase when WiFi is connecting the loop() sometimes takes around 700ms instead of 35ms! I wa...
by ssacp148
Thu Sep 05, 2019 9:00 pm
Forum: ESP-IDF
Topic: Questions about I2S in I2S_MODE_DAC_BUILT_IN mode and 8-bit 44100Hz mono WAV
Replies: 2
Views: 3807

Re: Questions about I2S in I2S_MODE_DAC_BUILT_IN mode and 8-bit 44100Hz mono WAV

It seems that calling i2s_set_sample_rates introduces a tiny pop, but not always? Leaving it out removes any unwanted noises but I set the initial sample rate through i2s_driver_install once and then call i2s_driver_install if i need to switch from 44100 to another sampling frequency. How can I ensu...
by ssacp148
Thu Sep 05, 2019 3:19 pm
Forum: ESP-IDF
Topic: Questions about I2S in I2S_MODE_DAC_BUILT_IN mode and 8-bit 44100Hz mono WAV
Replies: 2
Views: 3807

Re: Questions about I2S in I2S_MODE_DAC_BUILT_IN mode and 8-bit 44100Hz mono WAV

I got it to work using the code in my previous post and calling, however when playing 44100Hz WAV files there's a clicking/popping noise audible at the start of the WAV file. I thought I was messing up the DMA buffers but I'm filling those up entirely with either WAV samples or 0x80. So I decided to...
by ssacp148
Wed Sep 04, 2019 7:50 pm
Forum: ESP-IDF
Topic: Questions about I2S in I2S_MODE_DAC_BUILT_IN mode and 8-bit 44100Hz mono WAV
Replies: 2
Views: 3807

Questions about I2S in I2S_MODE_DAC_BUILT_IN mode and 8-bit 44100Hz mono WAV

Hey all, I have 8 bit unsigned, 44100 Hz. 1 Channel (mono) WAV files that I want to play through the built in DAC using I2S. Initialization is done as follows: i2s_port_t i2s_num = I2S_NUM_0; i2s_config_t i2s_config = { .mode = (i2s_mode_t)(I2S_MODE_MASTER | I2S_MODE_TX | I2S_MODE_DAC_BUILT_IN), .sa...
by ssacp148
Wed Sep 04, 2019 7:12 pm
Forum: Hardware
Topic: SW_RESET continuous reboot
Replies: 40
Views: 124011

Re: SW_RESET continuous reboot

esptool.py erase_flash command does seem to correctly erase the flash, since it then starts showing: rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) flash read err, 1000 ets_main.c 371 ets Jun 8 2016 00:22:57 But uploading the minimal "Hello World" sketch keeps showing the same behavior...
by ssacp148
Tue Aug 27, 2019 11:31 am
Forum: Hardware
Topic: SW_RESET continuous reboot
Replies: 40
Views: 124011

Re: SW_RESET continuous reboot

hi guys make a full flash erase windows tool : ( erase ), esptool: erase_flash and then flash it again with arduino ide or like you want. do not forget to config in arduino the partion option. i get this in the past if i come from esp-idf to arduino or arduino to esp-idf if you use different settin...
by ssacp148
Sun Aug 25, 2019 9:44 pm
Forum: Hardware
Topic: SW_RESET continuous reboot
Replies: 40
Views: 124011

Re: SW_RESET continuous reboot

I’m experiencing the exact same problems as posted by Alfalf in the opening post. They are (I guess) some kind of NodeMCU clones and have an EN button and a BOOT button that seem to work fine. Perhaps worst mentioning that entering uploading mode doesn’t require me to press any buttons. void setup()...