Hello everyone. I want to understand the CORDIC engine, using the nucleo-u575zi board. The guide says that the cordic uses data in q1.31 format. Could please someone explain how to convert results into an ordinary int value? And how to convert an int value into a q1.31 value for loading into the cordic?
If you convert an integer to q1.31 number representation the values > 1 will overflow.
Fixed point number in q1.31 are represented as fractionnal 31 bit value and limit number -1 to 1 as integer part.
Maybe it seems better to perform conversion from float to q1.31 and vice-versa using ARM CMSIS DSP support functions:
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.