Omega Products DSP-200 Installation Manual

Page 1
Table of Contents
7-1
7 . Specifications
.........................................
6-1
6 . External Connections
6-6
5.6 PCMCIA Configuration Register
5-5
5.5 Half Duplex Operation
5-4
5.4 Termination Resistors
5-3
5.3.2 Auxiliary Channel: Handshaking Disabled.
5-2
5.3.1 Auxiliary Channel: RTS-CTS Handshaking.
5-2
5.3 Auxiliary Channel Configuration
5-1
5.2 Scratchpad Register
5-1
5.1 I/O Addressing Modes
5-1
5 . Hardware Information
5-6
4.2 Monitoring The Status Of PCMCIA Cards
5-6
4.1.6 Applying Options to All The DSP-200/300 Cards
4-5
4.1.5 Using Multiple Options
4-5
4.1.4 Options
4-4
4.1.3 Advanced Configuration Topics
4-3
4.1.2 Configuring With "User Assigned" Resources
4-2
4.1.1 Configuring With "System Assigned" Resources
4-2
4.1 Command Line Options
4-1
4 . OS/2 Installation
3-4
3.2.2 Changing Resource Settings with Device Manager
3-3
3.2.1 Viewing Resource Settings with Device Manager
3-2
3.2 DSP-200/300 Resource Settings in Windows 95
3-1
3.1 Installing a DSP-200/300 Under Windows 95.
3-1
3 . Windows 95 Installation
2-14
2.2.2 Common Problems
2-10
2.2.1 Command Line Options
2-9
2.2 DSP-200/300 Enabler for DOS
2-8
2.1.3 Common Problems
2-3
2.1.2 Command Line Options
2-2
2.1.1 Client Driver Installation
2-2
2.1 DSP-200/300 Client Driver for DOS
2-1
2 . DOS / Windows 3.x Installation
1-1
1 . Introduction
..........................................
.......................
......................
...........................
............................
................................
...........................
...........................
...............................
..............................
..............
.............
.......
......
......................................
................................
........
..........
.....................
..........................................
............................
......
.................
................................
....................................
........................
...........
...........
..................................
.........................
DSP-200/300 User's Manual iii
Page 2
List of Figures
6-1
Figure 16. D-9 Female Signal Assignment.
.....................
6-1
Figure 15. DSP-200/300 Adapter Cable.
6-6
Figure 14. PCMCIA Configuration Options Register
5-5
Figure 13. RS-422/485 Driver Enable Options
5-4
Figure 12. RS-422/485 Termination
5-3
Figure 11. Auxiliary Channel Handshaking Disabled
5-2
Figure 10. Auxiliary Channel RTS-CTS Handshaking.
5-1
Figure 9. Interrupt Status Register.
5-1
Figure 8. Block Mode Addressing.
5-6
Figure 7. OS/2 Plug and Play GUI
3-7
Figure 6. Windows 95 Resource Allocation
3-6
Figure 5. DSP-200/300 Basic Configuration Table.
3-4
Figure 4. Windows 95 Device Manager
2-11
Figure 3. DOS Enabler Output Enable Options.
2-4
Figure 2. DOS Client Output Enable Options.
2-1
Figure 1. Client Driver versus Enabler for DOS/Windows 3.x.
........................
.....................
............................
............................
............................
............................
........................
....
..................
................
...............
...........
...........
...................
............
iii
Page 3
1. Introduction
The DSP-200/300 provides two independent RS-422/RS-485 asynchronous serial communications interfaces for systems equipped with PCMCIA Type II and/or Type III expansion sockets. The DSP-200/300 is a PCMCIA Type II (5 mm) card and is PCMCIA PC Card Standard Specification 2.1 compliant.
The DSP-200/300's serial ports are implemented using 16C550 Universal Asynchronous Receiver/Transmitters (UARTs) which are the recommended communications interface for multitasking environments and with applications involving high data transfer rates.
The RS-422/485 serial ports may be configured to operate in either the Full Duplex or Half Duplex mode; RTS or DTR may be used to enable the output drivers, or the RS-422/485 serial ports may be configured so that the output drivers are always enabled. Another option provided in the RS-422/485 serial ports is an RTS-CTS modem control handshake. This handshake may be enabled or disabled when the DSP-200/300 is configured.
The DSP-200/300's two serial ports are addressable in two modes:
1. 'Block Mode': The two serial ports are configured in one 16-byte continuous block of I/O address space. The block must begin on an even 16-byte division. Both serial ports share one IRQ level.
2. 'COM Mode': The two serial ports are configured at the standard COM port I/O address locations. The ports may be configured as COM1 and COM3; also, the ports may be configured as COM2 and COM4. Both serial ports share one IRQ level.
A special interrupt status register is also available to simplify the software required to service multiple serial ports in an interrupt driven environments. See the Hardware Information section for details on these topics.
DSP-200/300 User's Manual 1-1
Page 4
(This page intentionally left blank.)
1-2
Page 5
2. DOS / Windows 3.x Installation
Socket Services software
Services software (not from Omega)
Swapping)
host adapters
host adapter independent)
File type: DOS executable
File type: DOS device driver
File name: DSP200EN.EXE
File name: DSP200CL.SYS
Enabler (not recommended)
Client Driver (recommended)
Two configuration software programs are provided with the DSP-200/300: a Client Driver, DSP200CL.SYS, and a card Enabler, DSP200EN.EXE. Both of these programs are executed from DOS (before entering Windows) and allow operation of the DSP-200/300 in both the DOS and Windows 3.x environments. For optimal operation, however, the Client Driver is the preferred method of installation and configuration. The table below highlights the differences between these programs.
Interfaces to PCMCIA Card and Socket Services software (PCMCIA
Allows automatic configuration of DSP-200/300 adapters upon insertion (Hot Swapping)
Requires PCMCIA Card and Socket
Interfaces directly to Intel 82365SL and other PCIC compatible PCMCIA
Does not support automatic configuration of DSP-200/300 adapters upon insertion (Hot
Does not require PCMCIA Card and
Figure 1. Client Driver versus Enabler for DOS/Windows 3.x.
Card and Socket Services software is commercially available from several vendors for most desktop and laptop PCs. If you are unsure whether Card and Socket Services software is currently installed on your system, install the DSP-200/300 Client Driver as discussed in following section. When loaded, the Client Driver will display an error message if Card and Socket Services software is not detected.
DSP-200/300 User’s Manual 2-1
Page 6
2.1 DSP-200/300 Client Driver for DOS
version of Card and Socket Services may be required.
In order to use the DSP-200/300 Client Driver, the system must be configured with Card and Socket Services software. Card and Socket Services software is not provided with the DSP-200/300 but is not available from Omega.
IMPORTANT:
Some versions of Card and Socket Services dated before 1993 do not support general purpose I/O cards. If after careful installation of the Client Driver the DSP-200/300 does not configure or operate properly, an updated
2.1.1 Client Driver Installation
The following procedure is used to install the DSP-200/300 Client Driver:
1. Copy the file DSP200CL.SYS from the DSP-200/300 distribution diskette onto the system's hard drive.
2. Using an ASCII text editor, open the system's CONFIG.SYS file located in the root directory of the boot drive.
3. Locate the line(s) in the CONFIG.SYS file where the Card and Socket Services software is installed.
4. AFTER software, add the following line to the CONFIG.SYS file:
DEVICE = drive:\path\DSP200CL.SYS options
where options are the DSP-200/300 Client Driver command line options discussed on the following pages.
5. Save the CONFIG.SYS file and exit the text editor.
6. Insert the DSP-200/300 into one of the system's PCMCIA slots. NOTE: Since the DSP-200/300 Client Driver supports "Hot
Swapping", it is not necessary to have the DSP-200/300 installed when booting the system. By inserting the card before booting, however, the Client Driver will report the adapter configuration during the boot process thereby verifying the changes made to the CONFIG.SYS.
the line(s) installing the Card and Socket Services
2-2
Page 7
7. Reboot the system and note the message displayed when the DSP-200/300 Client Driver is loaded. If the Client Driver reports an "invalid command line option", correct the entry in the CONFIG.SYS file and reboot the system again. If the Client Driver reports "Card and Socket Services not found", a version of Card and Socket Services must be installed on the system or the DSP-200/300 Enabler program must be used to configure the adapter. If the Client Driver reports the desired adapter configuration, the installation process is complete and the DSP-200/300 may be removed and / or inserted from the system as desired. On each insertion into the PCMCIA socket, the DSP-200/300 will be automatically reconfigured according to the command line options.
2.1.2 Command Line Options
The DSP-200/300 Client Driver accepts up to eight command line arguments from the user to determine the configuration of the DSP-200/300. If any arguments are provided, the Client Driver will attempt to configure any DSP-200/300s with the options specified in the order they are entered on the command line. Each argument must be enclosed in parenthesis and must be separated from other arguments by a
on the command line. Within each argument, any or all of the
space
following parameters may be specified using a comma separate each parameter:
(no spaces) to
Baddress specifies a “block mode” base I/O address of the DSP-200/300
in hexadecimal. This address must reside on an even 16-byte (10H) boundary. This option must Dmode option. If both the Dmode and Baddress options are omitted, a “block mode” base address will be assigned by Card and Socket Services.
Dmode specifies a “COM” mode” base I/O address configuration for
the DSP-200/300. The D1 option configures the DSP-200/300 at COM1/COM3 (3F8 / 3E8), and the D2 option configures the DSP-200/300 at COM2/COM4 (2F8 / 2E8). This option must be omitted if using the Baddress option. If both the Dmode and Baddress options are omitted, a “block mode” base address will be assigned by Card and Socket Services.
DSP-200/300 User’s Manual 2-3
be omitted if using the
Page 8
Iirq specifies the interrupt level (IRQ) of the DSP-200/300 in
DTR Controlled
DTR Controlled
o4
RTS Controlled
RTS Controlled
o3
Always Enabled
DTR Controlled
o2
Always Enabled
RTS Controlled
o1
Always Enabled
Always Enabled
o0
Port B Output Driver
Port A Output Driver
Option
Hardware Information section for more information.
decimal. irq must be one of the following values: 3, 4, 5, 7, 9, 10, 11, 12, 14, 15, or 0 if no IRQ is desired. If this option is omitted, an interrupt level will be assigned by Card and Socket Services.
Ssocket specifies which PCMCIA socket the DSP-200/300 must be
inserted into for this configuration argument to be used. socket must be in the range 0 - 15. If this option is omitted, the configuration argument will apply to DSP-200/300s inserted into any socket.
Odriver specifies RS-422/485 output driver enable option for the
DSP-200/300 ports. The DSP-200/300’s ports may be configured for either full duplex or half duplex operation with this option. If this option is omitted, the default setting is the RS-422/485 ports are configured for full duplex operation with the RS-422/485 output drivers always enabled. In half duplex mode, the RS-422/485 transmitter may be enabled and disabled via the RTS (request to send) or DTR (data terminal ready) signals. Both RTS and DTR are controlled through the Modem Control Register of the 16550. See the Hardware Information section for more information.
H instructs the client driver to enable the RTS-CTS modem
2-4
Figure 2. DOS Client Output Enable Options.
control handshake for both Port A and Port B. When modem control handshaking in enabled, the 16C550 UART’s RTS and CTS signals are connected to the RS-422/485 auxiliary channel. The auxiliary channel may then be used for handshaking between a DSP-200/300 RS-422/485 port and a peripheral device. When modem control handshaking is disabled, the RTS and CTS signals from the 16C550 UART are looped back to each other. Port A and Port B must both be configured in the same manner. If this option is omitted, the default setting is RTS-CTS modem control handshake disabled. See the
Page 9
U instructs the Client Driver to disable the DSP-200/300's
interrupt status register and enable the Scratchpad registers of the individual UARTs. This option is only required in very rare cases where an application program requires access to the UART's Scratchpad register. If this option is omitted, the DSP-200/300's interrupt status register is enabled and the UARTs' Scratchpad registers are disabled.
.1.2.1 Example 1
2
DEVICE = C:\DSP-200\DSP200CL.SYS
In example 1, no command line arguments are specified. The Client Driver will configure a DSP-200/300 inserted into any socket in “block mode” with a base address and IRQ assigned by Card and Socket Services. The DSP-200/300's interrupt status register will be enabled, the RS-422/485 output drivers for both ports will always be enabled, and RTS-CTS modem control handshaking will be disabled.
.1.2.2 Example 2
2
DEVICE = C:\DSP-200\DSP200CL.SYS (d1)
In example 2, a single command line argument is provided. The Client Driver will attempt to configure a DSP-200/300 inserted into any socket in “COM mode” at COM1/COM3 and an IRQ assigned by Card and Socket Services. If address COM1 (3F8) or COM3 (3E8) are unavailable, the DSP-200/300 will not be configured. If the Client Driver can successfully configure the DSP-200/300, its interrupt status register will be enabled, the RS-422/485 output drivers for both ports will always be enabled, and RTS-CTS modem control handshaking will be disabled.
DSP-200/300 User’s Manual 2-5
Page 10
2.1.2.3 Example 3
DEVICE = C:\DSP-200 \DSP200CL.SYS (s0,b300,i5,o2)
In example 3, a single command line argument is provided. The Client Driver will attempt to configure a DSP-200/300 inserted into socket 0 with a base address of 300H and IRQ 5. If address 300H or IRQ 5 is unavailable, the DSP-200/300 will not be configured. In addition, if a DSP-200/300 is inserted into any other socket, it will not be configured. If the Client Driver can successfully configure the DSP-200/300, its interrupt status register will be enabled, the port A RS-422/485 output drivers will be enabled and disabled via the DTR signal, the port B RS-422/485 output drivers will always be enabled, and RTS-CTS modem control handshaking will be disabled.
.1.2.4 Example 4
2
DEVICE = C:\DSP-200 \DSP200CL.SYS (i5,h,u,b300)
In example 4, a single command line argument is provided. Because the parameter order is not significant, the Client Driver will attempt to configure a DSP-200/300 inserted into any socket with a base address of 300H and IRQ 5. If address 300H or IRQ 5 is unavailable, the DSP-200/300 will not be configured. If the Client Driver can successfully configure the DSP-200/300, its interrupt status register will be disabled (Scratchpad registers enabled), the RS-422/485 output drivers for both ports will always be enabled, and RTS-CTS modem control handshaking will be enabled on each ports auxiliary channel.
.1.2.5 Example 5
2
DEVICE = C:\DSP-200 \DSP200CL.SYS (b300,i5) (i10) ( )
In example 5, three command line arguments are provided. The Client Driver will first attempt to configure a DSP-200/300 inserted into any socket with a base address of 300H and IRQ 5. If address 300H or IRQ 5 is unavailable, the Client Driver will proceed to the second command line argument and attempt to configure the card with a base address assigned by Card and Socket Services and IRQ 10. If IRQ 10 is also unavailable, the Client Driver will proceed to the third command line argument and attempt to configure the DSP-200/300 with a base address and
an IRQ
assigned by Card and Socket Services. If the Client Driver can
2-6
Page 11
successfully configure the DSP-200/300, its interrupt status register will be enabled, the RS-422/485 output drivers for both ports will always be enabled, and RTS-CTS modem control handshaking will be disabled.
.1.2.6 Example 6
2
DEVICE = C:\DSP-200 \DSP200CL.SYS (b300,i5) ( ) (i10)
In example 6, the three command line arguments of example 5 have been rearranged. The Client Driver will first attempt to configure a DSP-200/300 inserted into any socket with a base address of 300H and IRQ 5. If address 300H or IRQ 5 is unavailable, the Client Driver will proceed to the second command line argument and attempt to configure the card with a base address and IRQ assigned by Card and Socket Services. Since the second command line argument includes all available address and IRQ resources, the third command line argument will never be reached by the Client Driver. It is the user's responsibility to place the command line arguments in a logical order.
.1.2.7 Example 7
2
DEVICE = C:\DSP-200\DSP200CL.SYS (s0,b300,i5) (s1,b340,i10)
The type of configuration shown in example 7 may be desirable in systems where more than one DSP-200/300 is to be installed. In this example, the Client Driver will attempt to configure a DSP-200/300 inserted into socket 0 with a base address of 300H and IRQ 5. If the DSP-200/300 is inserted into socket 1, the Client Driver will attempt to configure it with base address 340H and IRQ 10. This allows the user to force the DSP-200/300's address and IRQ settings to be socket specific which may simplify cable connections and software development. As in the previous examples, however, if the requested address or interrupt resources are not available, the DSP-200/300 will not be configured.
DSP-200/300 User’s Manual 2-7
Page 12
2.1.3 Common Problems
Generic Client Drivers:
Many Card and Socket Services packages include a generic client driver (or SuperClient) which configures standard I/O devices. If one of these generic client drivers is installed, it may configure the DSP-200/300 causing the DSP-200/300 client driver to fail installation. In these cases, the user should do one of the following:
1. modify the operation of the generic client driver to disable the configuration of modem/serial port cards. Consult the Card and Socket Services documentation for availability and details of this feature.
2. place the DSP-200/300 client driver before the generic client driver in the CONFIG.SYS.
Available Resources:
One function of the Card and Socket Services software is to track which system resources (memory addresses, I/O addresses, IRQs, etc.) are available for assignment to inserted PCMCIA cards. Sometimes, however, the Card Services software assumes or incorrectly determines that a particular resource is used when it is actually available. Most Card and Socket Services generate a resource table in a file (typically in the form of an .INI file) which the user can modify to adjust the available system resources. Consult the Card and Socket Services documentation for availability and details of this feature.
Multiple Configuration Attempts:
Some Card and Socket Services have a setting which aborts the configuration process after a single configuration failure (such as a request for an unavailable resource). The user should change this setting to allow for multiple configuration attempts. Consult the Card and Socket Services documentation for availability and details of this feature.
Older Versions of Card and Socket Services:
Some versions of Card and Socket Services dated before 1993 do not support general purpose I/O cards. If after careful installation of the Client Driver the DSP-200/300 does not configure or operate properly, an updated version of Card and Socket Services may be required. Card and Socket Services software is not available from Omega.
2-8
Page 13
2.2 DSP-200/300 Enabler for DOS
operation and with the device(s) it controls.
on how to exclude this memory region.
For systems that are not operating PCMCIA Card and Socket Services software, the DSP-200/300 DOS Enabler may be used to enable and configure the adapter. This Enabler, DSP200EN.EXE, will operate on any DOS system using an Intel 82365SL or PCIC compatible PCMCIA host adapter including the Cirrus Logic CL-PD6710 / 6720, the VLSI VL82C146, and the Vadem VG-365 among others.
IMPORTANT:
In order to use the DSP-200/300 Enabler for DOS, the system MUST NOT be configured with Card and Socket Services software. If a Card and Socket Services software is installed, the DSP-200/300 Enabler may interfere with its
The DSP-200/300 Enabler does not support automatic configuration of adapters upon insertion, more commonly referred to as "Hot Swapping". This means the adapter must be installed in one of the system's PCMCIA sockets before executing DSP200EN.EXE. If more than one adapter is installed in a system, the Enabler must be executed separately for each adapter. Furthermore, DSP200EN.EXE should be executed to release the resources used by the adapter before it is removed from the PCMCIA socket. Since PCMCIA adapters do not retain their configuration after removal, any adapter that is removed from the system must be reconfigured with the Enabler after re-inserting it into a PCMCIA socket.
IMPORTANT:
The Enabler requires a region of high DOS memory when configuring a DSP-200/300. This region is 1000H bytes (4KB) long and by default begins at address D0000H (the default address may be changed using the "W" option). If a memory manager such as EMM386, QEMM, or 386Max is installed on the system, this region of DOS memory must be excluded from the memory manager's control. Consult the documentation provided with the memory manager software for instructions
DSP-200/300 User’s Manual 2-9
Page 14
2.2.1 Command Line Options
To configure a DSP-200/300 in the system, the Enabler requires one command line argument from the user to determine the configuration of the card. This argument must be enclosed in parenthesis and within the argument, any or all of the following parameters may be specified using a
comma
Ssocket specifies which PCMCIA socket the DSP-200/300 must be
Baddress specifies a “block mode” base I/O address of the DSP-200/300
Dmode specifies a “COM” mode” base I/O address configuration for
(no spaces) to separate each parameter:
inserted into for this configuration argument to be used. socket must be in the range 0 - 15. This option is always required.
in hexadecimal. This address must reside on an even 16-byte (10H) boundary. Specify only one options: Baddress, Dmode, or ‘R’. Use of one of theses options is
always
the DSP-200/300. The ‘D1’ option configures the DSP-200/300 at COM1/COM3 (3F8 / 3E8), and the ‘D2’ option configures the DSP-200/300 at COM2/COM4 (2F8 / 2E8). Specify only
one
Use of one of theses options is always
required.
of the following three options: Baddress, Dmode, or ‘R’.
of the following three
required.
Iirq specifies the interrupt level (IRQ) of the DSP-200/300 in
decimal. irq must be one of the following values: 3, 4, 5, 7, 9, 10, 11, 12, 14, 15, or 0 if no IRQ is desired. This option is required if the 'R' option is not used.
Waddress specifies the base address of the memory window required to
configure the DSP-200/300. Set address = D0 for a memory window at segment D000, address = D8 for a memory window at segment D800, etc. Valid settings for address are C8, CC, D0, D4, D8, and DC. If this option is omitted, a memory window at segment D000 will be used.
Odriver specifies RS-422/485 output driver enable option for the
DSP-200/300 ports. The DSP-200/300’s ports may be configured for either full duplex or half duplex operation with this option. If this option is omitted, the default setting is the RS-422/485 ports are configured for full duplex operation with the RS-422/485 output drivers always enabled. In half duplex mode, the RS-422/485 transmitter may be enabled and
2-10
Page 15
disabled via the RTS (request to send) or DTR (data terminal
DTR Controlled
DTR Controlled
o4
RTS Controlled
RTS Controlled
o3
Always Enabled
DTR Controlled
o2
Always Enabled
RTS Controlled
o1
Always Enabled
Always Enabled
o0
Port B Output Driver
Port A Output Driver
Option
ready) signals. Both RTS and DTR are controlled through the Modem Control Register of the 16550. See the Hardware Information section for more information.
Figure 3. DOS Enabler Output Enable Options.
H instructs the enabler to enable the RTS-CTS modem control
handshake for both Port A and Port B. When modem control handshaking in enabled, the 16C550 UART’s RTS and CTS signals are connected to the RS-422/485 auxiliary channel. The auxiliary channel may then be used for handshaking between a DSP-200/300 RS-422/485 port and a peripheral device. When modem control handshaking is disabled, the RTS and CTS signals from the 16C550 UART are looped back to each other. Port A and Port B must both be configured in the same manner. If this option is omitted, the default setting is RTS-CTS modem control handshake disabled. See the Hardware Information section for more information.
U instructs the Enabler to disable the DSP-200/300's interrupt
status register and enable the Scratchpad registers of the individual UARTs. This option is only required in very rare cases where an application program requires access to the UART's Scratchpad register. If this option is omitted, the DSP-200/300's interrupt status register is enabled and the UARTs' Scratchpad registers are disabled.
Before removing a DSP-200/300 from its PCMCIA socket, the Enabler should be executed to free the system resources allocated when the card was installed. For this operation the Enabler provides on additional command line option:
R instructs the enabler to release the resources previously
allocated to the DSP-200/300. When the 'R' option is used, any settings specified by the 'B', 'I', 'U', and 'E' options are ignored.
DSP-200/300 User’s Manual 2-11
Page 16
2.2.1.1 Example 1
DSP200EN.EXE
In example 1, no command line argument is specified. The Enabler will report an error and display the proper usage of the command.
.2.1.2 Example 2
2
DSP200EN.EXE (s0,b300,i5)
In example 2, the Enabler will configure the DSP-200/300 in socket 0 with a base address of 300H and IRQ 5 using a configuration memory window at segment D000. The DSP-200/300's interrupt status register will be enabled, the RS-422/485 output drivers for both ports will always be enabled, and RTS-CTS modem control handshaking will be disabled.
.2.1.3 Example 3
2
DSP200EN.EXE (i10,h,u,b340,s1)
In example 3, the Enabler will configure the DSP-200/300 in socket 1 with a base address of 340H and IRQ 10 using a configuration memory window at segment D000. The DSP-200/300'S interrupt status register will be disabled (Scratchpad registers enabled), the RS-422/485 output drivers for both ports will always be enabled, and RTS-CTS modem control handshaking will be enabled on each ports auxiliary channel.
.2.1.4 Example 4
2
DSP200EN.EXE (s0,b300,i3,wd8)
In example 4, the Enabler will configure the DSP-200/300 in socket 0 with a base address of 300H and IRQ 3 using a configuration memory window at segment D800. The DSP-200/300's interrupt status register will be enabled, the RS-422/485 output drivers for both ports will always be enabled, and RTS-CTS modem control handshaking will be disabled
2-12
Page 17
2.2.1.5 Example 5
DSP200EN.EXE (o3,i5,b340,s1)
In example 2, the Enabler will configure the DSP-200/300 in socket 1 with a base address of 340H and IRQ 5 using a configuration memory window at segment D000. The DSP-200/300's interrupt status register will be enabled, the RS-422/485 output drivers on both ports will be enabled and disabled via the RTS signal , and RTS-CTS modem control handshaking will be disabled.
.2.1.6 Example 6
2
DSP200EN.EXE (s0,b300,i5,r)
In example 6, the Enabler will release the configuration used by the DSP-200/300 in socket 0 using a configuration memory window at segment D000. The base address and IRQ parameters are ignored and may be omitted.
.2.1.7 Example 7
2
DSP200EN.EXE (s1,r,wcc)
In example 7, the Enabler will release the configuration used by the DSP-200/300 in socket 1 using a configuration memory window at segment CC00.
DSP-200/300 User’s Manual 2-13
Page 18
2.2.2 Common Problems
Memory Range Exclusion:
The Enabler requires a region of high DOS memory when configuring a DSP-200/300. This region is 1000H bytes (4KB) long and by default begins at address D0000H (the default address may be changed using the "W" option). If a memory manager such as EMM386, QEMM, or 386Max is installed on the system, this region of DOS memory must be excluded from the memory manager's control. Consult the documentation provided with the memory manager software for instructions on how to exclude this memory region.
Furthermore, some systems use the high memory area for BIOS shadowing to improve overall system performance. In order for the Enabler to operate, any BIOS shadowing must be disabled in the address range specified for the configuration window. BIOS shadowing can usually be disabled through the system's CMOS setup utility.
Socket Numbers:
The Enabler requires the DSP-200/300'S socket number to be specified on the command line and the DSP-200/300 must be inserted into the socket before the Enabler is invoked. Some vendors number their sockets from 1 to N while other vendors number their sockets from 0 to N-1. For the DSP-200/300 Enabler, the lowest socket number in the system is designated socket 0.
Card and Socket Services Software:
In order to use the DSP-200/300 Enabler for DOS, the system MUST NOT be configured with Card and Socket Services software. If a Card and Socket Services software is installed, the DSP-200/300 Enabler may interfere with its operation and with the device(s) it controls. For systems configured with Card and Socket Services, the DSP-200/300 Client Driver is the recommended method of configuration.
2-14
Page 19
3. Windows 95 Installation
directory, those files will be used.
To allow easy configuration of the DSP-200/300, an Windows 95 "INF" configuration file has been written for the hardware. This configuration file supports the DSP-200/300 in both addressing modes: block mode and “com” mode. Additionally, the RTS-CTS modem control handshake option and the RS-422/485 output driver enable option for full and half duplex operation is supported.
3.1 Installing a DSP-200/300 Under Windows 95.
1. Insert the DSP-200/300 into any available PC Card socket.
2. The first time a new PC Card type is installed the New Hardware Found window opens. After this first installation Windows 95 will automatically detect and configure the card. If the New Hardware Found window does not open, then skip to the next section, “DSP-200/300 Resource Settings".
3. The New Hardware Found window provides several options to configure the DSP-200/300 card. Click the "Driver from Disk" option button. Click "OK" to continue.
4. An "Install from Disk" dialog box should appear. Insert the diskette with the "DSP2_300.INF" file, select the correct drive letter and path, and click "OK". Windows 95 will browse the path for the aforementioned files.
5. During the installation process, it may be required to supply the computer with the Windows 95 CD or installation diskettes. The DSP-200/300'S serial devices will require the file "SERIALUI.DLL". Insert the CD or diskette and click "OK".
IMPORTANT NOTE:
If the user already has these files installed on the computer, or if the installation disks are unavailable, it may not be necessary to supply the computer with the Windows 95 CD or installation diskettes. If prompted for the disks, click “OK”. A dialog box with an option to skip will appear. Click the “Skip” button and the files will not be installed. If these files exist in the windows system
DSP-200/300 User's Manual 3-1
Page 20
The DSP-200/300 PC Card should now be configured. The default configuration for the DSP-200/300 is a base address and IRQ assigned by Windows 95, the DSP-200/300's interrupt status register will be disabled, the 16C550 UART’s scratchpad registers will be enabled, the RS-422/485 output drivers for both ports will always be enabled, and RTS-CTS modem control handshaking will be disabled. In the future, Windows 95 will automatically recognize and configure the DSP-200/300 in this default configuration.
3.2 DSP-200/300 Resource Settings in Windows 95
Windows 95 maintains a registry of all known hardware installed within the computer. Inside this hardware registry Windows 95 keeps track of all the computer's resources, such as base I/O addresses, IRQ levels, and DMA channels. In the case of a PC Card (PCMCIA) type board, Windows 95 configures the new hardware using free resources it finds within the hardware registry, and updates the registry automatically.
To view and / or edit hardware devices in Windows 95 use the system Device Manager. To access Device Manager double click the System icon in the Windows 95 control panel, or click the My Computer icon on the Win95 desktop with the right mouse button and select Properties from the pull down menu. Consult Windows 95 on-line help for details on the use of the Device Manager.
Windows 95 handles the DSP-200/300 as a "parent/child device".
v The DSP-200/300 is the "parent device" and is listed under the
hardware class Multi-function Adapters in the device manager.
v Each serial port is a "child device" of the "parent device"
DSP-200/300. There are 2 child COM ports for the DSP-200/300 which are listed under the hardware class Ports (Com & LPT).
3-2
Page 21
3.2.1 Viewing Resource Settings with Device Manager
1. Start the Windows 95 Device Manager.
2. Double click on the hardware class Multi-function Adapters to list hardware devices in the class.
3. The DSP-200/300 “parent device” belongs to this hardware class. The device name for the DSP-200/300 is Omega DSP-200/300: 2 RS-422/RS-485 Serial Ports (see Figure 4. Windows 95 Device Manager).
4. Open the Properties dialog for the DSP-200/300 device, then click the Resources tab to view the Input/Output Range and Interrupt Request resource allocations. Examine and remember the Input/Output Range, then close the properties window.
5. Double click the hardware class Ports (Com and LPT). Two of the Logical COM Ports (COM2, COM4, etc.) listed in this class are the “child devices” of the DSP-200/300 “parent device”.
6. View the Properties dialog for each COM port and examine the Resources allocated to each port. Inside the Resource allocation window two of the COM ports will identify the Omega DSP-200/300: 2 RS-422/RS-485 Serial Ports as the parent device. The Input/Output Range and Interrupt Request resource allocations for these two COM ports will also match the resource allocations of the DSP-200/300 “parent device”.
7. Use the COM Port device names (COM2, COM4, etc.) to access any of the particular serial ports on the DSP-200/300. This name is required by a Windows 95 application when accessing a particular port.
DSP-200/300 User's Manual 3-3
Page 22
Figure 4. Windows 95 Device Manager
3.2.2 Changing Resource Settings with Device Manager
1. Start the Windows 95 Device Manager.
2. Double click on the hardware class Multi-function Adapters to list hardware devices in the class.
3. The DSP-200/300 “parent device” belongs to this hardware class. The device name for the DSP-200/300 is Omega
DSP-200/300: 2 RS-422/RS-485 Serial Ports.
4. Open the Properties dialog for the DSP-200/300 device, then click the Resources tab to view the Input/Output Range and Interrupt Request resource allocations. (see Figure 6. Windows 95 Resource Allocation)
3-4
Page 23
5. Several predefined Basic Configurations have been included for the DSP-200/300 (see Figure 5. DSP-200/300 Basic Configuration Table). The Basic Configurations provide many combinations of the operating modes and options listed below. See the Hardware Information section of this manual for complete descriptions.
v I/O address range and mode: The DSP-200/300 is addressable
in two modes: “block” mode and “COM” mode. When the DSP-200/300 is configured in “COM” mode, standard addresses for either COM1/COM3 or COM2/COM4 will be used. Addresses 3F8/3E8 are the standard addresses for COM1/COM3, and addresses 2F8/2E8 are the standard addresses for COM2/COM4. Some older applications are limited to using COM ports 1-4, in which case “COM” mode addressing is necessary. When the DSP-200/300 is configured in “block” mode, non-standard base addresses are used. Windows 95 enumerates any COM port at a non-standard address starting with COM5.
v RTS - CTS modem control handshaking: When modem control
handshaking is enabled, the 16C550 UART’s RTS and CTS signals are connected to the RS-422/485 auxiliary channel. The auxiliary channel may then be used for handshaking between a DSP-200/300 RS-422/485 port and a peripheral device. When modem control handshaking is disabled, the RTS and CTS signals from the 16C550 UART are looped back to each other.
v RS-422/485 output drivers enable option: The DSP-200/300’s
ports may be configured for either full duplex or half duplex operation with this option. The default setting is the RS-422/485 ports are configured for full duplex operation with the RS-422/485 output drivers always enabled. In half duplex mode, the RS-422/485 transmitter may be enabled and disabled via the RTS (request to send) or DTR (data terminal ready) signals. Both RTS and DTR are controlled through the Modem Control Register of the 16550.
When the Use Automatic Settings check box is enabled Windows 95 will attempt to configure the DSP-200/300 in the order listed in the Basic Configurations table.
DSP-200/300 User's Manual 3-5
Page 24
RTS Controlled
Enabled
350, 358
0029
RTS Controlled
Disabled
350, 358
0028
DTR Controlled
Enabled
350, 358
0027
DTR Controlled
Disabled
350, 358
0026
Always Enabled
Enabled
350, 358
0025
Always Enabled
Disabled
350, 358
0024
RTS Controlled
Enabled
340, 348
0023
RTS Controlled
Disabled
340, 348
0022
DTR Controlled
Enabled
340, 348
0021
DTR Controlled
Disabled
340, 348
0020
Always Enabled
Enabled
340, 348
001F
Always Enabled
Disabled
340, 348
001E
RTS Controlled
Enabled
290, 298
001D
RTS Controlled
Disabled
290, 298
001C
DTR Controlled
Enabled
290, 298
001B
DTR Controlled
Disabled
290, 298
001A
Always Enabled
Enabled
290, 298
0019
Always Enabled
Disabled
290, 298
0018
RTS Controlled
Enabled
120, 128
0017
RTS Controlled
Disabled
120, 128
0016
DTR Controlled
Enabled
120, 128
0015
DTR Controlled
Disabled
120, 128
0014
Always Enabled
Enabled
120, 128
0013
Always Enabled
Disabled
120, 128
0012
RTS Controlled
Enabled
110, 118
0011
RTS Controlled
Disabled
110, 118
0010
DTR Controlled
Enabled
110, 118
000F
DTR Controlled
Disabled
110, 118
000E
Always Enabled
Enabled
110, 118
000D
Always Enabled
Disabled
110, 118
000C
RTS Controlled
Enabled
2F8, 2E8
000B*
RTS Controlled
Disabled
2F8, 2E8
000A*
DTR Controlled
Enabled
2F8, 2E8
0009*
DTR Controlled
Disabled
2F8, 2E8
0008*
Always Enabled
Enabled
2F8, 2E8
0007*
Always Enabled
Disabled
2F8, 2E8
0006*
RTS Controlled
Enabled
3F8, 3E8
0005*
RTS Controlled
Disabled
3F8, 3E8
0004*
DTR Controlled
Enabled
3F8, 3E8
0003*
DTR Controlled
Disabled
3F8, 3E8
0002*
Always Enabled
Enabled
3F8, 3E8
0001*
Always Enabled
Disabled
3F8, 3E8
0000*
Output Drivers
Handshaking
Port Addresses
Basic
Configuration
DSP-200/300
RTS - CTS
RS-422/485
Figure 5. DSP-200/300 Basic Configuration Table.
* Indicates “COM” mode addressing. Addresses 3F8/3E8 are the standard addresses for COM1/COM3. Addresses 2F8/2E8 are the standard addresses for COM2/COM4. All other basic configurations use “block” mode addressing at
3-6
Page 25
non-standard base addresses. Windows 95 enumerates any COM port at a non-standard address starting with COM5.
DSP-200/300 User's Manual 3-7
Page 26
6. Select a Basic Configurations that displays "No conflicts" in the bottom display region titled Conflicting Device List from the drop down list. Some applications may not be able to access ports higher than COM4. To use the DSP-200/300 PCMCIA serial ports with these applications you might be forced to remove other serial communications devices from your system.
Figure 6. Windows 95 Resource Allocation
7. Windows 95 should have chosen an available Interrupt Request setting automatically when the I/O address range was configured by a Basic Configuration selection. This default Interrupt Request setting should not need changed as long as "No conflicts" is displayed in the bottom display region titled Conflicting Device List. If you are satisfied with Windows 95 selection then skip the next step.
3-8
Page 27
8. To modify the Interrupt Request setting click the resource name and click the Change Setting button. An Edit Resource window will open up. Inside this window click on the up/down arrows to the right of the Interrupt Request value. This scrolls you through all of the allowable resources for your hardware. Pay attention to the conflict information at the bottom of the window. Do not select a value that causes a conflict with any other installed hardware.
9. If any changes have been made to the DSP-200/300’s configuration the card will automatically be reconfigured to the new resources specified. Any time a PCMCIA card of this type is inserted Windows 95 will attempt to configure the card at these resource settings. Click the Use Automatic Settings box to reset this card type for automatic configuration.
DSP-200/300 User's Manual 3-9
Page 28
4. OS/2 Installation
In order to use the DSP-200/300 Client Driver for OS/2, the system must be configured as follows:
1. The system must be running OS/2 version 2.1 or later.
2. OS/2 PCMCIA Card and Socket Services support must be installed. If PCMCIA support was not selected when OS/2 was installed, it can be added using the Selective Install facility in the System Setup folder. On OS/2 2.1 and 2.11, Socket Services must be added separately. The necessary files can be found on Compuserve in the OS2SUPPORT forum and may be available elsewhere. These files are not available from Omega Engineering, Inc.
3. Omega's OS/2 serial port device driver, "QCOM" version 2.01 or later, must be installed. The DSP-200/300 will not with the standard OS/2 serial port device drivers. Omega Engineering, Inc. can not guarantee the operation of the DSP-200/300 with any other third party device drivers for OS/2.
operate
4. There must be at least 16 bytes of available I/O space and 1 available IRQ.
After the system has been configured to the above specifications, the DSP-200/300 Client Driver may be installed with the following procedure:
1. Copy the DSP200.SYS client driver file from the distribution disk to any convenient directory on the hard disk.
2. Open the CONFIG.SYS file using any ASCII text editor.
3. Add the following line to the CONFIG.SYS file:
DEVICE = drive:\path\DSP200.SYS options where options are the DSP-200/300 OS/2 Client Driver command line options discussed in the following sections.
4. Save the CONFIG.SYS file, exit the text editor, shutdown the system, and reboot to activate the changes.
4-1
Page 29
4.1 Command Line Options
The DSP-200/300 Client Driver for OS/2 supports two methods of configuration: using "system assigned" resources and using "user assigned" resources. Both options provide full PCMCIA compliance and functionality (including "Hot-swapping") but each has some advantages and disadvantages as discussed in the following sections.
4.1.1 Configuring With "System Assigned" Resources
Allowing the OS/2 Plug-and-Play system to assign the hardware resources to the DSP-200/300 is the ideal choice when only OS/2 programs will access the serial ports. When configuring the hardware, the user simply specifies a list of COM port numbers. When a DSP-200/300 is inserted into a PCMCIA socket, the client driver will configure the card as a series of COM ports, starting with the lowest available port number in the list.
Configuring a DSP-200/300 with system assigned resources can be a problem, however, if DOS and/or Windows applications will be accessing the serial ports. This is because most DOS applications write directly to the communications hardware and the Windows' Control Panel also wants to know the hardware configuration of the serial ports. In these cases, the user may want to configure the DSP-200/300 with "user assigned" resources.
.1.1.1 Example 1
4
DEVICE=C:\DSP-200\DSP200.SYS COM3
In example 1, the Client Driver will attempt to configure the DSP-200/300 as COM3 and COM4. If COM3 or COM 4 already exists in the system, the DSP-200/300 will not be configured. Furthermore, only one DSP-200/300 can be installed in this system.
.1.1.2 Example 2
4
DEVICE=C:\DSP-200\DSP200.SYS COM7 COM3
In example 2, the Client Driver will attempt to configure the DSP-200/300 as COM3 and COM4. If COM3 or COM4 already exists in the system, the Client Driver will attempt to configure the DSP-200/300 as COM7 and COM8. If COM7or COM8 already exist already exist in the system, the
DSP-200/300 User's Manual 4-2
Page 30
DSP-200/300 will not be configured. Up to two DSP-200/300s can be
the system, the DSP-200/300 will not be configured.
as COM3 and COM4 using I/O addresses 100-10F hex and IRQ 5. If
installed in this system.
4.1.2 Configuring With "User Assigned" Resources
As mentioned in the previous section, allowing the OS/2 Plug-and-Play system to assign the hardware resources to the DSP-200/300 is ideal for OS/2 programs but can be a problem if DOS and/or Windows applications will be accessing the serial ports. This is because most DOS applications write directly to the communications hardware and the Windows' Control Panel also wants to know the hardware configuration of the serial ports. For this reason, the DSP-200/300 Client Driver allows the user to request specific hardware settings using a series of command line arguments of the form
(port,address,irq)
port specifies the beginning COM port number address specifies the base I/O address of the DSP-200/300 in
hexadecimal and must reside on an even 16-byte (10H) boundary.
irq specifies the interrupt level (IRQ) of the DSP-200/300 in
decimal. irq must be one of the following values: 3, 4, 5, 7, 9, 10, 11, 12, 14, or 15.
Each argument must be enclosed in parentheses and must be separated from other arguments by a space argument, the parameters must be separated using a comma When a DSP-200/300 is inserted into a PCMCIA socket, the client driver will configure the card as a series of COM ports, starting with the lowest available port number in the list.
on the command line. Within each
(no spaces).
IMPORTANT:
If the user specified resources are in-use by other devices in
4.1.2.1 Example 1
DEVICE=C:\DSP-200\DSP200.SYS (3,100,5)
In example 1, the Client Driver will attempt to configure the DSP-200/300
4-3
Page 31
COM3 or COM4 already exists, or if the I/O address or IRQ resources are already in use, the DSP-200/300 will not be configured. Furthermore, only one DSP-200/300 can be installed in this system.
.1.2.2 Example 2
4
DEVICE=C:\DSP-200\DSP200.SYS (7,120,15) (3,300,4)
In example 2, the Client Driver will attempt to configure the DSP-200/300 as COM3 COM4 using I/O address 300-30F hex and IRQ 4. If COM3 or COM4 already exists, or if the I/O address or IRQ resources are already in use, the Client Driver will attempt to configure the DSP-200/300 as COM7 and COM8 using I/O address 120-12F hex and IRQ 15. If COM7 or COM8 already exists or if the I/O address or IRQ resources are already in use, the DSP-200/300 will not be configured. Up to two DSP-200/300s can be installed in this system.
4.1.3 Advanced Configuration Topics
For some applications, it may be desirable to specify the resources for one DSP-200/300 while allowing the OS/2 Plug-and-Play system to assign the hardware resources for any additional cards. This can be accomplished by mixing the configuration methods on the DSP-200/300 Client Driver command line
DEVICE=C:\DSP-200\DSP200.SYS (3,100,5) COM7
It is important to remember that when a DSP-200/300 is inserted into a PCMCIA socket, the client driver will configure the card as a series of COM ports, starting with the lowest available port number
in the list.
Another common application requirement is to have a DSP-200/300 inserted into socket 1 be configured as COM3 and COM4 while a DSP-200/300 inserted into socket 2 be configured as COM7 and COM8. This type of configuration is supported by appending a "=Sx" parameter
any command line argument.
after
DEVICE=C:\DSP-200\DSP200.SYS COM3=S1 COM7=S2
DEVICE=C:\DSP-200\DSP200.SYS (3,100,4)=S1 (7,300,3)=S2
DSP-200/300 User's Manual 4-4
Page 32
4.1.4 Options
The client driver supports the DSP-200/300’s hardware configuration options. It also allows a configuration to be tied to a particular socket. These options are specified on the “DEVICE=” statement line in CONFIG.SYS.
=HS enables RTS-CTS Hardware Handshake. The RTS signal will
be connected to AUXOUT and the CTS signal will be connected to AUXIN. This allows RTS-CTS hardware flow control to be used. If this option is omitted, the default setting is RTS-CTS hardware handshaking is disabled. When modem control handshaking is disabled, the RTS and CTS signals from the 16C550 UART are looped back to each other.
Example: DEVICE=x:\path\DSP200.SYS (3,110,4)=HS
=DTR use DTR to enable outputs on Port A. Outputs are enabled
when the DTR signal is not active. This allows half-duplex communication. By default, the outputs on port A are always enabled.
Example: DEVICE=x:\path\DSP200.SYS (15,110,5)=DTR
=RTS use RTS to enable outputs on Port A. Outputs are enabled
when the RTS signal is active. This allows half-duplex communication. By default, the outputs on port A are always enabled.
Example: DEVICE=x:\path\DSP200.SYS COM17=DTR
=BON Port B outputs always enabled. By default, the outputs on port
B obey the same control as port A. This option forces the port B outputs to always be active regardless of the state of Port A.
Example: DEVICE=x:\path\DSP200.SYS COM17=BON
4.1.5 Using Multiple Options
Multiple options on a configuration can be used simply by stacking the options together.
4-5
Page 33
Example: On COM3 and COM4, use RTS-CTS flow control and enable the transmitter outputs with the DTR signal. For COM5 and COM6, leave RTS and CTS in loopback, and leave the outputs enabled all the time.
DEVICE=x:\path\DSP200.SYS COM3=DTR=HS COM5
4.1.6 Applying Options to All The DSP-200/300 Cards
All options (except socket designation) can also be applied globally to all DSP-200s. Replace the ‘=’ option with a ‘/’ and place the option by itself on the command line. These options will override their ‘=’ counterparts.
Example
Always configure a DSP-200 in socket 1 as COM3 and COM4, and a DSP-200 in socket 2 as COM8 and COM9. In addition, connect RTS and CTS to AUXOUT and AUXIN respectively, on all ports, and use the DTR signal to enable the transmit outputs of all ports.
:DEVICE=x:\path\DSP200.SYS COM3=S1 COM8=S2 /HS /DTR
4.2 Monitoring The Status Of PCMCIA Cards
OS/2 Warp provides a utility called "Plug and Play for PCMCIA" that can be used to monitor the status of each PCMCIA socket. In OS/2 version
2.1, this utility is called "Configuration Manager". When a DSP-200/300 is inserted, the Card Type for the appropriate socket will display "Multi-Function". If the card is successfully configured, the Card Status will display "Ready". If the card cannot be configured, the Card Status will be "Not Ready". You can view the resources claimed by a configured card by double-clicking on that card's line in the window.
Figure 7. OS/2 Plug and Play GUI with properly configured DSP-200
DSP-200/300 User's Manual 4-6
Page 34
5. Hardware Information
Base Address + 8
Channel B
Base Address + 0
Channel A
channel
Intr A
Intr B000000D0D1D2D3D4D5D6D7
5.1 I/O Addressing Modes
The DSP-200/300's two asynchronous serial ports are implemented using 2 standard 16C550 UARTs. Each of these UARTs requires 8 bytes of I/O space. The DSP-200/300's serial ports are addressable in two modes:
1. 'Block Mode' : The two serial ports are configured in one 16-byte continuous block of I/O address space. The block must begin on an even 16-byte (10H) boundary (e.g. 300H, 310H, 320H, etc.).
Address assignmentDSP-200/300 RS-232
Figure 8. Block Mode Addressing.
2. 'COM Mode' : The two serial ports are configured at the standard COM port I/O address locations. The ports may be configured as COM1 and COM3; or as COM2 and COM4.
5.2 Scratchpad Register
Each 16C550 UART contains 8 I/O registers. The last of these registers, located at (Base address + 7), is referred to as the 'Scratchpad Register' and provides no functionality to the UART. In place of this Scratchpad Register, the DSP-200/300 implements an interrupt status register which can be accessed at (Base address + 7) of any UART.
Figure 9. Interrupt Status Register.
When one or more UARTs have interrupts pending, the associated bit(s) in the interrupt status register are set to logic 1. When all the pending interrupts have been serviced for a specific UART, its interrupt status bit will be cleared to logic 0 automatically. When all from all
UARTs have been serviced, the entire interrupt status register will return logic 0. The application program should not exit its interrupt service routine until all pending interrupts from all channels have been
the pending interrupts
5-1
Page 35
serviced (interrupt status register = 0) or no additional interrupts will be
Figure 10. Auxiliary Channel RTS-CTS Handshaking.
received.
If an application requires the UARTs' Scratchpad Registers, the interrupt status register can be disabled. Disabling the interrupt status register is supported by the DSP-200 configuration software, which is operating system dependent. Refer to the relevant operating system installation section for specific usage of this feature.
5.3 Auxiliary Channel Configuration
An auxiliary channel is provided which allows for handshaking between a DSP-200/300 RS-422/485 port and a peripheral device. This auxiliary channel may be configured in one of two ways:
v RTS-CTS handshake enabled. v handshaking is disabled.
Port A and Port B must both be configured in the same manner.
5.3.1 Auxiliary Channel: RTS-CTS Handshaking.
The RTS-CTS handshake may be enabled so that RTS (request to send) is the auxiliary output signal on AUX OUT+ (pin 1) and AUX OUT- (pin 6). Similarly, CTS (clear to send) is the auxiliary input signal on AUX IN+ (pin 5) and AUX IN- (pin 9). This configuration is shown below.
16C550
UART
TXD
RS-422/485
Drivers/Receivers
Driver
DATA OUT
+
-
RXD
DATA IN
Receiver
+
-
-RTS
AUX OUT
Driver
+
-
-CTS
AUX IN
Receiver
+
-
DSP-200/300 User's Manual 5-2
Page 36
5.3.2 Auxiliary Channel: Handshaking Disabled.
The DSP-200/300 RS-422/485 ports may be configured so that the RTS-CTS handshake is disabled. This is the default configuration. In this configuration, RTS and CTS from the 16C550 UART will be looped back to each other. In addition, the auxiliary output and input signals will be looped back to each other. This configuration is shown below:
16C550
UART
TXD
RS-422/485
Drivers/Receivers
Driver
DATA OUT
+
-
RXD
DATA IN
Receiver
+
-
-RTS
AUX OUT
Driver
+
-
-CTS
AUX IN
Receiver
+
-
Figure 11. Auxiliary Channel Handshaking Disabled
5-3
Page 37
5.4 Termination Resistors
No termination resistors are provided on the DSP-200/300 RS-422/485 ports. Both output and input signals are connected only to the external connector. Any termination which is required must be added externally.
RS-422/485 Receiver
+
Rt
-
RS-422/485 Receiver
+
Rt
-
RXD+
RXD-
AUXIN+
AUXIN-
Recommended Termination Resistor Values
RS-422 100 ohm 1/2W resistor
RS-485 60 ohms total resistance (120 ohms at each end)
Figure 12. RS-422/485 Termination
DSP-200/300 User's Manual 5-4
Page 38
5.5 Half Duplex Operation
the default mode.
configuration software and/or the operating system used. Each of these,
The DSP-200/300’s ports may be configured for either full duplex or half duplex operation. By default, the RS-422/485 ports are configured for full duplex operation with the RS-422/485 output drivers always enabled.
In half duplex mode, the RS-422/485 transmitter may be enabled and disabled via the RTS (request to send) or DTR (data terminal ready) signals. Both RTS and DTR are controlled through the Modem Control Register of the 16550.
3 Options:
Data Out
Half Duplex
-RTS
RS-422/485 Driver
+
-
-DTR
MUX
16C550
Active Low Output Enable
Aux Out
Full Duplex
RS-422/485 Driver
+
-
NOTE:
If RTS is selected as the signal to enable the output drivers, setting 'bit 1' of the Modem Control Register (to logic '1') will enable the output drivers and clearing 'bit 1' of the Modem Control Register (to logic '0') will force the outputs into a high impedance state.
One of these three options must be selected via software configuration. Full duplex operation is
Figure 13. RS-422/485 Driver Enable Options
Similarly, if DTR is chosen as the signal to enable the output drivers setting 'bit 0' of the Modem Control Register (to logic '1') will enable the output drivers and clearing 'bit 0' of the Modem Control Register (to logic '0') will force the outputs into a high impedance state. Selection of half duplex mode operation is dependent upon the
5-5
Page 39
however, ultimately control the half duplex mode by accessing the
the computer, and/or the peripheral equipment.
0 = block mode
Interrupt Status Register Enabled
1 = Port B output enable same as Port A.
(port B)
11 = Outputs always enabled (I/O Mode)
(This applies to both Port A and Port B.)
0 = Pulse Mode IRQ (500 ns)
operation of the card.
DESCRIPTION
BIT
PCMCIA Configuration Register on the DSP-200/300.
CAUTION:
When operating in half duplex mode, the transmitter output drivers must be
disabled before receiving and information. Failure to do so will result in two output drivers being connected together which may cause damage to the adapter,
5.6 PCMCIA Configuration Register
Some PCMCIA software utilities allow the PCMCIA Configuration Option Register to be examined. The PCMCIA Configuration Option Register of the DSP-200/300 is defined as follows:
4:3
2
SRESET7
LevlREQ6
ModemCntrl5
OutputEnA
(Port A)
OutputEnB
ScratchEn1
ConfigMode0
Setting this bit to a 1 resets all bits in the CIS except for this bit. This bit must be reset to 0 to allow
1 = Level Mode IRQ
1 = RTS- CTS handshake 0 = RTS-CTS loopback
00 = Outputs always enabled (Memory Mode) 01 = DTR used as output enable 10 = RTS used as output enable
0 = Port B outputs always enabled.
1 = Scratchpad Registers Enabled and Interrupt Status Register Disabled 0 = Scratchpad Registers Disabled and
1 = COM mode
Figure 14. PCMCIA Configuration Options Register
DSP-200/300 User's Manual 5-6
Page 40
6. External Connections
AUXIN-
9
DATAIN-
8
DATAOUT-
7
AUXOUT-
6
AUXIN+
5
DATAIN+
4
GND
3
DATAOUT+
2
AUXOUT+
1
FUNCTION
PIN
An adapter cable is included with the DSP-200/300 to convert the 25-pin output connector into 2 standard D-9 female connectors, data terminal equipment (DTE), as shown in the figure below.
Port A
Port B
Figure 15. DSP-200/300 Adapter Cable.
Figure 16. D-9 Female Signal Assignment.
6-1
Page 41
(This page intentionally left blank.)
DSP-200/300 User's Manual 6-2
Page 42
7. Specifications
Bus Interface PCMCIA
PC Card Standard 2.1 compliant
Physical Dimensions Type II PCMCIA card (5mm)
Maximum Baud Rate 120K
Power Requirements +5 volts 35.85 mA (typical)
45.87 mA (maximum)
Connector Adapter to 2 standard female D-9
7-1
Loading...