cancel
Showing results for 
Search instead for 
Did you mean: 

What happend with HAL_I2S_RxHalfCpltCallback

leonardo
Associate III
Posted on May 17, 2018 at 01:03

I was working with HAL library for STM32F4 for I2S interface. In particular with this version file:

  * @file    stm32f4xx_hal_i2s_ex.c

  * @author  MCD Application Team

  * @version V1.4.2

  * @date    10-November-2015

using this version I was having HAL_I2S_RxHalfCpltCallback when I2S is configured in circular mode. It's very usefull callback.

Now I'm working with an updated version of HAL and that file version is:

  * @file    stm32f4xx_hal_i2s_ex.c

  * @author  MCD Application Team

  * @version V1.7.1

  * @date    14-April-2017

I notice that there is no HAL_I2S_RxHalfCpltCallback. Where do I find information about this changes?

3 REPLIES 3
Imen.D
ST Employee
Posted on May 17, 2018 at 14:10

Hello

Garberoglio.Leon

,

This call back has been replaced by I2SEx_TxRxDMAHalfCplt and

HAL_I2SEx_TxRxHalfCpltCallback

to be compliant with HAL coding rules.

So, you need just to rename your old callabck by the new one:

HAL_I2SEx_TxRxHalfCpltCallback.

Hope this helps you.

With Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on May 17, 2018 at 23:53

Which version of hal firmware?

My stm32f4xx_hal_i2s_ex.c file version V1.7.1 does not have those functions...

Is there a maual about I2S HAL library?

Posted on May 18, 2018 at 09:09

Hello,

Please update the

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-mcu-packages/stm32cubef4.html

to use the latest version of Cube firmware package V1.21.0 with HAL drivers version V1.7.4.

With Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen