Digital nuclear radiation spectroscopy: Hardware requirements to minimize energy resolution degradation