30.09.2012 Views

Transceivermodule 1 TRX433-10A / TRX868-10A (Vers. 1.0E ...

Transceivermodule 1 TRX433-10A / TRX868-10A (Vers. 1.0E ...

Transceivermodule 1 TRX433-10A / TRX868-10A (Vers. 1.0E ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Transceivermodule</strong> 7 <strong>TRX433</strong>-<strong>10A</strong> / <strong>TRX868</strong>-<strong>10A</strong> (<strong>Vers</strong>. <strong>1.0E</strong>)<br />

Timing and Handshake of communication<br />

The following example shows an unidirectional data communication of DEVICE1 to DEVICE2 with hardware<br />

handshake. If the data source sends more data than the Transceiver can buffer (>31 byte), a handshake is<br />

absolutely necessary, so that no data are lost. The databuffer of DEVICE1 is sent, as soon as it is full or if<br />

during the time of 3ms no more data arrive. The data communication is symmetrical and identical in both<br />

directions.<br />

The Transceiver data are double buffered (2x31 bytes) at the transmitter side. The first Buffer takes up the<br />

data from RS232 and passes them to the transmitter buffer before the start of the transmission. There the<br />

data are kept until an answer (ACK) from the receiver confirms the successful radio transmission. Meanwhile<br />

the first Buffer receives already new data from the RS232. The transmitter repeats the radio transmission of<br />

the data in the transmitter buffer as long as he receives a successful answer (ACK) from DEVICE2. Then,<br />

the next data block from the RS232 Buffer will be shifted into the transmitter buffer.<br />

The data buffer at the receiver-side is designed as a ringbuffer. This allows to receive new data over radio as<br />

soon as the buffer is going to be emptied into the RS232 interface.<br />

RXD_1<br />

RTS_1<br />

Radio1 state<br />

TXD_1<br />

CTS_1<br />

TXD_2<br />

CTS_2<br />

Radio 2 state<br />

RXD_2<br />

RTS_2<br />

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31<br />

Transceiver DEVICE 1 sends 70 Bytes<br />

receive<br />

31 Databytes<br />

Transceiver DEVICE 2<br />

receive<br />

31 Databytes<br />

Tdata Tradio<br />

transmit<br />

Tdelay<br />

Schematic with Hardwarehandshake<br />

PC, Terminal<br />

RTS<br />

TXD<br />

RXD<br />

CTS<br />

TRX, DEVICE 1<br />

CTS<br />

RXD<br />

TXD<br />

RTS<br />

RX Buffer1 full<br />

receive<br />

31 Bytes 70 Bytes from DEVICE 1 31 Bytes 8 Bytes<br />

ACK<br />

acknowledge<br />

RADIO<br />

Link<br />

8 Databytes<br />

transmit<br />

receive<br />

TRX, DEVICE 2<br />

CTS<br />

RXD<br />

TXD<br />

RTS<br />

receive<br />

ACK<br />

acknowledge<br />

transmit<br />

receive<br />

ACK<br />

acknowledge<br />

PC, Terminal<br />

RTS<br />

TXD<br />

RXD<br />

CTS

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!