background image

AP500/AP520/AP521 ACROPACK 

 

USER

’S MANUAL 

 

 

 

 

 

 

 

Acromag, Inc. Tel: 248-295-0310  

          - 19 -                                   http://www.acromag.com  

- 19 - 

www.acromag.com 

 

3.0    PROGRAMMING INFORMATION 

 

This section provides an overview of the AP5XX module's registers as well as 
specific information necessary to identify the model and its 
geographical/carrier location information. Once the driver is loaded the 
modules will be identified by the operating system as a standard serial port 
so low-level programming is not required for normal operation in a 
supported operating system. 

More detailed register information can be found in Section 1.0 of the 
Exar17v35x UART datasheets, referenced in 

Section 1.6

For information on software available for use with the AP5XX modules, see 

Section 1.5

3.1 PCI Configuration Registers 

 

The PCIe bus is defined to address three distinct address spaces: I/O, 
memory, and configuration space.  The AcroPack module can be accessed 
via the PCIe bus memory space and configuration spaces only.  

The AcroPack configuration registers are initialized by system software at 
power-up to configure the card.  The AcroPack module is a Plug-and-Play 
PCIe card.  As a Plug-and-Play card the board’s base address and system 
interrupt request are not selected via jumpers but are assigned by system 
software upon power-up via the configuration registers.  A PCIe bus 
configuration access is used to access the AcroPack’s configuration registers. 

When the computer is first powered-up, the computer’s system 
configuration software scans the PCIe bus to determine what PCIe devices 
are present.  The software also determines the configuration requirements 
of the PCIe card.  

The system software accesses the configuration registers to determine how 
many blocks of memory space the module requires.  It then programs the 
board’s configuration registers with the unique memory base address.  

Since this board is not fixed in address space, its device driver must use the 
mapping information stored in the board’s Configuration Space registers to 
determine where the board is mapped in memory space.  

The configuration registers are also used to indicate that the board requires 
an interrupt request.  The system software then programs the configuration 
registers with the interrupt request for the board.  

The PCIe specification requires software driven initialization and 
configuration via the Configuration Address space.  This board provides 512 
bytes of configuration registers for this purpose.  It contains the 
configuration registers shown in the following table to facilitate 

Summary of Contents for AcroPack AP500

Page 1: ...ion Module USER S MANUAL ACROMAG INCORPORATED 30765 South Wixom Road Wixom MI 48393 7037 U S A Tel 248 295 0310 Fax 248 624 9234 Copyright 2016 Acromag Inc Printed in the USA Data and specifications a...

Page 2: ...ck Diagram 5 Figure 1 2 AP520 Block Diagram 5 Figure 1 3 AP521 Block Diagram 5 1 3 1 Ordering Information 6 Table 1 1 Ordering Options 6 1 3 2 Key Features 6 1 3 3 Key Features PCIe Interface 7 1 4 Si...

Page 3: ...M Divisor Latch Registers Ports A H R W 25 Table 3 5 Baud Rate Divisors 14 7456MHZ 26 3 2 5 IER Interrupt Enable Register R W 27 Table 3 6 Interrupt Enable Register 27 3 2 6 ISR Interrupt Status Regis...

Page 4: ...41 5 1 Physical 41 5 2 Power Requirements 41 Table 5 1 Model ID 41 5 3 Environmental Considerations 41 5 3 1 Operating Temperature 41 5 3 2 Other Environmental Requirements 42 5 3 2 1 Relative Humidi...

Page 5: ...or keep current the information contained in this manual No part of this manual may be copied or reproduced in any form without the prior written consent of Acromag 1 2 1 Trademark Trade Name and Copy...

Page 6: ...TS DTR DSR DCD and RI Figure 1 1 AP500 Block Diagram Exar 17V354 UART Mini PCIe Connector PCIe x1 RS 232 Transceivers 4 RS 232 Ports 4 Field I O Connector The AP520 uses the 16550 compatible Exar 17v3...

Page 7: ...board provide up to 24 serial ports in a single VPX system slot or up to 16 serial ports in a PCIe system slot 16550 compatible Exar Quad or Octal UART with 16550 compatible register set 256 Byte FIF...

Page 8: ...Windows applications interfacing with AcroPack modules VPX I O board products and PCIe I O Cards This software model APSW API WIN consists of low level drivers and Dynamic Link Libraries DLLs that ar...

Page 9: ...ing resources regarding AcroPack modules are available for download on Acromag s website or by contacting your sales representative PCI Express MINI Card Electromechanical Specification REV 1 2 http w...

