if only happens on over 365, i believe it is same problem with TRD value.
i can only suggest use memset and change TRD to whatever the auto is and use clockgen to pull up the clock....