Hi Mahmoud,
Welcome to the forum. We will do our best to help you. However, we need more details about your hardware and software before we can help. Please follow the guidelines here to help us help you:
How to use this forumAt the very least, answer the 3 questions that AWOL indicated and we'll see what we can figure out.
Looking forward to schematics, part numbers, and code, and then we'll get to work.
Sincerely,
Michael