linear CCD TCD1201d readout and timing issue

Hi Everyone,

I am trying to get to work a TCD1201D using code from lestofante. Yet without success. On the oscilloscope signals PH1, PH2, RS,BT and SH look fine, but OS is flat.

Maybe someone could take a look at attached pictures from oscilloscope and tell me what is wrong.