Skip to main content
HermanChenBrasil
Associate
December 2, 2022
Question

How to combine HAL_I2SEx_TransmitReceive_DMA with arm_biquad_cascade_df1_f32? Due to data Receive as uint16_t but the arm filter input is float32_t.

  • December 2, 2022
  • 4 replies
  • 1871 views

..

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
December 2, 2022

Convert the content of the array, or create an equivalent function which casts and scales the number space appropriately..

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
HermanChenBrasil
Associate
December 2, 2022

Thanks a lot. I almost follow your instruction to do and it worked but could not go through arm_rfft_fast_f32. Could you solve that?

HermanChenBrasil
Associate
December 2, 2022

Finally, it was worked but failed in arm_rfft_fast_f32. The problem is migrated as how to do in arm_rfft_fast_f32?

Piranha
Principal III
December 2, 2022

This has nothing to do with STM32 and is just a lack of basic C programming skills. Anyway the answer is - convert the data to the necessary data type and range!