Page 10: ...agnetic or radioactive fields unless the device is contained within its original manufacturer s packaging Be aware that failure to comply with these guidelines will void the Acromag Limited Warranty 2...

Page 11: ...above the maximum operating temperature 2 3 Board Configuration Power should be removed from the board when installing AP modules cables termination panels and field wiring Model AP500 520 UART commun...

Page 12: ...RTS_A RXD _A 8 RSVD ISOL 7 RSVD ISOL 10 Field I O 5 5 3 TXD_A CTS_A RXD _A 9 Field I O 6 6 28 RTS_A GND GND 12 RSVD ISOL 11 RSVD ISOL 14 Field I O 7 7 4 RXD_A TXD_B TXD _B 13 Field I O 8 8 29 DSR_A R...

Page 13: ...2 36 GND TXD_E TXD _E 44 RSVD ISOL 43 RSVD ISOL 46 Field I O 23 23 12 GND RXD_E TXD _E 45 Field I O 24 24 37 GND RTS_E RXD _E 48 RSVD ISOL 47 RSVD ISOL 50 Field I O 25 25 13 GND CTS_E RXD _E 49 Field...

Page 14: ..._D RTS_H RXD _H 77 Field I O 40 40 45 RTS_D CTS_H RXD _H 80 RSVD ISOL 79 RSVD ISOL 82 Field I O 41 41 21 RXD_D GND GND 81 Field I O 42 42 46 DSR_D GND No Connect 84 RSVD ISOL 83 RSVD ISOL 86 Field I O...

Page 15: ...L 10 Field I O 5 3 TXD_A CTS_A RXD _A 9 Field I O 6 37 28 RTS_A GND GND 12 RSVD ISOL 11 RSVD ISOL 14 Field I O 7 4 RXD_A TXD_B TXD _B 13 Field I O 8 38 DSR_A RXD_B TXD _B 16 RSVD ISOL 15 RSVD ISOL 18...

Page 16: ...ISOL 43 RSVD ISOL 46 Field I O 23 12 GND RXD_E TXD _E 45 Field I O 24 46 GND RTS_E RXD _E 48 RSVD ISOL 47 RSVD ISOL 50 Field I O 25 13 GND CTS_E RXD _E 49 Field I O 26 47 GND GND GND 52 RSVD ISOL 51...

Page 17: ...RTS_H RXD _H 77 Field I O 40 54 RTS_D CTS_H RXD _H 80 RSVD ISOL 79 RSVD ISOL 82 Field I O 41 21 RXD_D GND GND 81 Field I O 42 55 DSR_D GND No Connect 84 RSVD ISOL 83 RSVD ISOL 86 Field I O 43 22 DCD_...

Page 18: ...ld I O grounds As such the field I O connections are not isolated from the system Care should be taken in designing installations without isolation to avoid noise pickup and ground loops caused by mul...

Page 19: ...rted USB_D USB_D WAKE LED_WPAN LED_WLAN LED_WWAN W_DISABLE COEX1 COEX2 UIM_C4 UIM_C8 Note 2 UIM_PWR UIM_RESET UIM_CLK UIM_VPP UIM_DATA SIM card for cell signals may be available on some AcroPack carri...

Page 20: ...e address and system interrupt request are not selected via jumpers but are assigned by system software upon power up via the configuration registers A PCIe bus configuration access is used to access...

Page 21: ...figuration Registers Address Offset D31 D24 D23 D16 D15 D8 D7 D0 0x00 Device ID 0x0354 AP500 0x0358 AP520 521 Vendor ID 0x13A8 0x04 Status Command 0x08 Class Code 0x070002 Rev ID Current REV 0x0C BIST...

Page 22: ...gisters See Table 3 4 0x0010 0x007F Reserved 0x0080 0x009A Device Configuration Registers See Table 3 3 0x009B 0x00FF Reserved Reserved 0x0100 0x01FF UART 0 FIFOs Read only 256 bytes of RX FIFO data 0...

Page 23: ...3T 15 8 Read Write MPIO 15 8 output control Bits 15 8 0x00 0X098 MPIOINV 15 8 Read Write MPIO 15 8 input polarity select Bits 15 8 0x00 0x099 MPIOSEL 15 8 Read Write MPIO 15 8 select Bits 15 8 0xFF 0x...

Page 24: ...REGISTERS THR AND RHR IN 8 BIT FORMAT The THR and RHR register address for channel 0 is shown in Table 3 4 below The THR and RHR for each channel 0 to 7 are located sequentially at address 0x0000 0x0...

Page 25: ...ired Status for the receiver is provided via the Line Status Register LSR When a full character is received including parity and stop bits the data received indication bit bit 0 of the LSR is set to 1...

