ADC input with Low pass RC filter
Usually you choose first the frequency based on the properties you want to achieve, then the capacitor and then the resistor. This is because you have less common values for capacitors and the capacitor will be the deciding form factor (how big it can be). Choosing the resistor lastly is trivial.