Search found 12 matches

by ppisljar
Thu Sep 21, 2017 6:41 pm
Forum: General Discussion
Topic: How to make ESP32 output 20MHZ's clock
Replies: 4
Views: 3396

Re: How to make ESP32 output 20MHZ's clock

seems pwm can only be used to generate 333k clock ... what about higher frequencies ?
by ppisljar
Fri Sep 08, 2017 5:14 am
Forum: ESP32 IDF
Topic: connect and send audio data to a2dp sink
Replies: 3
Views: 2221

Re: connect and send audio data to a2dp sink

still no progress on this, its the last thing holding my project back at the moment,

anyone else managed to make A2DP-SRC: (Advanced Audio Distribution Source) work on ESP32 ?
by ppisljar
Wed May 24, 2017 3:54 pm
Forum: ESP32 Arduino
Topic: bluetooth code size enormous
Replies: 5
Views: 3310

Re: bluetooth code size enormous

i tried to compile esp-idf example to verify the size .... and its 715kb (compared to 950kb with arduino) ... still quite huge for something that doesn't do much (if you want to use OTA with it ... you have like 300kb left for your other code (and other libs ... like wifi and stuff) ... but running ...
by ppisljar
Wed May 24, 2017 3:43 pm
Forum: ESP32 Arduino
Topic: bluetooth code size enormous
Replies: 5
Views: 3310

Re: bluetooth code size enormous

copy .data from 4000d890 to 3ffae6e0, len 00001830

this looks like its accessing memory that doesn't exist .... :cry:
by ppisljar
Wed May 24, 2017 3:39 pm
Forum: ESP32 Arduino
Topic: bluetooth code size enormous
Replies: 5
Views: 3310

bluetooth code size enormous

I tried to play with bluetooth and created this sketch: #include <Arduino.h> #include "bt.h" #include "btm_api.h" #include "esp_gap_ble_api.h" #include "esp_bt_main.h" static bool connect = false; static void esp_gap_cb(esp_gap_ble_cb_event_t event, esp_ble_gap_cb_param_t *param) { uint8_t *adv_name...
by ppisljar
Sun May 21, 2017 7:22 pm
Forum: ESP32 IDF
Topic: connect and send audio data to a2dp sink
Replies: 3
Views: 2221

connect and send audio data to a2dp sink

I saw https://dl.espressif.com/doc/esp-idf/la ... _bd_addr_t and am wondering if this can be used to connect to a2dp sink (bluetooth speaker) and send audio data to it ?
by ppisljar
Thu May 18, 2017 7:04 pm
Forum: ESP32 IDF
Topic: I2S microphone (RX)
Replies: 52
Views: 29512

Re: I2S microphone (RX)

thanks a lot @andriy .... so it seems i am getting some feedback now, but its still going between periods with data and periods without data ... using serial plotter i can see this: mic.png any idea what could be causing that ? my complete code: #include <WiFi.h> #include "driver/i2s.h" void i2s_con...
by ppisljar
Sun May 14, 2017 11:45 am
Forum: ESP32 IDF
Topic: I2S microphone (RX)
Replies: 52
Views: 29512

Re: I2S microphone (RX)

also i noticed that i need to read two 32 bit integers (stereo) ... void read_i2s() { uint32_t sample_val[2] = {0, 0}; i2s_pop_sample((i2s_port_t)0, (char *)sample_val, portMAX_DELAY); Serial.println("==>"); Serial.println(sample_val[0]); Serial.println(sample_val[1]); } wierd thing is that i am get...
by ppisljar
Sun May 14, 2017 11:35 am
Forum: ESP32 IDF
Topic: I2S microphone (RX)
Replies: 52
Views: 29512

Re: I2S microphone (RX)

Seems to be a buggy driver ...

on espidf 2.0 i get output from mic with the above code (however it doesnt seem to be correct output ....)
on latest version of espidf i get only 0 with the same code.
by ppisljar
Thu May 11, 2017 9:14 pm
Forum: ESP32 IDF
Topic: I2S microphone (RX)
Replies: 52
Views: 29512

Re: I2S microphone (RX)

i tried setting pin 17 to input/input_pulldown/input_pullup ... none seem to work (with pullup i get int32 max value) void i2s_config() { // http://esp-idf.readthedocs.io/en/latest/api/peripherals/i2s.html // input i2s_config_t i2s_in_config = { mode: (i2s_mode_t)(I2S_MODE_MASTER | I2S_MODE_RX), sam...

Go to advanced search