Skip to main content
leonardo
Associate III
May 16, 2018
Question

What happend with HAL_I2S_RxHalfCpltCallback

  • May 16, 2018
  • 3 replies
  • 979 views
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?

    This topic has been closed for replies.

    3 replies

    ST Technical Moderator
    May 17, 2018
    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

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    leonardo
    leonardoAuthor
    Associate III
    May 17, 2018
    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?

    ST Technical Moderator
    May 18, 2018
    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

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks