by yonghui » Wed Mar 05, 2014 10:27 am
Hi,
for a half duplex system, only one side can transfer and the other side will receive at a time.
This means that when your MCU is transmitting, G15 will receive the commands, it will process and it will give a response packet after it receive a correct packet or incorrect packet. it the packet is incomplete, it will discard after waiting for a "defined" time that u can check from the user manual.
when G15 is transmitting the response packet. your MCU cannot transmit anything and it will be blocked since it is half duplex with a buffer, u can refer the user manual for the half duplex implementation with buffer. u can see that when the Tx/Rx EN pin is either pull down or pull up or a transmit or a receive function at a specific time.
TX and RX is merged into a single communication line or wire. instead, the MCU need to control when it is TX /RX by setting the EN control line high or low.
the maximum baudrate for G15 is 500KBps which can be set by sending command. the default baudrate should be 19200Bps.
thanks®ards,
yh