Having trouble with a FOR loop.

The data reived only comes when I restart the receiver board. The data is correct. but the buzzing keeps on and the data receive is not possible until a reset is made.