debug T1PS and TimerConst to see what's going on would be a good start