Study of Charge Diffusion in a Silicon Detector Using an Energy Sensitive Pixel Readout Chip