The Belle-II electromagnetic calorimeter inherited crystals and front-end electronics from the Belle detector, however the readout electronics was essentially modified. New electronics provides continuous digitization of the shaped signal followed by the signal wave form analysis with the further reconstruction of both, amplitude and time of the signal. The time information allows one to suppress background essentially. The algorithm, which is implemented in FPGA, is properly simulated. We implemented this algorithm to the simulation software and studied it with the MC background data. The procedure for the calibration of the response function has been developed and tested with the barrel counters using cosmic-ray data.