We ran an FFT benchmark in the MaixPy on the Sipeed’s Maix Bit featuring the Kendryte K210.
The result is a little strange.
In this article, the MaixPy function using the FFT accelerator is called
Hard FFT, and the ulab FFT function built into the MaixPy is called
Soft FFT or
Sipeed Maix Bit
The Maix Bit is a low-cost development board from Sipeed, featuring the Kendryte K210 from Canaan.
The Kendryte K210 is an SoC that includes:
- Dual-core 64-bit RISC-V,
- KPU (Knowledge Processing Unit),
- APU (Audio Processing Unit),
- FFT (Fast Fourier Transform) accelerator,
MaixPy is a MicroPython for the Sipeed’s Maix series with Kendryte K210.
In this article, we used the
Benchmark of Hard FFT
Hard FFT benchmark results are as follows.
The difference between the mean and max of the processing time is large, and this effect appears in the standard deviation (std).
Benchmark of Soft FFT
ulab FFT benchmark results are as follows.
Since the RISC-V of K210 has an FPU, the processing time is the same as that of the
Also, although the max time fluctuates slightly, the std is less than 1/3 of the mean.
In addition, MaixPy
ulab FFT uses FP32.
We ran an FFT benchmark in the MaixPyon on the Sipeed Maix Bit.
We found the following.
- The processing time of the
Hard FFTfluctuates greatly.
- The mean processing time of the
Soft FFTis the same as that of the