How are you powering the circuit? My first guess is that it sounds like the voltage is drooping when the XBee transmits, causing the processor to reset.
How are you powering the circuit? My first guess is that it sounds like the voltage is drooping when the XBee transmits, causing the processor to reset.