Hi,
I want to build a Bluetooth microphone module, I am using the ESP32-DevKitC to test first, without any codec.
I connect a INMP441 I2S microphone to the kit, and setup the ESP-ADF framework and using the pipeline_hfp_streaming example as a starting point.
I changed the code such that not using any board, and write necessary code on i2S control to the microphone, I checked with i2S_read and seems to be able to get data from microphone.
But the results is when I start the module, it can be seen as a headset and able to pair-up, but there is no voice coming to the PC.
Do you know why? It seems the pipeline is not operating, what things should I check?
Danny
Pipeline_hfp_streaming
Re: Pipeline_hfp_streaming
Just want to provide more information:
When I connect to the Headset in Windows, I can see some logs like this:
I (48961) HFP_STREAM: APP HFP event: AUDIO_STATE_EVT
I (48981) HFP_EXAMPLE: bt_app_hf_client_audio_open type = 1
I (50991) I2S_STREAM: AEL_STATE_RUNNING, pause: rate: 16000, bits: 32, ch: 1
I (51011) I2S: APLL: Req RATE: 16000, real rate: 16000.003, BITS: 32, CLKM: 1, BCK_M: 8, MCLK: 8192001.500, SCLK: 1024000.187500, diva: 1, divb: 0
I (51021) I2S_STREAM: AEL_STATE_RUNNING, resume: rate: 16000, bits: 32, ch: 1
W (51021) AUDIO_PIPELINE: Pipeline already started, state:3
But there is no voice in PC.
I can see sometimes there are logs like this:
W (93911) AUDIO_EVT: There are no space to dispatch queue
E (93911) AUDIO_ELEMENT: [i2s_reader] Element send cmd error when AUDIO_ELEMENT_PAUSE
E (88351) BT_BTM: btm_sco_connected, handle 180
Is it adnormal?
I hope someone can help me....... I run out of ideas.....
Danny
When I connect to the Headset in Windows, I can see some logs like this:
I (48961) HFP_STREAM: APP HFP event: AUDIO_STATE_EVT
I (48981) HFP_EXAMPLE: bt_app_hf_client_audio_open type = 1
I (50991) I2S_STREAM: AEL_STATE_RUNNING, pause: rate: 16000, bits: 32, ch: 1
I (51011) I2S: APLL: Req RATE: 16000, real rate: 16000.003, BITS: 32, CLKM: 1, BCK_M: 8, MCLK: 8192001.500, SCLK: 1024000.187500, diva: 1, divb: 0
I (51021) I2S_STREAM: AEL_STATE_RUNNING, resume: rate: 16000, bits: 32, ch: 1
W (51021) AUDIO_PIPELINE: Pipeline already started, state:3
But there is no voice in PC.
I can see sometimes there are logs like this:
W (93911) AUDIO_EVT: There are no space to dispatch queue
E (93911) AUDIO_ELEMENT: [i2s_reader] Element send cmd error when AUDIO_ELEMENT_PAUSE
E (88351) BT_BTM: btm_sco_connected, handle 180
Is it adnormal?
I hope someone can help me....... I run out of ideas.....
Danny
Who is online
Users browsing this forum: No registered users and 22 guests