The Circular Electron Positron Collider (CEPC) has been proposed to measure the Higgs properties with a new level of precision. The stringent physics requirements drive a vertex detector constructed with pixel sensors featuring high granularity, fast processing speed and low power dissipation. To explore in-pixel signal processing structures with compact layout size, while maintaining processing speed and low power, a second prototype CMOS pixel sensor, named JadePix-2, has been designed and fabricated in a 0.18μm CMOS image sensor (CIS) process. The prototype contains two versions of digital pixels, both of which have been realized within 22μm pitch size. It operates in the rolling-shutter mode, with processing speed of 100 ns/row and 80 ns/row, respectively, for the two pixel structures. Experimental results show that the total equivalent noise charge (ENC) and power dissipation of the two structures are about 29.5 e− with 6.5 μA/pixel, and 31 e− with 3.7 μA/pixel respectively.