FERMI: a digital Front End and Readout MIcrosystem for high resolution calorimetry