How to make the DS34S132 TDM-over-Packet (TDMoP) IC interoperable with other vendors' TDMoP devices
Interoperability is the ability of a system to work with other vendors' systems with little or no intervenTIon from the system operator. The interoperability of systems makes it possible to provide services to, and accept services from, other systems. It enables different vendors' systems to operate properly together. This applicaTIon note explains how the DS34S132 TDM-over-Packet (TDMoP) IC can be set up to provide interoperability with any other vendor's TDMoP device.
It is no secret that today's communicaTIons require ever more complex interactions among systems and components. It is within this context that interoperability assumes greater importance with each technological advance. Interoperability is the ability of a system to work with other vendors' systems with little or no intervention from the system operator. The interoperability of systems makes it possible to provide services to, and accept services from, other systems. It enables different vendors' systems to operate properly together.
This application note focuses on the Maxim TDM-over-Packet (TDMoP) IC, the DS34S132. The article explains the setup requirements to provide interoperability between the DS34S132 and other vendors' TDMoP devices.
The packet stream created by Maxim's TDMoP devices may not have the same packet header information as other vendors' TDMoP devices. To make TDMoP devices interoperable, the user needs to know the device's setup type. The setup for a Maxim device will be one of the following:
- IP/UDP/RTP/SAToP
- IP/UDP/RTP/CESoPSN
- MEF/RTP/CESoETH—unstructured (i.e., MEF/SAToP)
- MEF/RTP/CESoETH—structured locked (i.e., MEF/CESoPSN)
- MPLS/RTP/SAToP—unstructured (i.e., MPLS/RTP/SAToP)
- MPLS/RTP/CESoPSN—structured locked (i.e., MPLS/RTP/CESoPSN)
Each TDMoP device setup has different packet headers. To be interoperable, the packet header from Maxim TDMoP devices must be formatted the same as the packet header from other vendors' devices. This means that the user needs to compare the packet headers for the TDMoP devices and look for format differences. This application note shows how to modify packet header values for the DS34S132 TDMoP device by using the Maxim user application. It also explains how to change the Maxim bundle configuration to accept packets with same protocol but different header information.
This section shows the functional description for the TDM-over-Packet module. To transport TDM data through packet-switched networks, the TDMoP device encapsulates TDM data into Ethernet packets, as depicted in Figure 1. The descriptions for different blocks of the TDMoP headers are given in Table 1.
Figure 1. TDMoP encapsulation in an Ethernet packet.
Table 1. Ethernet packet structure
The user needs to concentrate on two sections of the TDMoP headers for interoperability:
- UDP/IPv4 header for interoperability
- RTP header for interoperability
Figure 2 shows the UDP/IPv4 header structure. Tables 2 and 3 describe the different fields of IPv4 and UDP Header structures.
Figure 2. UDP/IPv4 header.
Table 2. IPv4 Header structure
Table 3. UDP Header structure
According to IANA, the Destination Port of the UDP Header should be set to 0x85E (2142), which is the user's port number assigned to TDMoP. Maxim TDMoP devices follow this regulation by default.
Some of the TDMoP vendors assign a bundle identifier at the Destination Port number location instead of at source port number location inside the UDP header. Some of the vendors also assign random numbers as a user port number rather than 0x85E, which is assigned by IANA. The user can resolve these issues in two ways with the DS34S132.
- Assign all the bundle identifier to the desired location in the preconfiguration menu.
- Indicate to the bundle engine where to expect the bundle identifier in the incoming packets.
- Assigning all the bundle identifier to desired location in the preconfiguration menuThe preconfiguration menus for DS34S132 are shown in Figure 3.
Figure 3. Preconfiguration menu of DS34S132.
Item 4, Bundle Number ID Location, indicates where to find the bundle identifier. If the user selects this menu, then the following options will appear (Figure 4).
Figure 4. Option 4 from preconfiguration menu of the DS34S132.
Option 3 from Figure 4, Bundle in DST UDP PORT, will assign a bundle identifier to Destination Port number location in UDP Header. Option 4, Bundle in SRC UDP PORT, will assign a bundle identifier to source port number location in UDP Header.
So, after identifying the incoming packets' bundle identifier location, the user can assign their own bundle identifier in the appropriate location.
To assign random numbers as a user port number rather than 0x85E, which is assigned by IANA, the user can choose to change option 10 and 11 from the preconfiguration menu.
- Indicate to the bundle engine where to expect the bundle identifier in the incoming packets.Referring back to Figure 4, option 1, Bundle Configuration Decides (BCDR4), will assign a bundle identifier either in the Destination Port number or in source port number location, based on the user's Bundle Configuration which is shown in Figure 5.
Figure 5. Bundle Configuration menu of DS34S132.
In the above Bundle Configuration menu, the user is inserting a bundle identifier number in UDP source port number location. The user is also indicating that the packet classifier should expect the bundle identifier of the incoming packet in the UDP source port number location.
If the user knows that the incoming packet's bundle identifier is in a UDP Destination Port number location, then s/he can easily indicate it by changing the option 45, RX Bundle Number Location at UDP port, to Destination as shown in Figure 6.
Figure 6. Option 45 from the Bundle Configuration menu of the DS34S132.
Figure 7 shows the RTP Header structure and Table 4 describes the different fields of the RTP Header structures.
Figure 7. RTP Header.
Table 4. RTP Header structure
Absolute mode: the chip sets timestamps using the clock recovered from the incoming TDM circuit.
Differential (common clock) mode: The two chips at bundle edges have access to the same high-quality clock source, and this clock source is used for timestamp generation.
To generate a timestamp in Absolute Clock Recovery mode, RTP Generator Timestamp Mode Select (TSGMS) bit of Port Receive Configuration Register 4 (PRCR4) needs to be set to 1, i.e., PRCR4.TSGMS = 1. To generate a timestamp in Differential Clock Recovery mode, TSGMS bit PRCR4 register needs to be set to 0, i.e., PRCR4.TSGMS = 0. The user does not need to set these register bits manually. When the RTP is enabled in the bundle configuration, then these bits are set.
In adaptive mode, the clock recovery algorithm in Maxim's DS34S132 TDMoP device recovers the clock based on the interpacket arrival time delay. So enabling RTP in the adaptive mode is optional in Adaptive Clock Recovery mode. However, in Differential mode, the clock recovery algorithm in Maxim's DS34S132 TDMoP device recovers the clock based on the analysis of the timestamp in the RTP Header. So enabling RTP is mandatory in Differential Clock Recovery mode.
To be interoperable, the user needs to determine the mode that the other TDMoP vendors are using to generate a timestamp in the RTP Header. The user also needs to know whether the other system is in Adaptive or Differential Clock Recovery mode. The clock recovery mode can be changed on a per-port basis in the interface configuration. Figure 8 shows how to change the clock-recovery mode. By default, it comes as Adaptive mode per port.
Figure 8. Interface configuration.
Now if the user wants to change the clock-recovery mode, then s/he needs to use option 40, Adaptive or Differential mode, as shown in Figure 9.
Figure 9. Selecting Differential Clock Recovery mode in interface configuration.
Unlike Maxim's TDMoP devices, some of the TDMoP vendors recover the clock based on the timestamp in the RTP header either in Adaptive or Differential Clock Recovery mode. So, to be interoperable with those vendors' system, the Maxim TDMoP devices need to enable RTP in Adaptive Clock Recovery mode. The DS34S132, as well as other TDMoP vendor's devices, can generate a timestamp in the RTP Header in three ways:
- Bit mode
- Byte mode
- Frame mode
Whether the packet is in Adaptive Clock Recovery mode or in Differential Clock Recovery mode, the user then can generate a timestamp in the RTP Header by changing the interface and Bundle Configuration, as shown in Figure 10.
Figure 10. Selecting Bit, Byte, or Frame mode for timestamp in interface configuration.
Once the selection of clock recovery mode and Timestamp generation mode is done in the interface configuration, then the user needs to enable RTP mode in the Bundle Configuration. Previously, Figure 5 showed the Bundle Configuration with RTP mode disabled. From this Bundle Configuration menu, the user needs to use option 27 to enable RTP mode, as shown in Figure 11.
Figure 11. Selecting Bit, Byte, or Frame mode for a timestamp in interface configuration.
Once the RTP mode is enabled, then the Bundle Configuration menu will look like Figure 12.
Figure 12. Bundle Configuration menu after enabling RTP mode.
There are different kinds of software for analyzing the packet headers on the Ethernet. Wireshark® software was used for this application note. The freeware is available for download. For more information about Wireshark, please use the Frequently Asked Questions sections from the website.
Interoperability refers to the ability of diverse systems and organizations to work together seamlessly. Products achieve interoperability either by adhering to published interface standards, or by allowing configuration changes that convert one product's interface into another product's interface "on the fly". By knowing the contents of the packets generated by other TDMoP devices, Maxim devices can be configured easily to match the packet configurations of other TDMoP devices.
If you have questions about TDMoP products or any other Maxim telecom products, then please join our Member Center.
After completing the membership sign-up process, please submit your support request online via the technical support request form.
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)