Search found 20 matches

by The_YongGrand
Wed Jan 06, 2021 6:46 am
Forum: General Discussion
Topic: Esp32-s3 - vector instructions?
Replies: 1
Views: 2609

Esp32-s3 - vector instructions?

Hello ESP team,

Do we have the list of xTensa LX7 vector instructions? I couldn't find it elsewhere - not even the official datasheet.

I'm suspecting it looks like ARM's neon instructions? Or it could be a basic SIMD ones instead?
by The_YongGrand
Mon Jun 10, 2019 4:14 am
Forum: ESP-IDF
Topic: ESP-IDF A2DP sink stuttering
Replies: 0
Views: 2686

ESP-IDF A2DP sink stuttering

Hello guys, I have used the latest ESP-IDF and compiled that A2DP sink example, then flashed into the Esp32 board as usual. It is connected to a pcm5102 audio DAC. However when I pair it with my Redmi phone, the sound stuttered badly with the volume control on my phone kept moving up and down as tho...
by The_YongGrand
Wed Apr 17, 2019 11:07 am
Forum: ESP-IDF
Topic: Stuttering in I2S_write
Replies: 6
Views: 12229

Re: Stuttering in I2S_write

Hello Sprite, Here's that message about the watchdog: [0;31mE (8358) task_wdt: Task watchdog got triggered. The following tasks did n ot reset the watchdog in time:[0m [0;31mE (8358) task_wdt: - IDLE0 (CPU 0)[0m [0;31mE (8358) task_wdt: Tasks currently running:[0m [0;31mE (8358) task_wdt: CPU 0: mai...
by The_YongGrand
Mon Apr 15, 2019 3:55 pm
Forum: ESP-IDF
Topic: Stuttering in I2S_write
Replies: 6
Views: 12229

Re: Stuttering in I2S_write

Here is a code snippet: static const i2s_config_t i2s_config = { .mode = (i2s_mode_t)(I2S_MODE_MASTER | I2S_MODE_TX), .sample_rate = 44100, .bits_per_sample = I2S_BITS_PER_SAMPLE_16BIT, .channel_format = I2S_CHANNEL_FMT_RIGHT_LEFT, .communication_format = (i2s_comm_format_t)(I2S_COMM_FORMAT_I2S | I2...
by The_YongGrand
Mon Apr 15, 2019 4:28 am
Forum: ESP-IDF
Topic: Stuttering in I2S_write
Replies: 6
Views: 12229

Re: Stuttering in I2S_write

Hello Sprite, Yes, my sample rate is 44.1kHZ as default. The part is, after init the i2s module, and afterwards generating the samples and pumping the buffers into the i2s transmitter, the stuttering comes by after around 3 seconds. Even worse, the watchdog kept tripping non-stop too. I have measure...
by The_YongGrand
Sun Apr 14, 2019 4:20 pm
Forum: ESP-IDF
Topic: Stuttering in I2S_write
Replies: 6
Views: 12229

Stuttering in I2S_write

Hello ESP32 team, I have encountered an issue where there is a stuttering in the I2S_write. Here are the flow of the code: 1.) On init, I2S dma buffer length = 256*2, no. of buffers = 8, I2S 16 bits. 2.) In the main task, process 256 samples of buffer that takes around 2.217ms (timed it with a scope...
by The_YongGrand
Sat Mar 23, 2019 1:59 am
Forum: General Discussion
Topic: espressif's "Chip7 2-2-A" spotted in the wild
Replies: 55
Views: 82384

Re: espressif's "Chip7 2-2-A" spotted in the wild

I hope there's vector operations/instructions for this - it'll be easier to handle complex numbers and some graphics too. :D
by The_YongGrand
Sat Mar 02, 2019 3:40 am
Forum: ESP-IDF
Topic: Assembler output?
Replies: 2
Views: 5582

Assembler output?

I'm trying to optimize a piece of code here, and trying all methods to add the "-S" into the project makefile, but the *.S files aren't being produced.

Is there an option where I can enable this?
by The_YongGrand
Fri Jan 11, 2019 5:32 am
Forum: ESP-IDF
Topic: I2s_write - how to get the "transfer complete" flag?
Replies: 0
Views: 2592

I2s_write - how to get the "transfer complete" flag?

As the title said, I have placed an i2s_write in a task, and I want the task to wait for the transfer to complete. Is there a flag or a variable or a semaphore where I can see or get so that the particular task can wait for the transfer to complete? From what I seen in the forum, I read that the i2s...
by The_YongGrand
Wed Jan 02, 2019 1:43 pm
Forum: ESP-IDF
Topic: Cannot declare array into the External PSRAM?
Replies: 4
Views: 8275

Re: Cannot declare array into the External PSRAM?

ESP_Angus wrote:
Wed Jan 02, 2019 6:05 am
Fivdi is right, and this is a bug (esp_attr.h should include sdkconfig.h itself, but does not). Will fix, in the meantime ensuring there's an #include "sdkconfig.h" line above "#include esp_attr.h" in the source file is a workaround.
Thanks! It compiles successfully now! :)