Search found 17 matches
- Tue Jun 19, 2018 1:13 am
- Forum: ESP32 Arduino
- Topic: BUG in WiFiMulti.ino
- Replies: 0
- Views: 2873
BUG in WiFiMulti.ino
Hi, I found wifi errors when I use the WiFiMulti.ino to run the original demo. It noticed that the wifi is wrong and it cannot be connected to wifi. And I tracked to the function run(uint32_t) in WiFiMulti.cpp and added if(status != WL_CONNECTED){ WiFi.disconnect(); } in the end of uint8_t status = ...
- Wed Mar 14, 2018 1:52 am
- Forum: ESP-IDF
- Topic: Some questions about the infrared sending
- Replies: 2
- Views: 4378
Some questions about the infrared sending
I use the example rmt _nec_tx_rx. The waveform detected from the GPIO on the transmit side is the waveform before modulation instead of the the 38KHz pulse. So the receive side can not Therefore, the receiver cannot parse the received signal. Is the signal sent by the send function rmt_write_items i...
- Wed Nov 01, 2017 8:57 am
- Forum: ESP-IDF
- Topic: Got problem about get_free_int get interrupt
- Replies: 0
- Views: 2736
Got problem about get_free_int get interrupt
When i init SD card or i2s it works,but when use it together,got a interrupt conflict,get_free_int return like this SDcard retrun 18 then i2s return -1 , only init i2s get_free_int return 18. How to solve this conflict [0;31mE (11829) intr_alloc: best = 18[0m [0;31mE (11849) I2S: i2s_isr_register[0m...
- Thu Aug 03, 2017 2:12 am
- Forum: ESP-IDF
- Topic: Can not open sdcard file
- Replies: 0
- Views: 3258
Can not open sdcard file
I can init sdcard but can not open the file and i never edit file "/home/z43740979/esp/esp-idf/components/fatfs/src/vfs_fat.c" [0;32mI (966) example: Initializing SD card[0m Name: 00000 Type: SDHC/SDXC Speed: default speed Size: 15279MB CSD: ver=1, sector_size=512, capacity=31291392 read_bl_len=9 SC...
- Wed Jul 26, 2017 6:41 am
- Forum: ESP-IDF
- Topic: Use esp32 ble, some modules connected ble4.0 slave device is unstable.
- Replies: 0
- Views: 2737
Use esp32 ble, some modules connected ble4.0 slave device is unstable.
I used the esp32 ble, with esp32 as the bb host device, found that some modules can quickly search for ble4.1 devices and can connect to the data communication, but not search ble 4.0 device, so Not connected. I can make sure ble4.0 the device is normal. Some modules as a host device, you can search...
- Mon Jul 24, 2017 10:08 am
- Forum: ESP-IDF
- Topic: Arduino SDK can not set IIs clock
- Replies: 3
- Views: 5945
Re: Arduino SDK can not set IIs clock
ESP_Sprite wrote:Have you actually enabled I2S and set the clock output to a GPIO?
my code can work in LINUX but no clock in Arduio
- Mon Jul 24, 2017 10:03 am
- Forum: ESP-IDF
- Topic: Arduino SDK can not set IIs clock
- Replies: 3
- Views: 5945
Re: Arduino SDK can not set IIs clock
I set it as the example i2s_config_t i2s_config = { .mode = I2S_MODE_MASTER , .sample_rate = SAMPLE_RATE, .bits_per_sample = BITS_PER_SAMPLE, .channel_format = I2S_CHANNEL_FMT_RIGHT_LEFT, .communication_format = I2S_COMM_FORMAT_I2S, .intr_alloc_flags = ESP_INTR_FLAG_LEVEL1 }; i2s_config.dma_buf_coun...
- Mon Jul 24, 2017 6:19 am
- Forum: ESP-IDF
- Topic: Arduino SDK can not set IIs clock
- Replies: 3
- Views: 5945
Arduino SDK can not set IIs clock
I use this code to set IIS clock in arduino,got ret=0 (ESP_OK)but no clock signal,and i can get clock signal in linux
int32_t ret;
ret = i2s_set_clk(I2S_NUM_0, 44100 , (i2s_bits_per_sample_t)16 , (i2s_channel_t)2);
printf("set clock=%d \n",ret);
int32_t ret;
ret = i2s_set_clk(I2S_NUM_0, 44100 , (i2s_bits_per_sample_t)16 , (i2s_channel_t)2);
printf("set clock=%d \n",ret);
- Fri Jul 14, 2017 5:35 am
- Forum: ESP-IDF
- Topic: A FLASH ERROR WHEN play music
- Replies: 0
- Views: 2878
A FLASH ERROR WHEN play music
I made a music player by IIS to play WAV music from SD card and it can work BUT when i reset it a few times some flash error occur like this then Cannot download program unless recharged THE ERROR like this: rst:0x10 (RTCWDT_RTC_RESET),boot:0x3f (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0x10 clk_drv...
- Mon Jul 10, 2017 1:11 am
- Forum: ESP-IDF
- Topic: I2S and SD card bclk conflict
- Replies: 1
- Views: 3893
I2S and SD card bclk conflict
I2S and SDcard ues same bclk,How to read data from the SD card while playing music