Page 2
Disclaimers The information in this manual has been carefully checked and is believed to be accurate. AXIOMTEK Co., Ltd. assumes no responsibility for any infringements of patents or other rights of third parties which may result from its use. A X I O M T E K assumes no responsibility for any inaccuracies that may be contained in this document.
ESD Precautions Integrated circuits on computer boards are sensitive to static electricity. To avoid damaging chips from electrostatic discharge, observe the following precautions: n Do not remove boards or integrated circuits from their anti-static packaging until you are ready to install them. n Before h andling a board or integrated circuit, touch an unpainted portion of the system unit chassis for a few seconds.
Page 4
Do not attempt to apply power to the board if there is damage to any of its components. Trademarks Acknowledgments AXIOMTEK is a trademark of AXIOMTEK Co., Ltd. IBM is a registered trademark of International Business Machines Corporation.
RS -422/485 serial interfaces, is a PC/104 form-factor universal PC/104 bus module that plugs directly into PC/104 carrier module. The AX10445 Series permits higher data rates and longer cable lengths of asynchronous communications than RS -232 do. Complete...
AX10445 Module Series User’s Manual You could fully integrate your PC with the AX10445 Series by simply plugging it in a PC/104 expansion bus. If the two standard serial ports (COM1 and COM2) are used, then no certain control code will be needed for AX10445.
AX10445 Module Series User’s Manual 1.3 Specifications Dimension: 95mm (3.74inch) X 90mm Baud rate: 50 – 56,000bps Clock input: 1.8432MHz Interrupt level: IRQ 3, 4, 5, 7, 10, 11, 12 I/O connection: Dual 9- pin D type male connectors Transmitter: D e v i c e : S N 7 5 1 7 2 o r e q u i v a l e n t High level voltage: 3 .
Page 10
AX10445 Module Series User’s Manual This page does not contain any information.
AX10445 Module Series User’s Manual C h a p t e r 2 Setting up the AX10445 WARNING Before connecting or disconnecting any cable on the AX10445 module series, you should always TURN OFF the PC. Here are some things you must make sure before installing the AX10445 module series: It is not allowed to have two cards or more with the same I/O port base address.
AX10445 Module Series User’s Manual 2.2 DIP S witches (Base Address Selection) The AX10445 interface module is controlled through the I/O port. The I/O port base addresses are selected via DIP switches. To help you locate the DIP switches (on this board there are two DIP switches for Channel #1 and Channel #2 respectively), refer to the location diagram in Appendix A and Appendix B.
AX10445 Module Series User’s Manual Base Address Connect 200 – 207 208 – 20F 2E8 – 2EF C O M 4 2F0 – 2F7 2F8 – 2FF C O M 2 * 2 3E8 – 3EF C O M 3 3F0 –...
AX10445 Module Series User’s Manual 10 11 12 7 5 4 3 CH #1 (COM1) CH #2 (COM2) Figure 1 Factory Setting of JP9 WARNING: Refer to Appendix E for the IRQ Map. 2.3.2 JP5, JP8 (RS422/4 85 mode selection) The AX10445 module series supports two types of data transmissions: RS422 and RS485.
In such cases, it is necessary to take off these jumper’s caps. 2.3.4 JP6 & JP7 (Enable/Disable) The AX10445 Series supports enable/disable module operation. When JP7 (JP6) is set as Short 1-2 position, CH#1 (CH#2) is enabled for use.
AX10445 Module Series User’s Manual 2.4 Pin Assignments Electrical signal assignments for the two 9-pin D-type or two 10-pin pin header connectors are described in this section. RTS- RTS+ CTS+ CTS- 9- pin D type TX - RTS - RTS+ CTS + RX - CTS -...
Page 17
AX10445 Module Series User’s Manual Control signals such as RTS and CTS are used to coordinate the transmission and reception of data, and the term handshaking is used to describe it. A brief description of the functional characteristics of each signal line follows: 1.
AX10445 Module Series User’s Manual 2.5 Signal Wirings RS -422 and RS -485 are new standards intended to succeed the popular RS -232. RS -422 and RS -485 still preserve most of the signals specified in RS -232. However the signal wirings are different.
AX10445 Module Series User’s Manual C h a p t e r 3 Technical Reference 3.1 UART Register Description This section contains a brief description of the programmable registers based on the settings of the DIP switches. In data transmissions from one device to another, an asynchronous serial communication is preferred.
For more information, please refer to the data book. There are seve n physical registers in the UART (which plays an important role in the AX10445 Series), as illustrated in Figure 4. A brief information of each register will be given below.
Page 23
AX10445 Module Series User’s Manual used to set up the parameters such as (LCR) Base Address +3 wordlength, number of stop bits, parity and baud rate. To generate the desired baud rate, first set DLAB to 1. Load the low and the high bytes of a divisor into the receiver buffer and the interrupt enable registers, respectively.
Page 24
AX10445 Module Series User’s Manual Receiver Buffer/Transmit Holding Register Base Address bit 7 bit 0 (COM1 - 3F8 data data COM2 - 2F8) Interrupt Enable Register Transmit Base Address +1 : Receive Receive Modem Holding Data Line Reg. Status Available Status Empty Interrupt Identification Register...
AX10445 Module Series User’s Manual 3.2 About EIA RS-422/485 As the constraints on RS -232C extend only up to a distance of 50 feet, and at speed up to 19200 baud, a better standard for serial communication was needed. Such requirement initiated the development of the new RS -422/485 standard that permits higher data rates and longer cabling distances.
Page 26
AX10445 Module Series User’s Manual Figure 5 illustrates the serial interface circuits for RS -232, RS -422 and RS -485. Although the transmission speed and distance increase greatly while applying RS -422/485, it is essential to note that the transmission speed is inversely proportional to it’s distance.
AX10445 Module Series User’s Manual Figure 5 The Serial Interface Circuits NOTE: When using RS-485, the RTS signal toggles c o n f o r m i n g t o t h e t r a n s m i s s i o n . 3.3 Driver and Receiver Circuit 3.3.1 Driver Detail To Connector...
AX10445 Module Series User’s Manual 3.4 Isolation Circuit (for AX10445A) The AX10445A (isolated version) is equipped with eight 6N136 for isolation purpose. 6N136 is a high-speed opto-coupler having a very high common-mode transient immunity. At operating environments having a very large common mode noise, we highly recommend using the AX10445 with isolation to avoid common mode noise interface.
AX10445 Module Series User’s Manual C h a p t e r 4 Application 4.1 General The AX10445 is usually applied in: File transfer between two computers. Ø Local area network, which i nclude a central computer Ø (file server) and several remote computers. There are three ways to access the serial ports in an MS- DOS system.
AX10445 Module Series User’s Manual those for COM1 and COM2. When you are using the AX10445 Series in transferring text files, you only need to use 7 data bits because the letters or any punctuation mark won’t require the 8th bit. By sending only 7 bits, you slightly increase the speed of sending file.
Page 31
AX10445 Module Series User’s Manual ibuf$ = INPUT$(LOC(2), #2) PRINT ibuf$ END IF ‘ sleep for a while if need ‘ SLEEP 1 LOOP WHILE INKEY$ = “” ‘ if key pressed then exit ‘ close communication ports CLOSE 1 CLOSE 2 Application...
AX10445 Module Series User’s Manual 4.3 Demo Program for Turbo Pascal { This is a demo program for turbo pascal } program demo485; uses crt, dos; const pa = $3f8; (* com port data define *) mask = $ef; intno = $c; bufsize = 255;...
Page 33
AX10445 Module Series User’s Manual begin inline($FA); (* cli *) port[pa+4] :=0; (* clear modem control reg port[pa+1]: =0; (* clear int enable reg. *) int14_0(0,$8A); (* initial using bios call *) i :=port[pa+2]; (* clear flags *) i :=port[pa]; setintvec(intno,intbuf);...
Page 34
(* reset receiver buffer index *) ii := 1; (* issue write data routine *) write_com(‘This is a product of AXIOMTEK. Made In Taiwan.’,43); (* wait for completion of remote response *) (* show on screen *) for i := 1 to ii-1 do write(chr(rxbuf[i]):1);...
AX10445 Module Series User’s Manual 4.4 Demo Program for TC for User to Communicate with Remote Device /* This is a demo program for testing AX10445 */ #include <stdio.h> #include <stdlib.h> #include <dos.h> /* take care of */ #include <bios.h> /* hardware jumper setting */ /* define channel 1 and 2 basic parameter COM1 COM2 COM3 COM4...
Page 36
AX10445 Module Series User’s Manual static char comm_para=0xe3; /* 9600,N,8,1 */ static int Is_RS485=0; / * prototpye delcarations */ void interrupt far CH1_ISR(); void interrupt far CH2_ISR(); /* routine : initial UART, 8259, PC */ void COM_INIT(intch) unsigned pa; unsigned mask; unsigned intno;...
Page 37
AX10445 Module Series User’s Manual else { oldch = getvect(intno); setvect(intno,CH2_ISR); /* set Interrupt Enable Register,only enable Receive Data Available interrupt */ outportb(pa+IER,0x01); /* set modem control register, only set OUT2 to enable interrupt */ outportb(pa+MCR,0x08); /* unmask PC 8259 interrupt controller */ outportb(0x21, inportb(0x21)&mask);...
Page 38
AX10445 Module Series User’s Manual int i; unsigned pa; /* select port */ if (ch= =1) pa = CH1_PA; else if (ch= =2) pa = CH2_PA; else return; /* is 485 turn on send driver */ if (Is_RS485) outporb(pa+MCR,0x0a); /* loop to write string data */ i = 0;...
Page 39
AX10445 Module Series User’s Manual return; if (int_id >= 4) /* data ready interrupt */ inbuf1[front1] = /* store into buffer */ inportb(CH1_PA); front1++; if (front1 >= BUFSIZE) front1 = 0; end_of_ch1: /* pass control to old interrupt service routine if needed */ (*oldch1)();...
Page 40
AX10445 Module Series User’s Manual /* retrieve data from channel 1 receive buffer */ int GetlStr() if (rear1 == front1) return 0; sil = 0; while (si1 < BUFSIZE) if (rear1 != front1) showbuf1[si1] = inbuf1[rear1]; si1++; rear1++; else { /* no data in buffer now */ showbuf1[si1] = ‘\ 0’;...
Page 42
AX10445 Module Series User’s Manual /********************************************************************************** Main program to simulate communication protocol Please connect external loopback *********************************************************************************** void main() / * initial data */ clrscr(); / * initial port */ COM_INIT(1); COM_INIT(2); / * set RS485 mode */ Is_RS485 = 1; / * looping */ while (!kbhit()) /* if key pressed then exit...
Page 43
AX10445 Module Series User’s Manual Write_Com(1, “EOT”,3); /* wait for acknowledge */ delay(100); if (Get2Str()==3) puts(showbuf2); else { puts(“Timeout! channel 2\ n”); goto ERROR_END1; } / * user routine for checksum or retrieving data ERROR_END1: / * reset all index */ Reset_Buf();...
Page 44
AX10445 Module Series User’s Manual /* end of transmission */ ERROR_END2: puts(“Next loop…\ n”); / * restore all changed system configuration */ setvect (CH2_INTNO,oldch2); setvect (CH1_INTNO,oldch1); outportb(0x21, inportb(0x21)|~CH1_MASK); outportb(0x21, inportb(0x21)|~CH2_MASK); outportb(CH1_PA+MCR,0); outportb(CH2_PA+MCR,0); outportb(CH1_PA+IER,0); outportb(CH2_PA+IER,0); Application...
AX10445 Module Series User’s Manual A p p e n d i x A AX10445A Location Diagram 90.17 TX1 RX1 TX2 RX2 ARS-0505 75172 COM1 RS422/485 CONNECTOR 75173 75172 75173 COM2 ARS-0505 RS422/485 CONNECTOR AX10445A+ AX10445A Location Diagram...
Page 46
AX10445 Module Series User’s Manual This page does not contain any information.
AX10445 Module Series User’s Manual A p p e n d i x B AX10445B Location Diagram 90.17 TX1 RX1 TX2 RX2 75172 COM1 RS422/485 CONNECTOR 75173 75172 75173 COM2 RS422/485 CONNECTOR AX10445B+ AX10445B Location Diagram...
Page 48
AX10445 Module Series User’s Manual This page does not contain any information.
AX10445 Module Series User’s Manual A p p e n d i x D PC I/O Address Map Address Devices 200 – 207 Game Port 278 – 27F Parallel Port #2 300 – 31F Prototype Card 360 – 36F Reserved 378 –...
Page 52
AX10445 Module Series User’s Manual This page does not contain any information.
AX10445 Module Series User’s Manual A p p e n d i x E PC IRQ Map Interrupt rerouting from Not used Real time clock IRQ8 through IRQ15 Not used RS -232-C serial port RS -232-C serial port RS -232-C serial RS -232-C serial port RS -232-C serial port port...
Page 54
AX10445 Module Series User’s Manual This page does not contain any information.
AX10445 Module Series User’s Manual A p p e n d i x F PC/104 Mechanical Specifications General Description While the PC and PC/AT architectures have become extremely popular in both general purpose (desktop) and dedicated (non-desktop) applications, its use in embedded microcomputer applications has been limited due to the large size of standard PC and PC/AT motherboards and ex pansion cards.
Page 56
AX10445 Module Series User’s Manual PC/104 8- Bit Module Dimensions PC/104 Mechanical Specifications...
Page 57
AX10445 Module Series User’s Manual Standalone Module Stacks NOTE: M o s t i m a g e s c o n t a i n e d i n t h i s a p p e n d i x a r e c o u r t e s y o f t h e P C / 1 0 4 C o n s o r t i u m .
Page 58
AX10445 Module Series User’s Manual This page does not contain any information.
Need help?
Do you have a question about the AX10445 Series and is the answer not in the manual?
Questions and answers