In this paper we introduce a prototype Radiation Energy Measuring Integrated Circuit (REMIC) fabricated in a 28 nm CMOS process. The chip operates in a single-photon counting (SPC) mode and contains 100 pixels with a size of 50 μm × 50 μm. It is designed for precise energy measurements using asynchronous analogue-to-digital conversion. The proposed architecture allows both fast signal processing and precise energy measurement of incoming photons to be performed independently in each pixel, occupying a small pixel area. The integrated circuit (IC) has dimensions of 1.1 mm × 1.1 mm and is currently undergoing preliminary measurements. The paper focuses on the methodology used to mitigate process variations in each of the recording channels.