Search found 114 matches

by andrew
Fri Mar 17, 2017 9:42 am
Forum: Development Tools and Programming
Topic: XCORE 200 DSP Performance: dsp_filters_fir
Replies: 5
Views: 6131

Re: XCORE 200 DSP Performance: dsp_filters_fir

The best performance you are going to get depends on your specific filter design. The lib_mic_array achieves very high FIR taps / instruction as each filter has been designed to achieve the best performance for the given situation. For example stage 1 of the mic_array converts PDM to PCM and decimat...
by andrew
Mon Mar 06, 2017 9:36 am
Forum: Q&A
Topic: How to do DFT for convolution of Audiosignals
Replies: 10
Views: 11149

Re: How to do DFT for convolution of Audiosignals

I recommend using the over-lap-and-add algorithm: https://en.wikipedia.org/wiki/Overlap%E2%80%93add_method Do you want to process mono or stereo? If it's stereo then and FFT can be used efficiently by packing one channel into the real inputs and the other channel into the imaginary inputs. after a d...
by andrew
Thu Feb 23, 2017 9:46 am
Forum: Q&A
Topic: CAN FD on XMOS Silicon
Replies: 8
Views: 6611

Re: CAN FD on XMOS Silicon

I didn't work out the exact number as that would require an almost full implementation. I figured out that the timing would be so tight (even at 125MIPS) that the engineering cost+risk would be too high.
by andrew
Thu Feb 23, 2017 9:42 am
Forum: Getting started
Topic: XCore suited to my problem ?
Replies: 2
Views: 3782

Re: XCore suited to my problem ?

Xcores are very good at precise timing, real time processing, parallel io, and deterministic io(amongst other things). If these are you requirements then yes.
by andrew
Wed Feb 22, 2017 2:21 pm
Forum: Q&A
Topic: Changing lib_mic_array fir_coefs for user defined frequency response
Replies: 8
Views: 8672

Re: Changing lib_mic_array fir_coefs for user defined frequency response

Here is a good explanation of the DC offset filter used: http://www.embedded.com/design/configur ... DC-Removal

Eq 13-118 will give you the transfer function you require for adjusting the cut off. Hope that helps.
by andrew
Wed Feb 22, 2017 11:29 am
Forum: Q&A
Topic: Changing lib_mic_array fir_coefs for user defined frequency response
Replies: 8
Views: 8672

Re: Changing lib_mic_array fir_coefs for user defined frequency response

Is dc offset removal equivalent to high pass filtering. Yes
by andrew
Wed Feb 22, 2017 11:27 am
Forum: Q&A
Topic: CAN FD on XMOS Silicon
Replies: 8
Views: 6611

Re: CAN FD on XMOS Silicon

In order to ascertain if we should implement CAN FD I did some rough calculations. The xcore can execute instruction at 62.5MIPS, CAN can run at 1Mbaud. The hardest case to meet is where our CAN device is sending a message at the same time as another then loses arbitration and has to become a receiv...
by andrew
Wed Feb 22, 2017 9:55 am
Forum: Q&A
Topic: Changing lib_mic_array fir_coefs for user defined frequency response
Replies: 8
Views: 8672

Re: Changing lib_mic_array fir_coefs for user defined frequency response

there is a DC offset removal feature, you can vary its cut off with MIC_ARRAY_DC_OFFSET_LOG2
by andrew
Tue Feb 21, 2017 4:23 pm
Forum: Q&A
Topic: CAN FD on XMOS Silicon
Replies: 8
Views: 6611

Re: CAN FD on XMOS Silicon

After a cursory study and instruction timing calculations it was decided that CAN FD is infeasible on an xcore. No corner cases were ever investigated nor was any code written. The corner cases are dealing with the worse case clock drift after long runs of zeros and ones (the 11th bit as 5 zeros + 5...
by andrew
Tue Feb 21, 2017 4:06 pm
Forum: Q&A
Topic: Changing lib_mic_array fir_coefs for user defined frequency response
Replies: 8
Views: 8672

Re: Changing lib_mic_array fir_coefs for user defined frequency response

You need to tell the application to use your new filters. i.e. design a third stage decimator of your own specification then use it within your application.