STMicroelectronics / STM32CubeF7

STM32Cube MCU Full Package for the STM32F7 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
322 stars 191 forks source link

White noise when we are calling BSP_AUDIO_IN_OUT_Init(uint16_t InputDevice, uint16_t OutputDevice, uint32_t AudioFreq, uint32_t BitRes, uint32_t ChnlNbr) #29

Closed nusret103 closed 2 years ago

nusret103 commented 3 years ago

Dear,

When i call the function

uint8_t BSP_AUDIO_IN_OUT_Init(uint16_t InputDevice, uint16_t OutputDevice, uint32_t AudioFreq, uint32_t BitRes, uint32_t ChnlNbr)

with parameters

inputDevice == INPUT_DEVICE_INPUT_LINE_1
(BSP_AUDIO_IN_OUT_Init(inputDevice, OUTPUT_DEVICE_HEADPHONE,
                                      FS_, DEFAULT_AUDIO_IN_BIT_RESOLUTION,
                                      DEFAULT_AUDIO_IN_CHANNEL_NBR)

I am getting white noise on OUTPUT_DEVICE_HEADPHONE when I am using INPUT_DEVICE_INPUT_LINE_1!

What I can do to use line1 like input and headphones like output this is a very crucial issue to be resolved. Let us know what we can do here?

Nusret

Describe the set-up

RKOUSTM commented 3 years ago

Hi @nusret103,

Thank you for your contribution.

Actually, the point you raised has already been raised in another issue #26. It has been internally fixed. The fix will be published in the frame of a future publication.

With regards,

RKOUSTM commented 3 years ago

ST Internal Reference: 93452

RKOUSTM commented 3 years ago

ST Internal Reference: 93458

nusret103 commented 3 years ago

@RKOUSTM Thank you for your feedback.

Did you have any time frame when this issue will be ready for testing?

With respect,

RKOUSTM commented 3 years ago

Hi @nusret103,

Thank you for your contribution. In order remove the metallic noise and to hear the audio file, the following update in the target options (IROM1 and IRAM1) is now available in the STM32F7Cube firmware package version v1.16.1. image

The update of the BSP driver will be available in the future STM32F7Cube firmware release to enhance the quality of the sound. This enhancement will be available as soon as possible.

Stay tuned.

Thank you again for your contribution.

With regards,