Hi xnihilo,

skimask has pinpointed the passage in the datasheet that clearly tells you what you need to do before enabling the interrupt and after servicing the interrupt. I appreciate that English is probably not your first language but re-examine the paragraph and what it tells you is required before enabling the interrupt?

Regards,
Bob