sipeed / sipeed_wiki

sipeed wiki:https://wiki.sipeed.com
MIT License
98 stars 138 forks source link

What is the MaixPy FFT (K210) input format? #297

Open JeffreyUrban opened 2 years ago

JeffreyUrban commented 2 years ago

On the page: sipeed_wiki/docs/soft/maixpy/en/api_reference/Maix/fft.md

The documentation for the K210 Maix.FFT function does not clarify the input format(s) for the FFT function.

Including:

I'm continuing to look at the other available documentation and code for the K210, but have not yet found clarification there.

JeffreyUrban commented 2 years ago

Looking for relevant information from the K210 documentation...

The K210 datasheet specifies:

3.10 FFT Accelerator The FFT accelerator is a hardware implementation of the Fast Fourier Transform (FFT).

The K210 Standalone SDK Programming Guide (pp 102-106) describes the details of the C API, with an example and input data struct definition.

JeffreyUrban commented 2 years ago

I didn't find any mention of the system data endianness in the K210 documentation.

Searches suggest that RISC-V typically uses a little-endian data order.