This manual covers the following B&B Electronics' model serial
cards:
RS-232 Serial Cards CE
232CC1A 232CC1B
232CC2A 232CC2B
Documentation Number 232CCxx4502
Each of these models is an RS-232 serial card and uses the same printed circuit
board. The "1" and "2" suffix designates the number of ports on the card. The model
number of the card is printed on a sticker on the board.
This product designed and manufactured in Ottawa, Illinois USA
of domestic and imported parts by
International Headquarters
B&B Electronics Mfg. Co. Inc.
707 Dayton Road -- P.O. Box 1040 -- Ottawa, IL 61350 USA
Phone (815) 433-5100 -- General Fax (815) 433-5105
Home Page: www.bb-elec.com
Sales e-mail: orders@bb-elec.com
Technical Support e-mail: support@bb-elec.com
-- Fax (815) 433-5109
-- Fax (815) 433-5104
European Headquarters
B&B Electronics Ltd.
Westlink Commercial Park, Oranmore, Co. Galway, Ireland
The B&B Electronics’ 232CC series RS-232 serial interface
cards are designed for the IBM PC, XT, AT and compatibles. Ports
are configured as a standard DTE device, and connections are
made on 9-pin D-style connectors.
The 232CC cards offer exceptional setup flexibility. The 232CC
series has the ability to use any I/O address and any hardware
interrupt. You can install as many serial ports as will physically fit in
a machine. To use one of the “non-standard” addresses or
interrupts, the serial software used must also offer that flexibility. If
you are writing your own application, be sure the communications
routines used support any address and IRQ. B&B Electronics’
SimpCom Communications Drivers support these features.
Features
Switch selectable addresses, from 0 to hex 3F8, including
The following steps will help you install the Model 232CCXX Serial
Card. Please follow (step-by-step) the numbered instructions and
refer to any corresponding chapters for more details.
CAUTION: Electrostatic Sensitive Device.
Use ESD precautions for safe handling.
Before removing the card from the anti-static protective packaging:
• Discharge any static electricity build-up on your body by
touching a large grounded metal surface or the metal chassis
on equipment connected to earth ground by a 3-wire power
cord.
• Avoid touching the gold connectors or other parts on the card
except as necessary. After setting the jumper, ground yourself
to the computer chassis before and while inserting the card.
• Remove AC power from the computer and unplug the power
cord before inserting the card.
• Retain the ESD bag for handling the card. Save the packaging
for storage or shipping.
1. Make sure you have an available ISA slot for installing your
B&B Electronics Serial Card. You may have to remove the
cover of your PC.
2. Determine what addresses and IRQ’s are free to use on your
PC by checking your operating system for unused addresses
and IRQ’s. Each port uses eight I/O address spaces starting at
the base address that you select. Each port I/O address and
interrupt request (IRQ) must be set as well. See “Checking
Device Manager for Available Address/IRQ’s” in Chapter 3 for
your operating system. Refer to Chapter 4 (Table 3) for
frequently unused I/O addresses and IRQ’s. Write down the
address and IRQ you select to use. Do not physically install the
ISA card at this point.
3. Add New Hardware – This consists of adding a port or ports to
your operating system. See “Adding Serial Ports” in Chapter 3
for specific instructions for your operating system.
Documentation Number 232CCxx45023
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
Find a free IRQ in the displayed list. Any number that is seen on
the left hand side of this screen is an IRQ that is currently being
used. The object is to find a number of IRQ(s) that are not listed
and set your port(s) using those IRQ’s.
Left-click on Input/Output (I/O).
6Documentation Number 232CCxx4502
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
Scroll through the list, check 03F8H, 02F8H, 03E8H, 02E8H. If
one of these is available, use it. If not, check alternates.
Find a free address in the list. Most desktop PC’s have a COM1
and possibly a COM2 already on their system which will be seen in
the list. You might have to start at COM3 or COM4 to begin
addressing the ISA card. If these addresses are used you may have
to resort to the Frequently Unused Port Addresses (found in
Chapter 4, Table 3) of this manual. Write these open addresses and
IRQ’s down for later reference.
Documentation Number 232CCxx45027
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
The next screen will show the address and interrupt request of
the port. These may not match your configuration. For now, simply
click Next. Windows may ask for the Windows 95/98 disk/CD to be
inserted.
Finally, click Finish.
12Documentation Number 232CCxx4502
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
Click off (check mark out of box) Use Automatic Settings.
Select Basic Configuration 0007 (or last one).
Select Input / Output Range.
Click Change Setting.
Change Address to match the free address settings you found
earlier.
Click OK.
Select Interrupt Request.
Click Change Settings.
Change IRQ to match the free IRQ settings you found earlier.
At this point you can shut down the system and physically install
your B&B Electronics Serial Card into an available ISA slot. Double
check to make sure the addresses and IRQ’s on the Serial Card are
set to the correct settings.
Documentation Number 232CCxx450215
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
Checking Windows NT Diagnostics for Available
Address/IRQ’s (Windows NT 4.0)
Click on Start / Programs / Administrative Tools / Windows NT
Diagnostics.
Left-click on Resources.
Find a free IRQ in the following list. Any number that is seen on
the left hand side of this screen is an IRQ that is currently being
used. The object is to find a number of IRQ(s) not listed and set
your port(s) using those IRQ’s.
Left-click on I/O Port in Resources. Tab to view currently used
addresses.
16Documentation Number 232CCxx4502
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
Scroll through the list, checking 03F8H, 02F8H, 03E8H, 02E8H.
If one of these is available, use it. If not, check alternates.
Find a free address in the list. Most desktop PC’s have a COM1
and possibly a COM2 already on their system, which will be seen in
the list. You may have to start at COM3 or COM4 to start your
addressing of the ISA card you have. If these addresses are used
you may have to resort to the Frequently Unused Port Addresses
(found in Chapter 4, Table 3) of this manual. Write these open
addresses and IRQ’s down for later reference.
Documentation Number 232CCxx450217
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
Choose COM Port Number, Base I/O Address, and IRQ that
you want to use for the new Serial Port(s) being added.
After clicking OK, you will see a screen – System Setting
Change. Click the button Restart Now to restart Windows NT 4.0.
At this point you can shut down the system and physically install
your B&B Electronics Serial Card into an available ISA Slot. Double
check to make sure the addresses and IRQ’s on the Serial Card are
set to the correct settings.
18Documentation Number 232CCxx4502
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
Double-click on Input/Output. Find an unused address to set your
B&B Electronics serial card to.
Scroll through the list, checking 03F8H, 02F8H, 03E8H, 02E8H.
If one of these is available, use it. If not, check alternates.
Find a free address in the list. Most desktop PC’s have a COM1
and possibly a COM2 already on their system, which will be seen in
the list. You may have to start at COM3 or COM4 to begin
addressing the ISA card that you have. If these addresses are used
you may have to resort to the Frequently Unused Port Addresses
(found in Chapter 4, Table 3) of this manual. Write these open
addresses and IRQ’s down for later reference.
22Documentation Number 232CCxx4502
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
At this point you can shut down the system and physically install
your B&B Electronics Serial Card into an available ISA Slot. Double
check to make sure the addresses and IRQ’s on the Serial Card are
set to the correct settings.
30Documentation Number 232CCxx4502
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
A Windows PC has I/O port addresses and memory addresses.
Some devices use both types of addresses. I/O port addresses
have a 64K address space. Devices may decode all 16 address bits
or only some of the lower bits. Traditionally, serial cards have only
decoded 10 bits of the address bus. Recently this has begun to
cause address conflicts with full 16 bit decoded devices, most
notably between video cards and COM 4. B&B has solved these
conflicts by decoding all 16 bits of the ISA address bus. Address
settings in our ISA bus serial cards is set by DIP switches (selecting
bits 11-4) or jumpers.
CAUTION : Electrostatic Sensitive Device.
Use ESD precautions for safe handling.
B&B Electronics 232CC cards are factory configured for COM1
IRQ4, and COM2 IRQ3 (2-port models). If you plan to install the
232CC as standard COM1 and COM2, you may leave the address
and IRQ set to the factory defaults.
The 232CC cards use a 7-position DIP switch to program the
binary I/O address of each port on the card. Figure 1 is a drawing of
the printed circuit board that shows the locations of the setup
switches and jumpers on the 232CC cards.
Documentation Number 232CCxx450231
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
When setting the address (via the dipswitch) use the silkscreen
on the printed circuit board. This silkscreen shows a “1” and a “0” -referring to the “on and “off” states that each switch is set to. Switch
S1 configures port one (labeled J1) and, on two port cards, switch
S2 configures port two (labeled J2). Least significant bit (LSB) and
most significant bit (MSB) are labeled on the card. Table 1 shows
the numerical weight and electrical connection of each switch
position. Refer to Table 2 for COM Port addresses. Table 3 shows
frequently unused port addresses for applications when COM Port
addresses 1-4 are already used.
Table 1. Address Switches
SwitchPosition7654321
Bus ConnectionSA9SA8SA7SA6SA5SA4SA3
Decimal Weight5122561286432168
Hex Weight200100804020108
To install the 232CC card as COM1, 2, 3, or 4, follow the switch
settings shown in Table 2. To install at another address, follow the
switch settings shown in Table 3.
7654321
20010000000001000000game port
20810000010001000001game port
30011000000001100000prototype
30811000010001100001prototype
31011000100001100010prototype
31811000110001100011prototype
38011100000001110000SDLC
38811100010001110001SDLC
3A011101000001110100bisync com
3A811101010001110101bisync com
Interrupt Jumper Setup
The IRQ is a hardware Interrupt Request line in an ISA Bus
expansion slot on a PC or AT compatible computer. The 8 bit PC
ISA slot has 8 interrupts, the 16 bit slot has another 7 since one of
thefirst8isusedtolinkintheremaining8.TheIRQisusedby
devices to request immediate service by the main microprocessor.
When the IRQ line is set, the microprocessor stops whatever it’s
doing, saves status, checks which line was set, then jumps to code
to handle the interrupt. The processor then clears the interrupt and
returns to what it was doing before. IRQ lines are set by the internal
timer, keyboard, hard drive controller, PCI, USB controller, sound
card, serial ports, printer and more.
The 232CC cards allow the use of interrupts (IRQ) 2, 3, 4, 5, 6,
7, 10, 11, 12, 14, and 15. Table 4 shows the standard serial port
IRQ settings. NOTE: If two ports use the same IRQ setting, both
ports cannot use the serial port at once. Only one port at a time may
communicate.
Table 4. Standard IRQ Settings
COM1IRQ4
COM2IRQ3
COM3IRQ4
COM4IRQ3
34Documentation Number 232CCxx4502
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
This chapter will cover all of the jumper settings to set your B&B
Serial Card for the proper communications that you desire.
CAUTION : Electrostatic Sensitive Device.
Use ESD precautions for safe handling.
High Speed Mode
The 232CC Serial has only two communication jumpers
referring to clock speed. High data rates may be obtained with the
232CC cards by placing JP1 or JP2 in the *2 position. This
multiplies the clock speed supplied to the UARTs by 2 times to
3.684MHz for Ports 1 and 2 respectively, allowing data rates up to
230.4 KBaud. Note that serial software is not aware of the change
in oscillator frequency. For example, with JP5 in the *2 position,
setting the baud rate to 115.2 KBaud in software will result in a
actual baud rate of 230.4 KBaud. It is also important to realize that
simply increasing the baud rate may not increase actual throughput.
Often, due to the computer’s inability to respond to interrupts quickly
enough, there will be large idle spaces between characters.
Increasing the baud rate to this point will reduce allowable cable
length, and increase the potential for data errors.
Documentation Number 232CCxx450235
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
This chapter will cover 232CC pinout, communication cable
data, and troubleshooting information.
Pinouts
The 232CC Serial Cards are wired as DTE (Data Terminal
Equipment) devices. The 232CC Serial Cards can be connected
directly to DCE (Data Communication Equipment) devices with a
straight through cable. If you need to connect two DTE devices, you
will need a null modem cable or cross-over cable.
PinNameDescriptionDirection
1DCDData Carrier Detectinput
2RDReceive Datainput
3TDTransmit Dataoutput
4DTRData Terminal Readyoutput
5GndSignal Ground------
6DSRData Set Readyinput
7RTSRequest to Sendoutput
8CTSClear to Sendinput
9RIRing Indicatorinput
Table 5. Pinout Description
Communication Cable Data
The 232CC Serial Card communicates using RS-232
communications only. The communication cable specifications are
24AWG (wire gauge) and 30pF/ft. (capacitance rating). B&B
Electronics can provide this communication cable, Model ETC8195.
36Documentation Number 232CCxx4502
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
If you are unable to communicate with the card from your software:
1. Consult your software manual to make sure it supports the
address and interrupt that you have configured.
2. Double check that the address and interrupt are properly set.
3. Try another software package for troubleshooting. Download
SimpTerm (DOS Terminal Emulator) or Comtest (Windows
Terminal Emulator) from B&B Electronics’ web site. SimpTerm
and Comtest are shareware Simple Terminal Emulators which
can be used to vary the setup of any serial card. Both can be
downloaded from the following site location:
http://www.bb-elec.com/support.asp
4. Troubleshooting with a Loopback Test.
Load Simpterm or Comtest on the test PC. When loading
Simpterm you must set up the port address and IRQ you have set
on the B&B Electronics serial card.
Jumper TD to RD on the DB9 male connector located on the
serial card. You may have to make a “loopback connector” in order
to do this. This is done by jumpering pin 2 and pin 3 of a DB9
female connector and plugging it into the DB9 male port on the
serial card.
To test the RS-232 handshake lines you can also jumper RTS
to CTS and DTR to DSR. When you raise the RTS line you should
see CTS also go high. When you raise the DTR line you should see
DSRalsogohigh.
Send data from the Serial Port (B&B Electronics serial card) and
see if the data is echoed back to the port. When a character is typed
on the keyboard you must see a duplicate character after the first
character to verify that the same character was received. Perform
this test on all ports of your serial card to verify the ports can (or
cannot) transmit and receive data.
5. Call B&B Electronics' Technical Support at the number/s shown
below:
International/USA Office:
(815) 433-5100, 8a.m. - 5:00 p.m. weekdays (Central USA Time).
European Office:
+353 91-792444, 8a.m. – 4:30 p.m. weekdays (UK).
Documentation Number 232CCxx450237
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
Hex AddressAddress Function in XT Class Machines
000-00FDMA controller (8237A)
020-021interrupt controller (8259A)
040-043timer (8253)
060-063PPI(8255A)
080-083DMA page register (74LS612)
0A0-0AFNMI - non maskable interrupt
200-20Fgame port joystick controller
210-217expansion unit
2E8-2EFCOM4 serial port
2F8-2FFCOM2 serial port
300-31Fprototype card
320-32Fhard disk
378-37Fparallel print
380-38FSDLC
3B0-3BFMDA - monochrome adapter and printer
3D0-3D7CGA - color graphics adapter
3E8-3EFCOM3 serial port
3F0-3F7floppy diskette controller
3F8-3FFCOM1 serial port
Documentation Number 232CCxx4502Appendix A: Hardware I/OA-1
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
Hex AddressAddress Function in AT Class Machines
000-01FDMA controller #1 (8237A-5)
020-03Finterrupt controller #1 (8259A)
040-05Ftimer (8254)
060-06Fkeyboard (8042)
070-07FNMI - non maskable interrupt & CMOS RAM
080-09FDMA page register (74LS612)
0A0-0BFinterrupt controller #2 (8259A)
0C0-0DFDMA controller #2 (8237A)
0F0-0FF80287 math coprocessor
1F0-1F8hard disk
200-20Fgame port joystick controller
258-25FIntel Above Board
278-27Fparallel printer port 2
2E8-2EFCOM4 serial port
2F8-2FFCOM2 serial port
300-31Fprototype card
378-37Fparallel printer 1
380-38FSDLC or bisync com 2
3A0-3AFbisync com 1
3B0-3BFMDA - monochrome adapter
3BC-3BEparallel printer on monochrome adapter
3C0-3CFEGA - reserved
3D0-3D7CGA - color graphics adapter
3E8-3EFCOM 3 serial port
3F0-3F7floppy diskette controller
3F8-3FFCOM1 serial port
Any eight-byte space not used by one of the devices listed in
the table and not used by any other equipment in your system may
be used for the serial port.
A-2Appendix A: Hardware I/ODocumentation Number 232CCxx4502
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
Manufacturer’s Name:B&B Electronics Manufacturing Company
DECLARATION OF CONFORMITY
Manufacturer’s Address:P.O. Box 1040
Model Numbers:232CC1A, 232CC1B, 232CC2A, 232CC2B
Description:RS-232 Serial Cards
Type:Light industrial ITE equipment
Application of Council Directive: 89/336/EEC
Standards:EN 50082-1
William H. Franklin III, Director of Engineering
707 Dayton Road
Ottawa, IL 61350 USA
EN 61000 (-4-2, -4-3, -4-4, -4-6)
Documentation Number 232CCxx4502Declaration of ConformityB-1
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104