background image

Theory of Operation                                                                                                             

                                                                                                                                                                            
Preliminary

9

3.2.3

 

Serial Interface Mode 03 – API

Mode 03 specifies API Mode.  In this mode, the OEM has control of the radio command set

detailed in Section 6.2.  Packets are transmitted upon completion of the 

Send_Data

 command.

In API Serial Interface Mode 03, the OEM host may utilize a set of basic commands to control the

radio and system.  These commands allow the customer to establish system parameters through the
programming of variables in EEPROM as well as monitoring system performance.  

These commands can

only be exercised when the radio is in API Serial Interface Mode 03

. It is important to understand two

aspects of the software commands.

1.

 

There are only three commands that are issued 

from

 the client radio 

to

 the Client Host. These

three commands are 

Out_of_range*

In_range*

 and  

Receive_data*

.  The 

Receive_data*

command is the only command issued from the Server radio to the Server Host.   It is
important to note that these commands will 

NOT

 get an acknowledgement, they are signals to

the Host to alert it to incoming data, or a change of status.

2.

 

All remaining commands initiated by the Host 

MUST

 receive an acknowledge from the radio

to signal completion of the assigned task.  This works as flow control for the information
going to the radio.

The server radio can receive data from a total of 75 different clients, but from only 8 different

clients in any 30 millisecond interval.  It is possible that there will be multiple 

Receive_data* 

commands at

the same time. Since there is no reply command at the completion of 

Receive_data*

, the Host must be

capable of handling up to 8 

Receive_data* 

commands at one time.

Note: This means that whenever a command is initiated by the radio to the Host, the Host must be
ready to accept the command and any data following the command.

Note:  A full list of commands, definitions, and implementation can be found in Section 6.

3.2.4

 

Serial Interface Mode 04 – Transparent, Fixed Length, No Timeout

Mode 04 specifies Transparent mode with fixed length packets and no timeout.  Packets will be

transmitted over the RF interface when the number of data bytes received over the interface is equal to the
buffer specified by the user in EEPROM address locations 43H and 44H.

3.2.5

 

Serial Interface Buffer

The serial interface buffer provides 8Kbytes of memory broken into four dynamic regions.  In the

API Serial Interface Mode 03, only one region is utilized.  In the Transparent Serial Interface Modes 01, 02
and 04, a buffer region is used each time a packet release condition is met.  As an example, in End
Character Mode 02, if 500 bytes are transmitted followed by the specified end character, 500 bytes will be
stored in the first region and the remianing 7.5Kbytes will be dynamically allocated for the next three
packets.  It is strongly recommended that CTS or upper layer protocol with acknowledgements be used by
the OEM when operating in Transparent Serial Interface Control Modes to eliminate the following system
issues:

Note:  If all four buffers are filled and the OEM host continues to send data over the interface, it will
be discarded by the radio.  This can be eliminated if the OEM utilizes CTS.

Summary of Contents for PKLR2400

Page 1: ...PKLR2400 Radio Hardware and Software Interface Specification Version 3 1 13256 W 98th Street Lenexa KS 66215 800 492 2320 www aerocomm com wireless aerocomm com...

Page 2: ...th the limits for a Class B digital device pursuant to Part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated i...

Page 3: ...l is preliminary Information furnished by AeroComm in this specification is believed to be accurate Devices sold by AeroComm are covered by the warranty and patent indemnification provisions appearing...

Page 4: ...3 6 Forced API Mode 03 PKTMODE 13 4 3 7 Microprocessor Reset uP RESET 14 4 3 8 EEPROM Write Protect E2WP 14 5 DEVELOPERS KIT 15 5 1 SERIAL ADAPTER BOARD 16 NOTE The pins on the 40 pin header strip ma...

Page 5: ...er 32 7 1 4 Client Server Mode 32 7 1 5 System ID 32 7 1 6 Baud High BH and Baud Low BL 33 7 2 PROTOCOL EEPROM PARAMETERS 34 7 2 1 Transmit Data Link Attempts 35 7 2 2 Receive mode 35 7 2 3 In Range O...

Page 6: ...e OEM Product The radio is controlled by a Dallas 87C520 microcontroller providing program storage A separate EEPROM provides user definable parameter storage The RF system is a Client Server Slave Ma...

Page 7: ...nels Security User assigned System ID Unique IEEE address on each radio RADIO Frequency Band 2 402 2 478 GHz Radio Type Spread Spectrum Frequency Hopping Output Power 10mW Voltage 5V nominal 5 50mV ri...

Page 8: ...wing maximum system flexibility These four Serial Interface Modes include three transparent modes and one API mode The radio to radio protocol is identical on all three Transparent Serial Interface Mo...

Page 9: ...at the same time Since there is no reply command at the completion of Receive_data the Host must be capable of handling up to 8 Receive_data commands at one time Note This means that whenever a comman...

Page 10: ...use of the RF_enable command it will receive the server radio IEEE 802 3 address once it is in range Upon receiving the IEEE 802 3 server radio address the client radio will issue an In_range command...

Page 11: ...5 Critical parameters are as follows J1 40 pin OEM interface connector Amp P N 177986 1 mates with Amp P N 177985 1 J2 High frequency MMCX style antenna connector Huber Suhner P N 85 MMCX S50 0 51 mat...

Page 12: ...20 GND GND Ground 21 GND GND Ground 22 NC D3 No Connect Data 3 23 CTS DIR1 Clear To Send Bidir Handshake 1 24 Reserved Reserved Reserved Processor 25 Reserved Reserved Reserved Crystal 26 BDSEL STROB...

