Integration of Pixracer with Optical Flow PMW 3901

Hi, could someone point me to a direction i can work on? I am facing some problems now, after flashing the customised firmware.