DSP

Hi all
In case there is need to filter the analog input to an analog port
what is the best approach ?

Adding external filtering circuits
or using DSP libraries in the code?

Thanks
Elico

You would almost certainly be better off adding external filtering circuits. A 16MHz Arduino isn't fast enough to do more than very basic filtering. It certainly wouldn't be up to doing an FIR of any reasonable size.
I don't think there are any Arduino DSP libraries anyway.

Pete

If there was a need to filter that implies either some noise or interference (the properties of which determine how easy it is to filter), or that an anti-aliasing filter is needed to remove frequencies above the nyquist limit.

The latter has to be in hardware before the ADC by its very nature, but the former could be either - more details are handy.