cancel
Showing results for 
Search instead for 
Did you mean: 

How to transfer SAI Audio data over BLE without using DFSDM filter

Skada.3
Associate III

Hi

Earlier I was facing the problem to start the SAI communication when merging with BLE application.

Referred application

STM32CubeFunctionPack_BVLINK1_V1.0.0

Hardware

STM32L476RG nucleo 64

X-NUCLEO-IDB05A1

Update in the development.

Using same application code I am able to initialize SAI peripheral and it is receiving data using the function mentioned below,

  if(HAL_SAI_Receive_DMA(&hsai_BlockB2,(uint8_t*)PCM_Buffer,16)!= HAL_OK)

     {

            return AUDIO_ERROR;

     }

But now the problem is the device fails to stream data over BLE using Bluevoice service.

Devices not getting status BV_ADPCM_STATUS_STREAMING

Due to this it fails to stream the data. This library is not accessible so I am not able to find the reason for this.

Looking for help to get the solution.

0 REPLIES 0