TSL1402R photodiode array with Arduino

Hi,
I am working on a project where i need to run a stepper motor and TSL1402R sensor array simultaneously(Read values for every fixed degree of rotation).

Currently i have been trying out the test code(link below):
http://playground.arduino.cc/Main/TSL1402R

Problem:
I am reading only a constant array of value 1023 !

What might me wrong? is the issue related to ADC prescalar ?
I am from a mechanical background so i don't have deep knowledge of these settings

these are the pins that i have assigned as per my convenience.

int CLKpin = 4;    // <-- Arduino pin delivering the clock pulses to pin 3 (CLK) of the TSL1402R 
int SIpin = 5;     // <-- Arduino pin delivering the SI (serial-input) pulse to pin 2 of the TSL1402R 
int AOpin1 = 1;    // <-- Arduino pin connected to pin 4 (analog output 1)of the TSL1402R
int AOpin2 = 3;    // <-- Arduino pin connected to pin 8 (analog output 2)of the TSL1402R
int IntArray[256]; // <-- the array where the readout of the photodiodes is stored, as integers

Please help me out if you know what i am doing wrong.

Thanks
Ashish

I have a similar project, experiencing similar results....Bump....