Hi guys,
i understand that xbee is half-duplex from reading those entries.
however this is what i’m doing:
baud rate for both xbeepro = 115200bps, unicast p2p
i used a ring buffers for serial data and ensured with oscilloscope that there is no buffer overflow.
-
send IMU data from quadrotor mcu to xbeepro1 to xbeepro2 to PC,about 20 char at 100Hz
-
send movement command data(single character) from PC using X-CTU terminal to xbeepro2 to xbeepro1 to quadrotor MCU
-
output received command from quadrotor MCU to hyperterminal via rs232 and monitor pin under oscilloscope
however, quadrotor MCU does not receive the command all the time. Why is this so?
is it because xbeepro1 is too busy sending IMU data to receive a command?
is it because xbeepro2 is too busy receiving IMU data to send a command?
what can i do to solve the problem? thanks in advance