cancel
Showing results for 
Search instead for 
Did you mean: 

Official ST Example BSP for b-u585i-iot02a

lucadelf
Associate

I adapted the official BSP example code (available at https://www.st.com/en/embedded-software/stm32cubeu5.html, stm32cubeu5-v1-8-0.zip) to acquire and process audio.

My code is running very slowly on the board.

We thought the slowdown might be due to other features enabled by default that I don’t need.

Therefore, I created a project from scratch, enabling only the pins I need, but I’m doing something wrong with the GPDMA1 and MDF1/ADF1 filter configuration (even callbacks don't work).

Could you provide an example .ioc file with the integrated microphone configured correctly (with GPDMA1) or, alternatively, the BSP .ioc project itself (which is not included in the official example you provide)?

Thank you.

1 REPLY 1
Andrew Neil
Super User

@lucadelf wrote:

My code is running very slowly on the board..


How "slowly", exactly ?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.