Search found 20 matches

by vgonet
Tue Dec 10, 2019 9:09 am
Forum: ESP-IDF
Topic: SPI vs RMT conflict
Replies: 2
Views: 4143

RMT vs Timer conflict

Hello My project uses many driver like I2C, SPI, WIFI, RMT, Timer, ... When I install the RMT driver, the timer interrupt is never reached. If I disable the RMT initialization, the timer interrupt is reached. I don't understand the link between the RMT and the timers. void RC5_Init(void) { rmt_rx.ch...
by vgonet
Fri Nov 29, 2019 9:55 am
Forum: ESP-IDF
Topic: SPI vs RMT conflict
Replies: 2
Views: 4143

SPI vs RMT conflict

Hello, In my project, I use the RMT module to receive RC5 command. I also use the SPI bus (HSPI in master mode, transmit only) to control a LED display. Everything is working. Now I want to add a second SPI bus to communicate with another uController. So I use the VSPI (in master mode). I've initial...
by vgonet
Thu Oct 31, 2019 1:53 pm
Forum: ESP-ADF
Topic: Use of SPIFFS by multiple pipeline
Replies: 0
Views: 3865

Use of SPIFFS by multiple pipeline

Hello, I would like to make two independent audio players. One that plays MP3 files and the other that plays WAV files. For this purpose I have created two initialization functions. These two functions initialize the pipeline and start a task. In attachment, I've added the code. The pipeline created...
by vgonet
Mon Oct 28, 2019 10:37 am
Forum: ESP-ADF
Topic: Recording task with variable recording time
Replies: 2
Views: 5048

Re: Recording task with variable recording time

Hello jason.mao Thank you for your answer. In fact, my problem is more upstream than I described. I can't record a sound with the code I wrote. I send you the codec.c file I've written. The recording task is created from the function InitWAVRecorder (line 396). The task is RunWAVRecorderTask (line 5...
by vgonet
Tue Oct 22, 2019 9:01 am
Forum: ESP-ADF
Topic: Recording task with variable recording time
Replies: 2
Views: 5048

Recording task with variable recording time

Hello, Based on the esp-adf/examples/advanced_examples/dlna (I don't use the DLNA but I also create a FreeRTOS task as mentionned in this example), I would like to record sound in WAV format into the SPI FLASH. The recording time must be variable (user input). Is it possible to do that ? Best regard...
by vgonet
Tue Oct 22, 2019 8:46 am
Forum: ESP-ADF
Topic: How to manage the playback of multiple MP3 files ?
Replies: 1
Views: 4347

How to manage the playback of multiple MP3 files ?

Hello, I want to do the following steps. 1. The playback of a MP3 file is requested by the user. 2. The MP3 file is playing. 3. During the playback of the MP3 file, a second playback is requested by the user. 4. The playback of the first MP3 file shall be stopped and the second shall be played. How ...
by vgonet
Mon Sep 23, 2019 6:54 am
Forum: ESP-ADF
Topic: ADF_BIT_STREAM messages
Replies: 2
Views: 4867

Re: ADF_BIT_STREAM messages

Hi jason.mao,

Thank you very much for your answer.
Best regards
by vgonet
Wed Sep 11, 2019 7:03 am
Forum: ESP-ADF
Topic: ADF_BIT_STREAM messages
Replies: 2
Views: 4867

ADF_BIT_STREAM messages

Hello, I'm using the ESP-ADF to play MP3 sounds. During the play, I've the following messages: D (69659) ADF_BIT_STREAM: length = 252, bytenum = 0, bread = 252 D (69659) ADF_BIT_STREAM: length = 252, bytenum = 252 D (69734) ADF_BIT_STREAM: length = 252, bytenum = 0, bread = 252 D (69734) ADF_BIT_STR...
by vgonet
Fri Sep 06, 2019 7:00 am
Forum: General Discussion
Topic: RMT error, status 0x04000000
Replies: 3
Views: 5175

Re: RMT error, status 0x04000000

Hello WiFive,

Thank you very much for your answer. Where can I find the meaning of all the RMT status ?

Best regards,
Vincent
by vgonet
Thu Sep 05, 2019 12:49 pm
Forum: General Discussion
Topic: RMT error, status 0x04000000
Replies: 3
Views: 5175

RMT error, status 0x04000000

Hello,

I've implemented a code which is able to decode RC5 protocole (RX only). It's working but sometimes, I've the following error.

E (468926) rmt: RMT[0] ERR
E (468926) rmt: status: 0x04000000

Can you please help me to know what this status means ?

Thank you and best regards.
Vincent