|
SPM Eval-Kit
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Supports Point to Multi Point and Broadcast Mode Test | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The SpacePort Modem Evaluation Kit enables SPM / RPM to be transformed in to a complete Radio modem with DCE type RS232 interface. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Figure 1: SpacePort Modem Evaluation Kit |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Range of Features
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Kit Contents The SPM Evaluation Kit comes with the following contentes: 2 SPM Evaluation Board1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Visual Facilities
The following status LEDs will be activated depending on the SPM operation mode.
Notes: Additional requirements On-board regulator (LM340TS) can supply up to 1A current at 5V. The 5V supply line is connected to the pin 9 (Ring Indicator) of DB9F connector which enables any external host to be powered from pin 9 (+5V DC) and pin 5 (GND). Certain CCD barcode scanner can make use of this feature, eliminating the need for additional external power adaptor. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Serial Pin outs - RS232 (EIA/TIA-574) and RS232D (EIA/TIA-561) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| In certain applications a DB9M to RJ45 adaptor cable will be required to interface SPM to Host. e.g. barcode scanners. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Interfacing SPM Evaluation Kit to Data Terminal Equipment
(DTE)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SPM implements DTE to DCE flow control using
CTS line. CTS is wired together with DSR and DCD in the Evaluation Kit to
meet common DTE interface requirement. However, SPM does not implement DCE
to DTE flow control using RTS line. DTR line used to wake up the module
if SHDN is turned ON and put it to sleep if the Host (DTE) is detached from
SPM.
Therefore, if the receiving DTE(B) [e.g. EPoS printer] cannot process
[print] received data fast enough, DTE(B) will not be able to stop attached
SPM(B) from sending any further data which SPM(B) received from SPM(A).
SPM(A) will assume SPM(B) is ready to receive more data every time SPM(B)
sends back a packet acknowledgements as SPM buffers are not filled to
stop DTE. DTE(A) [PC] will continue to send more data resulting in data
corruption in DTE(B). Simple solution is to reduce the baud rate (e.g.
2,400bps) between SPM(A) and DTE(A) and use maximum possible baud rate
(e.g. 9,600bps) between DTE(B) and SPM(B). |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Interfacing SPM Evaluation Kit to Data Communications
Equipment (DCE)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SPM Configuration To configure the SPM the HyperTerminal should be set with the following settings. ASCII Setup should be left at default settings with no ticks on Send line ends with line feeds and Append line feeds to incoming line ends. Hardware flow control should be disabled. Default baud rate of the SPM
is 9600bps. However if the default baud rate of the SPM is changed then
the baud rate of the HyperTerminal should be matched or DEFAULT jumper
should be connected to force the SPM baud rate to 9600bps. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Figure 8: Serial port setting on HyperTerminal to
configure SPM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SPM has a 2mm pitch pin-out for embedded system applications where PCB space is very limited. However, for the convenience of evaluating the module, a separate row of 0.1" pitch pin headers are provided on both side of the SPM sockets. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Oscilloscope probes can be easily connected on these to monitor data transmission on each stage from serial RS232 type data entering SPM, FRPC transmitting packetised data, SPM on receiving end sending serial data to attached Host and sending back Packet Acknowledgements. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Oscilloscope screen capture below were taken during a large file transfer at 115,200bps using HyperTerminal with ZMODEM setting. They were captured on Laptop from Tektronix TDS2024 Digital Storage Oscilloscope fitted with TDS2CM Communications Extension Module. The wireless RS232 link was established using SPM Evaluation Kit with SPM2-433-28. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Figure 9: Serial RS232 data transmission and reception
with hardware flow control
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
TXD-RS232 is the inverted RS232 data at TTL level entering the SPM module at 115,200bps. RPM sends the collected data bytes with necessary site, unit and other control information bytes to FRPC. CTS flow control is set high when the SPM buffer reaches about 66% full, to prevent attached PC from sending further data bytes. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FRPC packetises all the bytes from RPM with preamble, synch byte, check sum and encodes each 8 bit byte into a 12 bit code for reliable transmission over the radio. TXD/AF trace is the packetised data transmission from FRPC to TXD pin of radio transceiver within the SPM module. RXD-RS232 is the received inverted RS232 data at TTL level sent by SPM to attached host PC. It can be seen from the trace that the RS232 data stream coming into SPM is broken into two parts and transmitted as two packets. SPM will not transmit the next packet until an acknowledgement for the previously transmitted packet is received if the ACKMODE is turned ON as shown in the following oscilloscope screen capture. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Figure 10: Serial RS232 data transmission with packet
acknowledgement
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| By turning the ACKMODE OFF, the overall data throughput can be increased up to 55kbps with SPM2-433-28. In this fast mode, SPM(A) will not wait for a packet acknowledgement from SPM(B). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| In broadcast mode, same data/file can be transferred
to several hosts attached to SPM Eval Kits at the same time. ACKMODE is
should also be turned OFF in broadcast mode otherwise the acknowledgements
from multiple slave SPMs will cause master SPM hang up.
Usually point-to-multipoint communication is used by a host (e.g. microcontroller) which can pull the SETUP line low and send the command ADDR [new unit address] to change address dynamically to communicate with several other hosts by addressing them individually. This can be simulated in Evaluation Kit by inserting SETUP jumper and typing the new dynamic unit address using HyperTerminal with its flow control disabled. The SETUP jumper should be removed before pressing the Carriage Return (0Dhex) key. SPM will echo back withdot (2Ehex) to confirm address change. If SETUP jumper is not removed, SPM will remain in configuration mode. Flow control in HyperTerminal should be set to HARDWARE for higher baud rate data transfer. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Figure 13: Near continuous streaming of data packets
with ACKMODE OFF
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SPM2-433-28 implements a very efficient data buffer management algorithm. In most cases at low or default baud rates (e.g. 9600bps), it is capable of transmitting continuous stream of serial data without asserting CTS line (no flow control) as shown below and transmit the data packets in short bursts with long gaps between RF transmission minimising the air-time usage. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Figure 14: SPM2-433-28 receiving from DTE continuously without asserting CTS at 9600bps | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Limitation of liability The information furnished by Radiometrix Ltd is believed to be accurate
and reliable. Radiometrix Ltd reserves the right to make changes or improvements
in the design, specification or manufacture of its subassembly products
without notice. Radiometrix Ltd does not assume any liability arising
from the application or use of any product or circuit described herein,
nor for any infringements of patents or other rights of third parties
which may result from the use of its products. This data sheet neither
states nor implies warranty of any kind, including fitness for any particular
application. These radio devices may be subject to radio interference
and may not function as intended if interference is present. We do NOT
recommend their use for life critical applications. R&TTE Directive After 7 April 2001 the manufacturer can only place finished product
on the market under the provisions of the R&TTE Directive. Equipment
within the scope of the R&TTE Directive may demonstrate compliance
to the essential requirements specified in Article 3 of the Directive,
as appropriate to the particular equipment. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||