5558/5554 READ.ME file ---------------------- This floppy contains two directories C and QB45. --------- C++ -------------------------------- The C directory contains Borland C++ source, include and executable files which build a test that verifies the 5554/5558 is working. You may run the test by typing: 5558TST By default the test assumes the boards base address is 100h and the one interrupt for the board is IRQ7. It also defaults to using the internal loopback test which does not require external hardware (ie. loopback connectors). It defaults to RS485 on ports 3-4. These options, plus several others may be changed via the command line. To get a menu of all the command line options type: 5558TST /? The 5558TST is fully interrupt driven and much of the source can be included in your application when using the 5554/5558 card. Default jumper settings to run 5558TST (with test defaults). For 5558: W1[9-10] W2[1-3] W3[1-2] W4[1-2][3-4] W5[1-3][2-4][9-11][10-12][13-15][14-16] For 5554: W1[9-10] W3[2-3] W4[1-2][3-4][5-6] W5[1-3][2-4][9-11][10-12][13-15][14-16] -------- QB45 -------------------------------- The QB45 directory contains source and executable files for a simple QuickBasic v4.5 test using the 5554/5558 card. This test requires a serial cable connected from each test port(s) on the 5554/5558 to serial port(s) on another system. The test asks for the board address (enter 100 for 100H), the baud rate (it defaults to no parity, 8 data bits and 1 stop bit) and then asks whether ports 3-4 are rs485. The program then waits to receive characters from all ports on the 5554/5558. Each character received will be echoed to the console in the format pp-cc where pp is the port, and cc is the ascii character. To go on to the transmit test, send a space to the console. The test then sends out the test string "COMn" on each port, where n is the port. To execute the test type: 5554QB The source code contained in 5554QB.BAS can be used for simple communications applications. NOTE: This QB4.5 code is polled, not interrupt driven. Therefore receiving characters on several ports at higher baud rates may overrun the 16 byte FIFO included in the serial chips. Default jumper settings to run 5554QB. For 5558: W1[1-3] W2[1-3] W3[1-2] W4[1-2][3-4] W5[1-3][2-4][9-11][10-12][13-15][14-16] For 5554: W1[1-3] W3[2-3] W4[1-2][3-4][5-6] W5[1-3][2-4][9-11][10-12][13-15][14-16] ===================== Test Connectors ====================================== 5558TST RS232 loopback connector (not provided) ----------------------------------------------- pin 3 (Receive data) - pin 5 (Transmit data) pin 7 (DTR) - pin 2(DSR), pin 1(DCD) and pin 8 (RI) pin 4 (RTS) - pin 6(CTS) 5558TST RS485 2 wire loopback connection (not provided) ------------------------------------------------------- (T+) - (R+) (T-) - (R-) (G) - not connected 5554QB connector (not provided) ------------------------------- For RS232, minimum cabling requires the Receive data line and the Transmit data line swapped to the receive system. Ie. 5554/5558 AT-9pin 25pin pin 3 (RXD) ------------<------------- (TXD) pin 3 pin 2 pin 5 (TXD) ------------>------------- (RXD) pin 2 pin 3 Note: A null-modem device will swap these lines correctly. For RS485, see users manual for possible 485 connections. ========================= Board pinouts ==================================== Pinouts for J1-J8 (RS232 connections) ---------------------------------------- Pin Function Direction 1 DCD In 2 DSR In ----------- 3 RXD In arrow on connector -> > 1 2 | 4 RTS Out | 3 4 | 5 TXD Out notch on connector -> ] 5 6 | 6 CTS In | 7 8 | 7 DTR Out | 9 10 | 8 RI In ----------- 9 GND In 10 +5V Out Pinouts for P2, P3 (RS485) -------------------------- ------- T+ Transmit plus | T+ |---- T- Tranmit minus | T- |---- R+ Receive plus | R+ |---- R- Receive minus | R- |---- G Ground | G |---- ------- See the 5554/5558 manual for more information.