Alright guys, I'll check that first. It also seems to me that there is a problem with the frequency reference.?I didn't know that the processor itself depended so much on the time base, but seeing how it has behaved other times, I'll check that and the int/ext switch.
Thank you ;)