RadioLocman.com Electronics ru
Advanced Search +
  
Go Back   RadioLocman Forum > Electronics and ... > Microcontrollers (MCU)

Microcontrollers (MCU) Application and programming of MCUs, Evaluation Kits and Demonstration Boards, Programmers.

Reply
 
Thread Tools Search this Thread
Old 05-23-2017, 06:48 PM   #1
hamid.abbaszadeh
Junior Member
 
Join Date: Jan 2016
Posts: 3
hamid.abbaszadeh is on a distinguished road
Default ARM CMSIS DSP biquad Q31 vs F32

Hello,
I assembled an audio player based on a USB host based on STM32F4 (FLAC, WAV and later codecs), which is fed to the ES9018K2M DAC via I2S.
Currently I use Q31 biquads (arm_biquad_cas_df1_32x64_q31 and arm_biquad_cascade_df1_q31) for the 5-band equalizer, and I quickly run out of CPU time to do something else (the player strongly stutters when debugging is enabled).
The input data can be 16-24 bits stereo at 192K.

When I work in CMSIS DSP, I can not say,
1. What type of data should take less time on STM32F4 with built-in FPU, Q31 of F32?
2. Are there any advantages with regard to accuracy, S / N, THD, DNR, etc., using Q31 or F32?
hamid.abbaszadeh is offline   Reply With Quote
Old 05-25-2017, 09:38 AM   #2
rapid
Member
 
Join Date: Nov 2013
Posts: 39
rapid is on a distinguished road
Default

Have you seen this app note from ST?
rapid is offline   Reply With Quote
Old 06-05-2017, 02:50 PM   #3
hamid.abbaszadeh
Junior Member
 
Join Date: Jan 2016
Posts: 3
hamid.abbaszadeh is on a distinguished road
Default

So it seems F32 is very slightly faster than Q31 on FIR, looks promising so I will change the code for F32 and profile to see how much better it is in my application.
hamid.abbaszadeh is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 12:05 PM.




Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Slices ↓
Radiolocman facebook Radiolocman twitter Radiolocman google plus