I'm making some tests with the CM4 DSP library and found that the various tables in the arm_common_tables.h file included in chibios are incorrect.
Code: Select all
extern const uint16_t armBitRevTable[1024];
extern const q15_t armRecipTableQ15[64];
extern const q31_t armRecipTableQ31[64];
extern const q31_t realCoefAQ31[1024];
extern const q31_t realCoefBQ31[1024];
extern const float32_t twiddleCoef[6144];
extern const q31_t twiddleCoefQ31[6144];
extern const q15_t twiddleCoefQ15[6144];
instead of
Code: Select all
extern uint16_t armBitRevTable[1024];
extern q15_t armRecipTableQ15[64];
extern q31_t armRecipTableQ31[64];
extern const q31_t realCoefAQ31[1024];
extern const q31_t realCoefBQ31[1024];
Was there a purpose for this modification ?
Reverting the file to the original one from ARM does fix the problem.