thanks Henric,

there is nothing to end the trame in question, and i am currently using the method you mentioned to know the number of the received bytes, and i am filling the buffer with $FF which is not in use till now, but i will use it soon.. that is why i start searching for an internal counter.

Rony