We have measured the performances of a LYSO crystal matrix prototype tested with electron and photon beams in the energy range 60−450 MeV. This study has been carried out to determine the achievable energy and time resolutions for the calorimeter of the Mu2e experiment.