Page 26: ...that at least one FIFO location is available The THR empty flag in the LSR register will be set to a logic 1 when at least one FIFO location is available 3 2 4 DLL DLM Divisor Latch Registers Ports A...

Page 27: ...sampling each bit as near to the center of the bit time as possible To better understand the asynchronous timing used by this device note that the receive data line RxD is monitored for a high to low...

Page 28: ...enabling the desired bits in the IER bit 3 of the Modem Control Register MCR must be set to a logic 1 to enable interrupts Table 3 6 Interrupt Enable Register IER BIT INTERRUPT ACTION 0 0 Disable Int...

Page 29: ...ll be issued when the CTS pin transitions from a logic 0 to a logic 1 Since CTS is not used on this module this interrupt should always be disabled Bits 4 to 7 are only programmable when the EFR bit 4...

Page 30: ...tate on the CTS or RTS signals Bits 6 and 7 are set when bit 0 of the FIFO Control Register is set to 1 A power up or system reset sets ISR bit 0 to logic 1 and bits 1 to 7 to logic 0 3 2 7 FCR FIFO C...

Page 31: ...s the programmed trigger level One of four trigger levels can be selected bit 7 bit 6 Trigger Level 0 0 08 0 1 16 1 0 56 1 1 60 Bits 4 and 5 are only programmable when the EFR bit 4 is set to 1 A powe...

Page 32: ...l output line TxD is forced to the space state low This bit acts only on the serial output and does not affect transmitter logic For example if the following sequence is used no invalid characters are...

Page 33: ...RTS OUT1 and OUT2 do not have transmitter output paths Bit 3 of this register must be set to a logic 1 to enable the corresponding port to issue an interrupt Table 3 10 Modem Control Register MCR Bit...

Page 34: ...re Table 3 11 Line Status Register LSR Bit FUNCTION PROGRAMMING 0 Data Ready DR 0 Not Ready reset low by CPU Read of RHR or FIFO 1 Data Ready set high when character received and transferred into the...

Page 35: ...the FIFO and reflects the Break Interrupt when the break character is at the top of the FIFO It is detected by the host CPU during the first LSR read Only one 0 character is loaded into the FIFO when...

Page 36: ...register when any one of these conditions are detected This interrupt is enabled by setting IER bit 2 to 1 A power up or system reset sets all LSR bits to 0 except bits 5 and 6 which are high 3 2 11 M...

Page 37: ...or both the LSR MSR the setting of the status bits during a status register read operation is inhibited the status bit will not be set until the trailing edge of the read However if the same status co...

Page 38: ...ed Feature Register EFR Xon 1 Xon 2 Xoff 1 Xoff 2 3 2 14 EFR Enhanced Feature Register Read Write The Enhanced Feature register is used to enable or disable enhanced features including software flow c...

Page 39: ...SR bit 4 will be set to indicate detection of special character Bit 0 of the Xoff Xon registers corresponds with the LSB bit for the receive character When this feature is enabled the normal software...

Page 40: ...smitter for output of the TxD signal The RTS signals do not have transmitter output paths on this model The CTS signals do not have a receiver input path on the AP521 model A power up or system reset...

Page 41: ...ED OFF BEFORE SERVICING BOARDS Before beginning repair be sure that all of the procedures in the Preparation for Use section have been followed Also refer to the documentation of your carrier board to...

Page 42: ...ction cooled application with an AcroPack module will require purchase of the Heatsink AP CC 01 Table 5 1 Model ID Summarized below are the expected current draws for each of the specified power suppl...

Page 43: ...10 500Hz 5G 2 Hours axis Vibration Random Operating Designed to comply with IEC 60068 2 64 10 500Hz 5G rms 2 Hours axis Shock Operating Designed to comply with IEC 60068 2 27 30G 11ms half sine 50G 3m...

Page 44: ...rs using MIL HDBK 217F FN2 Per MIL HDBK 217 Ground Benign Controlled GBGC Temperature MTBF Hours MTBF Years Failure Rate FIT1 25 C 8 952 551 1 022 0 111 7 40 C 5 412 456 617 9 184 8 1 FIT is Failures...

Page 45: ...Memory of whose contents are lost when power is removed Yes No Type SRAM SDRAM etc UART Internal Registers FIFOs SRAM Size 4k bytes AP500 8k bytes AP520 521 User Modifiable Yes No Function UART Commu...

Page 46: ...ment is summarized in the table below Release Date DD MMM YYYY Version EGR DOC Description of Revision 27 APR 2016 A DWR ARP Initial Release 19 MAY 2016 B DWR ARP Corrected shock vibration specificati...

Reviews: