$ 0 0 Thanks for your guidance.i will check all ports signals again .I am not familiar with high level functions used in this code.