for (i = 0; i < N/; i++) { NRF_DSP_CFFT_TWIDDLE_COEF[2*i] = cos(i * 2*PI/(flt32_t)N); NRF_DSP_CFFT_TWIDDLE_COEF[2*i+1] = sin(i * 2*PI/(flt32_t)N); }