COM-5001             LAN / IP NETWORK INTERFACE

Key Features

     •    Provides high-speed network interface for
       ...
Interfaces                                                                  REG5:
                                        ...
Number of bytes         Total number of bytes transmitted
                      01 = text mode (insert NULL characters    ...
second COM-5001:AC 10 01 81 FF FF FF 00 AC             TCP-IP
10 01 01 00 00 00 00 00 00 00 00 81 00 01              The m...
Bytes 510-511: 16-bit CRC.                                                                 MAC Address
During HDLC encodin...
= less than half full                                                                                                     ...
(b) 8-bit wide connection to another ComBlock                Output Connector J3
    [COM-8002,etc]                       ...
(c) Special case: output connector is used for
    bi-directional connection to COM-7001
    module.                      ...
Upcoming SlideShare
Loading in …5
×

COM-5001 LAN / IP NETWORK INTERFACE

415 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
415
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

COM-5001 LAN / IP NETWORK INTERFACE

  1. 1. COM-5001 LAN / IP NETWORK INTERFACE Key Features • Provides high-speed network interface for data transfer and monitoring & control of ComBlock assemblies. • Standard 10baseT LAN interface, RJ-45 connector. • Support for multiple data streams, with a standard TCP-IP socket for each stream. • HDLC multiplexing of two transmit streams: - transmit data channel. - signaling channel. 5 Virtual Channels • HDLC demultiplexing of two receive TCP-IP Socket 1 streams: Transmit Data Stream HDLC ComBlock - receive data channel. Multiplexing Transmitter & Flow Control Assembly - signaling channel. TCP-IP Socket 2 Transmit Signaling Stream • Elastic buffering and flow-control on each Internet LAN 10baseT Intranet transmit and receive link. RJ-45 TCP-IP Socket 3 Receive Data Stream ComBlock HDLC • Receiver Demultiplexing Monitoring and control of ComBlock Assembly TCP-IP Socket 34 assemblies over LAN or serial link from a Receive Signaling Stream Data Stream graphical user interface. TCP-IP Socket 3 5 TCP-IP Socket ComBlock • Single 5V supply Receive DataAssembly ComBlock Stream Assembly Monitoring & Control • Connectorized 3”x 3” module for ease of prototyping. Standard 40 pin 2mm dual row connectors (right, bottom) For the latest data sheet, please refer to the ComBlock web site: www.comblock.com/download/com5001.pdf. These specifications are subject to change without notice. For an up-to-date list of ComBlock modules, please refer to www.comblock.com/product_list.htm . MSS • 18221 Flower Hill Way #A • Gaithersburg, Maryland 20879 • U.S.A. Telephone: (240) 631-1111 Facsimile: (240) 631-1676 www.ComBlock.com © MSS 2000-2003 Issued 8/2/2005
  2. 2. Interfaces REG5: REG6: REG7: LSB Interface Definition Gateway IP IP address of the gateway to the LAN 4 wire. 10baseT. RJ45 connector. Internet. Packets to remote IP addresses NIC wiring. are forwarded through the Gateway. ComBlock 2 40-pin connectors to two other REG8: MSB Module ComBlock modules. The interface is REG9 Interface programmable as a function of the REG10 adjacent ComBlock module type. REG11: LSB Serial DB9 connector. DSN1 Domain name server1 IP address. Monitoring & 115 Kbaud/s. 8-bit, no parity, one stop REG12: MSB Control bit. No flow control. REG13 Power 4.75 – 5.25VDC. Terminal block. REG14 Interface Power consumption is 250mA. REG15: LSB Reserved REG16, REG17, REG18, REG19 Input format 00000 = disables input connector. Initial Configuration (via Serial 00001 = 1-bit wide 01000 = 8-bit wide Link) 11110 = loop back 1-bit serial mode. The IP address, IP mask, Gateway IP address and 11111 = special case: bi-directional DNS address must first be configured over serial connection to COM-7001 via input link. These network settings are saved in non- female connector (output connector must be disabled). volatile memory. Once the correct network settings REG20 bits 4-0 are configured, the Comblock Control Center and Receive HDLC Perform HDLC decoding on 1-bit serial this ComBlock assembly can communicate over the enable receive stream (applicable only when 1- intranet or internet as well as over a serial link. bit input serial format is selected). 0 = no 1 = yes Configuration (via Serial Link / REG20 bit 7 Output format 00000 = disables output connector. LAN) 00001 = 1-bit wide Complete assemblies can be monitored and 01000 = 8-bit wide controlled centrally over a single serial or LAN 11111 = special case: connection to connection. COM-7001 via output male connector (input connector must be disabled). The module configuration parameters are stored in REG21 bits 4-0 TCP-IP timeout Enable of disable automatic reset of the non-volatile memory. All control registers are reset TCP-IP connection if no data is read/write. enable/disable received over the TCP-IP port for two minutes. When enabled, a timeout Parameters Configuration condition will close the existing IP address 4-byte IP address. connection and immediately re-open the Example : 0x AC 10 01 80 designates socket in listening mode. address 172.16.1.128 Justification: abnormal connection The ComBlock must be reset for the terminations may not detected by the new address to become effective. TCP-IP receiving end, thus preventing REG0: MSB the TCP-IP sending end from re- REG1 establishing a new connection. REG2 The ComBlock must be reset for this REG3: LSB new setting to be applied. IP mask 4-byte IP mask. Determines whether an 0 = disable automatic timeout reset. address is local or remote. Example : 0x 1 = enable automatic timeout reset. FF FF FF 00 designates the mask REG21 bit 5 255.255.255.0 Transmit mode 00 = no formatting. The data source The ComBlock must be reset for the must be ready to fill the IP port 1024 to new mask to become effective. avoid underflow in the transmit elastic REG4: MSB buffers. 2
  3. 3. Number of bytes Total number of bytes transmitted 01 = text mode (insert NULL characters transmitted from LAN over data and signaling channels. as gap filler). Use when the data source to digital device 32-bit byte count. Counter rolls throughput is less than the synchronous over when reaching link throughput. 0xFFFFFFFF. REG24: bits 7-0 (LSB) 10 = HDLC mode. REG25: bits 15-8 Perform HDLC encoding on 1-bit serial REG26: bits 23-16 transmit stream (applicable only when REG27: bits 31-24 (MSB) 1-bit output serial format is selected). Number of bytes Total number of bytes received Use HDLC to multiplex data and received from digital over data and signaling channels. signaling information as two virtual device and forwarded 32-bit byte count. Counter rolls channels on the same physical link. to LAN over when reaching REG21 bits 7-6 0xFFFFFFFF. Internal / 0 = internal clock REG28: bits 7-0 (LSB) External clock 1 = external clock REG29: bits 15-8 selection REG22 bit 0 REG30: bits 23-16 COM-8001 Special use: Writing to REG22 with a REG31: bits 31-24 (MSB) external trigger ‘1’ in bit 1 will generate a 1 CLK wide Version Returns ‘5001xy’ when prompted pulse on pin J3/B6. The main for version number. application is to trigger the COM-8001 file playback/download. There is no As the monitoring data is constantly changing, it is need to reset this bit to ‘0’ prior to important to be able to prevent changes while writing a ‘1’. reading a multi-byte parameter. The monitoring REG22 bit 1. data is latched upon reading register 23. Therefore, register 23 should always be read first. Note: changing any of the configuration values or reloading the current configuration will close and re-open all TCP-IP connections. Test Configuration Example • LAN COM-5001 -> LAN COM-5001 This test setup aims at demonstrating the TCP-IP Monitoring (via Serial Link / LAN) transmission from one network data souce to Parameters Monitoring another network data sink. The incoming data is Transmit data elastic 0 = not empty buffer empty received over the LAN using TCP-IP at port 1024. 1 = empty The TCP-IP data stream is converted to a 40 Mbit/s REG23 bit 0 Transmit signaling 0 = not empty synchronous serial data stream at the interface elastic buffer empty 1 = empty between the two COM-5001 modules, then REG23 bit 1 converted back to TCP-IP packets. The packets are Transmit data elastic 0 = more than half full placed for reading at TCP-IP port 1026. buffer less than half 1 = less than half full full REG23 bit 2 First configure each COM-5001 with a unique Transmit signaling 0 = more than half full TCP-IP address consistent with your LAN network. elastic buffer less than 1 = less than half full Here we assume that local addresses are in the form half full REG23 bit 3 172.16.1.X, where X = 1 to 254. The first COM- LAN Activity 0 = inactive 5001 is assigned address 172.16.1.128, and the 1 = active second COM-5001 assigned the address REG23 bit 4 Receive data elastic 172.16.1.129. Please check with your network 0 = less than half full buffer more than half 1 = more than half full administrator for IP mask and available IP full REG23 bit 5 addresses. Receive signaling 0 = less than half full elastic buffer more 1 = more than half full The registers settings are as follows: than half full REG23 bit 6 first COM-5001:AC 10 01 80 FF FF FF 00 AC 10 HDLC decoding error 0 = no error 01 01 00 00 00 00 00 00 00 00 00 81 00 1 = error detected REG23 bit 7 3
  4. 4. second COM-5001:AC 10 01 81 FF FF FF 00 AC TCP-IP 10 01 01 00 00 00 00 00 00 00 00 81 00 01 The module opens the following sockets in listening mode: Proper operation can be verified as follows: Port 1024: transmit data stream (a) Upon connecting the LAN cable to the RJ-45 Port 1025: transmit signaling stream connector, the yellow LED close to the connector is Port 1026: receive data stream ON. Port 1027: receive signaling stream. (b) Using the ComBlock Control Center, go to the Port 1028: monitoring and control port communication setup window, select LAN/IP and • ping the first address (172.16.1.128 in this example). The ping test should indicate 4 UDP-IP out of 4 successes. Port 1029 is open as a UDP receive-only port. This • ping the second address (172.16.1.129 in port serves a single purpose: being able to reset all this example). The ping test should indicate TCP-IP connections gracefully. The command 4 out of 4 successes. “@001RST<CR><LF>” sent as a UDP packet to (c) Using two terminal emulators such as this port will reset all TCP-IP connections. Hyperterminal: • open two TCP-IP connections, one to Operation address 172.16.1.128, port 1024, the other to address 172.16.1.129 port 1026. The Throughput Hyperterminal should indicate 'connected' The COM-5001 is capable of a sustained (average) in the lower left corner of the window. throughput in the range 390 Kbps to 890 Kbps. The • Configure the sending Hyperterminal to peak transfer rate is only limited by the 10baseT display the characters sent (ASCII setup LAN. "Send line ends with line feeds" and "echo characters typed locally"). HDLC • Send a large text file using the menu HDLC allows to transmit a variable rate "Transfer | Send text file". (asynchronous) data stream over a fixed rate • Observe the file being received in the other continuous (synchronous) link like a satellite or Hyperterminal window. Comparing wireless link. Whenever no data is available for transmit and received file should show no transmission, the HDLC encoder generates empty errors. frames to fill the synchronous data link. Empty • Note that the last characters are 'stuck' in frames are discarded during HDLC decoding. the LAN buffer due to the HDLC packet implementation. At the end of a transfer, HDLC also allows to multiplex multiple data the transmitter should be flushed with 4096 streams over a single link, in effect creating virtual NULL characters. channels. In this module, two virtual channels are generated in each direction: one for data, one for signaling. Data has priority over signaling: if IP Protocols signaling information is only transmitted when no This module supports the following IP protocols: data is available for transmission. - Ping - ARP The HDLC encoding/decoding is user-enabled. - UDP HDLC must be used with the 1-bit serial format on - TCP-IP the HDLC-encoded side. This implementation of HDLC adds little overhead Ping (less than 1 %): The module responds to ping requests with size up Each HDLC frame is 512 bytes (4096 bits) long. to 500 bytes. The format is as follows: Byte 1: address flag 0x1 for data, 0x2 for signaling Byte 2 – 509: payload data 4
  5. 5. Bytes 510-511: 16-bit CRC. MAC Address During HDLC encoding, bit stuffing adds a zero bit Each COM-5001 has a unique 48-bit MAC address. after 5 consecutive ones. The resulting HDLC- The 3 least significant bytes are printed on a 6 hex encoded frame is delineated with two 0x7E flags. digit label on the small adapter board with the RJ- 45 connector. The 3 most significant bytes are 00 The user application must ensure that at least 4096 90 C2. empty data bits are transmitted at the end of each session to flush the buffers. Timing Text Mode The I/O signals are synchronous with the rising Text mode enables one to send non-null ASCII edge of the reference clock CLK (i.e. all signals characters over the synchronous link with minimum transitions always occur after the rising edge of the latency. When text mode is enabled, NULL (ASCII reference clock CLK). The maximum CLK 0) characters are inserted when no other characters frequency is 40 MHz. is received at IP port 1024. At the receiving end, all characters, including the non-printable NULL character, are forwarded to IP port 1026. Input Input read at rising edge Format Conversion of CLK Parallel to serial conversion occurs at the output CLK when a 8-bit byte received over the TCP-IP link is SAMPLE_CLK_IN converted to n-bit serial, where the sample width n DATA_IN is selected by the user. The key rule for parallel to serial conversion is that the most significant bit (MSb) is transmitted first. Output Likewise, in the serial-to-parallel conversion which Read output at rising edge occurs at the input, the first received bit is placed at of CLK the MSb position in the byte. CLK BIT_CLK_OUT Loop Back DATA_OUT A loop back mode is provided for system-level test purposes. Transmitted data are looped back into the 1-bit serial input. The nominal input pins are LEDs disabled. Be sure to configure the output format as 2 LEDs located close to the LAN RJ-45 jack ‘1 bit serial’. Loop back mode can be used with or provide summary information as to the LAN: Link without HDLC. and activity. ComBlock TCP-IP Socket 1 Transmitter Transmit Data Stream Assembly HDLC TCP-IP Socket 2 Multiplexing & Flow Control Test Points Transmit Signaling Stream Internet LAN 10baseT Test points are provided for easy access by an Intranet RJ-45 TCP-IP Socket 3 Receive Data Stream oscilloscope probe. HDLC ComBlock Demultiplexing Receiver Assembly Test Definition TCP-IP Socket 34 Receive Data Stream Signaling Stream Point TP 1 Transmit data elastic buffer empty TCP-IP Socket 3 5 TCP-IP Socket Receive DataAssembly ComBlock Stream ComBlock Assembly 1 = empty Monitoring & Control TP 2 Transmit signaling elastic buffer empty 1 = empty TP 3 Transmit data elastic buffer less than half full 1 = less than half full TP 4 Transmit signaling elastic buffer less than half full 1 5
  6. 6. = less than half full LAN Connector J2 TP 5 LAN Activity 1 = active The RJ-45 Jack is wired as a standard PC network TP 6 Receive data elastic buffer more than half full interface card. Connection to a LAN Hub is over a 1 = more than half full straight-through cable. TP 7 Receive signaling elastic buffer more than half full 1 1 8 = more than half full TP 8 HDLC decoding error 1 Tx+ 1 = error detected 2 Tx- TP9 3 Rx+ TP10 6 Rx- RJ-45 Jack Mechanical Interface 5VDC Power Serial Link Terminal Block, 90 deg DB-9 Female 90 deg, DCE corner (3.000", 3.000") Input Connector J2 Mounting hole (0.160",2.840") GND GND +5V There are several possible connector configurations, U1 P1 Mounting hole +3.3V (2.840", 2.840") depending on the application: A1 pin (0.100", 2.250") A1 B1 B1 A1 A1 pin (2.900", 2.250") (a) 1-bit wide connection to another ComBlock Top view Input signals 2 rows x 20 pin J2 J3 Output signals 2 rows x 20 pin [COM-1001, COM-1011,etc] female, 90 deg male, 90 deg B1 A1 A20 B20 B20 A20 Mounting hole TP CLK_IN SAMPLE_CLK_IN 1 (0.160",0.160") J4 DATA_IN 10 B20 B1 Mounting hole Corner A20 A1 (2.840", 0.160") (0.000", 0.000") A1 A20 Mounting hole B1 B20 (2.840",-0.390") GND (0.160",-0.390") J2 SAMPLE_CLK_REQ_OUT Top view +5V 5VDC Power LED Activity Terminal J1 GND LED Link Block, 90 deg GND J2 Mounting hole Mounting hole (2.840", -2.070") (0.160",-2.070") RJ-45 Corner (1.420",-2.230") LAN (2.050",-2.230") (3.000", -2.230") Connector GND Mounting hole diameter: 0.125" A1 pin height: 0.039" M&C RX M&C TX Maximum height 1.100" JTAG TDI JTAG TMS JTAG TCK GND B20 A20 Pinout Serial Link P1 The DB-9 connector is wired as data circuit terminating equipment (DCE). Connection to a PC is over a straight-through cable. No null modem or gender changer is required. 5 1 2 Transmit 3 Receive 9 6 5 Ground DB-9 Female 6
  7. 7. (b) 8-bit wide connection to another ComBlock Output Connector J3 [COM-8002,etc] There are several possible connector configurations, depending on the application: B1 A1 CLK_IN SAMPLE_CLK_IN DATA_IN(0) DATA_IN(1) (a) 1-bit wide connection to another ComBlock DATA_IN(2) DATA_IN(3) [COM-1002, COM-1012, COM-1019, COM- DATA_IN(4) DATA_IN(5) 1028, etc] DATA_IN(6) GND B1 A1 DATA_IN(7) SAMPLE_CLK_REQ_OUT CLK_OUT SAMPLE_CLK_OUT DATA_OUT GND GND SAMPLE_CLK_REQ_IN GND GND M&C RX M&C TX JTAG TDI JTAG TMS JTAG TCK GND B20 A20 GND (c) Special case: input connector is used for bi- M&C TX M&C RX JTAG TDI JTAG TMS directional connection to COM-7001 JTAG TCK GND module. B20 A20 B1 A1 (b) 8-bit wide connection to another ComBlock CLK_IN SAMPLE_CLK_IN DATA_IN [COM-8001, etc] B1 A1 SAMPLE_CLK_OUT DATA_OUT GND SAMPLE_CLK_REQ_IN CLK_OUT SAMPLE_CLK_OUT DATA_OUT(0) DATA_OUT(1) DATA_OUT(2) DATA_OUT(3) DATA_OUT(4) DATA_OUT(5) GND DATA_OUT(6) GND DATA_OUT(7) EXT_TRIGGER_OUT SAMPLE_CLK_REQ_IN GND GND M&C RX M&C TX JTAG TDI JTAG TMS JTAG TCK GND GND B20 A20 M&C TX M&C RX JTAG TDI JTAG TMS JTAG TCK GND B20 A20 7
  8. 8. (c) Special case: output connector is used for bi-directional connection to COM-7001 module. I/O Compatibility List (not an exhaustive list) B1 A1 Input Output CLK_OUT SAMPLE_CLK_IN COM-1001 COM-1002 DATA_IN BPSK/QPSK/OQPSK BPSK/QPSK/OQPSK Demodulator Modulator SAMPLE_CLK_OUT DATA_OUT GND COM-1011/1018 DSSS COM-1012/1019 DSSS SAMPLE_CLK_REQ_IN Demodulator Modulator COM-7001 Turbo Code COM-7001 Turbo Code Encoder / Decoder Encoder / Decoder GND COM-8002 Data COM-8001 Arbitrary acquisition module Waveform Generator GND Configuration Management This specification is to be used in conjunction with M&C TX M&C RX JTAG TDI JTAG TMS VHDL code template software revision 25, and the JTAG TCK GND ComBlock Control Center revision 2.31 or above. B20 A20 ComBlock Ordering Information COM-5001 LAN / IP NETWORK INTERFACE MSS • 18221 Flower Hill Way #A • Gaithersburg, Maryland 20879 • U.S.A. Telephone: (240) 631-1111 Facsimile: (240) 631-1676 E-mail: sales@comblock.com 8

×