The CMS electromagnetic calorimeter (ECAL) is a homogeneous calorimeter made of about 75000 lead tungstate scintillating crystals. In view of the high-luminosity phase of the LHC, the ECAL electronics must be upgraded to cope with the more stringent requirements in terms of trigger latency and rate. The new electronics will transmit the data in streaming mode from the front-end electronics to the off-detector electronics, where the trigger primitives will be formed in powerful FPGAs. The front-end electronics will feature two new radiation-hard chips: a dual gain trans-impedance amplifier (TIA) and a sampling ADC with loss-less data compression. The TIA choice allows preserving the fast pulse shape of the lead tungstate coupled to Avalanche Photodiodes (APD), and it is more resilient to the noise increase due to the radiation-induced APD leakage current. An important characteristic of the new design will be the capability to provide precision timing measurements, of the order of 30 ps, for photons and electrons above 50 GeV. The excellent time resolution will improve the overall CMS physics performance by mitigating the high pile-up effects. First characterization results of the TIA chip will be shown, and studies of energy and timing resolution performed in beam tests with the electronic prototypes will be presented.