STM32H5 DSP support
I'm trying to use CMSIS DSP on a STM32H563, but I do not get the expected results.
In X-CUBE-ALGOBUILD.1.3.0, when I select DSP Library in STM32CubeMX, the installed arm_math.h does not list Cortex-M33 support:
#error "Define according the used Cortex core ARM_MATH_CM7, ARM_MATH_CM4, ARM_MATH_CM3, ARM_MATH_CM0PLUS, ARM_MATH_CM0, ARM_MATH_ARMV8MBL, ARM_MATH_ARMV8MML"
I also looked at X-CUBE-DSPDEMO, which only contains pre-built libraries for cortexM4/M7.
And when I just link and build the CMSIS-DSP c files and try to run a test like this:
q31_t in = 25;
q31_t out;
arm_sqrt_q31(in, &out);
the result equals 231704 instead of the expected value 5.
I am defining -DARM_MATH_HELIUM -DARM_MATH_AUTOVECTORIZE
What would be the official way to use CMSIS-DSP on the STM32H5?
Is CMSIS-DSP supported at all on Cortex-M33?