Page 13: ...adio enhancements These pins should be treated as No Connect pins and must not be connected to logic high or low levels but must be left floating 4 3 5 Baud Rate Selector BDSEL The Baud Rate Selector...

Page 14: ...evel and reset 4 3 7 Microprocessor Reset uP RESET Microprocessor Reset uP RESET is achieved by holding pin 38 at logic high level for a minimum of 2ms If uP RESET is performed after power has been ap...

Page 15: ...2400 quickly The kit includes 2 PKLR2400 Data Radios either serial or parallel 2 Serial Adapter Boards with 40 pin interface 40 pin header LED indicators power connector and DB9 connector SDK PKLR2400...

Page 16: ...1 J1 Amp 40 Pin Connector 177985 1 mates directly with J1 on Radio 2 1 J2 DB9 Male connector mates with provided cable to PC or OEM Host 3 1 P1 Power Connector provides power to entire kit with provid...

Page 17: ...ed Figure 3 Level Translation Enabled Figure 4 Level Translation Disabled Note If level translation is enabled it is important to note that the signal level will be inverted at the interface connector...

Page 18: ...o exercise monitor and setup modes in the radios These utilities are Transmit Receive Emulator Single Line Command Interface and EEPROM Viewer Editor 5 2 1 1 Transmit Receive Emulator This software al...

Page 19: ...through the commands in the script Once you have executed all the commands in the set up script you must press the reset button on the serial adapter board before any of the changes will be implement...

Page 20: ...The default configuration for PORTS CFG assumes that both developer kit radios are connected to the same computer The default baud rate in PORTS CFG is 57600 This should not be changed unless the EEP...

Page 21: ...n Mode 1 This has big packet size just about 1K PINGT1S RTC This file is used when the radios are in Mode 1 This has small packet size 256 Bytes PINGT2 RTC This file is used when the radios are in Mod...

Page 22: ...CX plug cables are provided to interface the antenna boards to the radio Optional antennae are available for testing Antenna selection is instrumental to and will impact overall system performance 5 4...

Page 23: ...ning after the Length 6 1 System Command Set Summary The System Commands allow the user to initialize the system and perform general system analysis when operating in API Serial Interface Mode 03 Name...

Page 24: ...nal subcommands are reserved by the system and if used may cause system operation problems Note Following and EEPROM Write Command the user should invoke the Update EEPROM Checksum command Note Follow...

Page 25: ...leep mode Data Frame 88H 01H 00H Data Checksum 6 1 5 Reset EEPROM This command is sent by the OEM Host to the Radio the result of which sets the various locations parameters in the EEPROM to their def...

Page 26: ...d data frame because of bad CRC checksum Unsigned Long 4 bytes Rx Retries Error Counter Number of times data frames had to be retransmitted before a valid data frame was received Unsigned Long 4 bytes...

Page 27: ...done after bringing up the AeroComm module out of reset The AeroComm module reports either a good or a bad checksum by sending back a response called EEPROM Checksum Status 6 1 10 EEPROM Checksum Stat...

Page 28: ...n brought out of reset This enables the RF portion of the Radio and turns the transmitter receiver ON This command requires an acknowledge 6 2 2 Send data This command is issued by the Host to the Rad...

Page 29: ...me is the received data Data Frame 83h Length Low Length High Data Checksum Destination Address Source Address Data MS Byte LS Byte MS Byte LS Byte 6 2 5 In range The Client Radio will issue this comm...

Page 30: ...r an in range command has been issued to the Host processor This command should have some hysterisis so that the Host processor isn t flooded with these commands in a fringe coverage area The state of...

Page 31: ...tored and changed independent of the serial interface protocol These parameters can only be changed when the API Serial Interface Mode 03 described in Section 7 1 is active EEPROM Address Size Descrip...

Page 32: ...channel number other than 00 Note Channel Number AND System ID between clients and server must be identical for radios to communicate 7 1 4 Client Server Mode EEPROM Address 33H Size 1 byte Default 0...

Page 33: ...over the interface between the OEM radio and host as follows Sample BHBL selections for common Baud Rates Using a 28 224 MHz Crystal Baud Rate BH BL 300 F4 84 2 400 FE 91 4 800 FF 48 9 600 FF A4 19 2...

Page 34: ...d frame 01 unicast broadcast data default 02 unicast only 03 all promiscuous mode 32H 1 byte In Range Out of Range Refresh This byte specifies the number of 250 ms ticks between range indications This...

Page 35: ...a destination address that has FF in all six bytes It is important to note that there is no RF acknowledge on Broadcast packets Mode 01 will accept Unicast and Broadcast data packets and discard all...

Page 36: ...Interface Modes EEPROM Address 4AH Size 1 bytes Default 03 Range 01 04 There are four Serial Interface Modes for the OEM radio including one packet mode and three transparent modes All modes are diffe...

Page 37: ...io will determine if the six byte IEEE address at 50H matches If the destination address matches the data packet is forwarded to the OEM host Otherwise the data is discarded This addressed mode guaran...

Page 38: ...3 03 03 03 01 02 03 03 03 32H Range Refresh NA NA NA NA 01 FF 01 FF NA NA NA 3EH End Char Definition NA NA 00 FF 00 FF NA NA NA NA NA 43H Fixed Pkt Length HB 01 07 01 07 NA NA NA NA NA 01 07 01 07 44H...

Page 39: ...PI Serial Interface Mode 03 Client Radio Server Radio Apply Power Wait for CTS logic low if 5V Host issues RF enable command Host awaits Acknowledge Host reads EEPROM for IEEE source address Await Ser...

Reviews: