Advertisement

Quick Links

OPERATIONS MANUAL
PCM-AIO
NOTE: This manual has been designed and created for use as part of the WinSystems' Technical Manuals
CD and/or the WinSystems' website.
If this manual or any portion of the manual is downloaded, copied or
emailed, the links to additional information (i.e. software, cable drawings) will be inoperable.
WinSystems reserves the right to make changes in the circuitry
and specifications at any time without notice.
Copyright 1993 by WinSystems. All Rights Reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCM-AIO and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for WinSystems PCM-AIO

  • Page 1 OPERATIONS MANUAL PCM-AIO NOTE: This manual has been designed and created for use as part of the WinSystems’ Technical Manuals CD and/or the WinSystems’ website. If this manual or any portion of the manual is downloaded, copied or emailed, the links to additional information (i.e. software, cable drawings) will be inoperable.
  • Page 2 WinSystems - "The Embedded Systems Authority" RE VI SION HIS TORY P/N 403- 0172- 000 ECO NUM BER Date Code Rev Level ORIGI NATED 032993 93- 67 092493 94- 31 940817 98- 29 980414 98- 48 980723...
  • Page 3: Table Of Contents

    TABLE OF CONTENTS Section Paragraph Title Page Visual Index- Quick Reference General Information Features General Description Specifications PCM-AIO Technical Reference Introduction I/O Addressing Selection A/D Registers D/A Registers Interrupt Routing Selection A/D In put Connector Single Ended Operation Differential Operation Unipolar/Bipolar Operation 2.10...
  • Page 4: Visual Index- Quick Reference

    For the convenience of the user, a copy of the Visual Index has been provided with direct links to connector and jumper configuration data. I/O Address Selection A/D Input Connector D/A Output Connector J4, J5, J6 D/A Output Configuration J7, J10 Interrupt Routing Selection OPERATIONS MANUAL PCM-AIO 980723...
  • Page 5: General Information

    1 LSB = 1.22mV (5V/4096). Cod ing is twos com ple ment for bi po lar. Po ten ti ome ters are on the card to per mit both gain and off set ad - just ment. 980723 OPERATIONS MANUAL PCM-AIO Page 1-1...
  • Page 6 WinSystems - "The Embedded Systems Authority" Starting an A/D conversion 1.2.3 The con ver sion is be gun by writ ing a word to the con trol reg is ter to se lect the chan nel and spec ify if it is single- ended/dif fer en tial and uni po lar/bi po lar. Out put data is latched and the PCM- AIO sig nals the base board that con ver sion is com plete and data is avail able.
  • Page 7: Specifications

    WinSystems - "The Embedded Systems Authority" PC/104 Module 1.2.7 PC/104 mul ti mod ule boards are small (3.550" x 3.775"), I/O or mem ory mapped boards which plug into a base board. The PC/104 boards con nect to the PC/104 bus con nec tor and con vert the PC/104 bus sig nals to a de fined mem ory or I/O in ter face.
  • Page 8 WinSystems - "The Embedded Systems Authority" Mechanical 1.3.2 Di men sions: 3.550" x 3.775" Con nec tors : A/D In put: 26- pin dual pin on 0.100" D/A Out put: 26- pin dual pin on 0.100" PC/104: 62- pin dual pin on 0.100"...
  • Page 9: Pcm-Aio Technical Reference

    PCM-AIO Technical Reference Introduction This sec tion of the man ual is in tended to pro vide suf fi cent in for ma tion re gard ing the con figu ra tion, and pro gram ming of the PCM- AIO mod ule. A com plete re print of the MAX 180 da tasheet is pro vided in Ap pen dix C for spe cific in for ma tion on the chip.
  • Page 10: A/D Registers

    WinSystems - "The Embedded Systems Authority" A/D Registers OFF SET 0 - Write Bits 7-5 Un used Bit 4 1 = Dif fer en tial In put, 0 = Sin gle Ended in put Bit 3 1 = Bi po lar In put, 0 = Uni po lar In put...
  • Page 11: A/D Input Connector

    WinSystems - "The Embedded Systems Authority" Interrupt Routing Select The PCM- AIO is ca pa ble of gen er at ing an in ter rupt on con ver sion com plete from the MAX180. This in ter rupt may be routed to any of sev eral PC/104 bus in ter rupts us ing the jumper block at J7 or J10.
  • Page 12: Unipolar/Bipolar Operation

    WinSystems - "The Embedded Systems Authority" lect/con vert to each chan nel. A chan nel is pro grammed for dif fer en tial op era tion by writ - ing a '1' to the DI bit in the chan nel/con vert word. For proper op era tion a chan nel that is used as a dif fer en tial with dif fer en tial in puts should have a bias re turn for each in put, i.e.
  • Page 13: A/D Calibration Procedure

    WinSystems - "The Embedded Systems Authority" same data to the I/O port BASE+0. This mode is made avail able so that a vari able time can be in serted be tween write cy cles to al low the Track/Hold cir cuit to ac quire the in put sig nal.
  • Page 14: Output Coding

    WinSystems - "The Embedded Systems Authority" Output Coding 2.12 IN PUT VOLT AGE RANGE COD ING UNI PO LAR STRAIGHT BI NARY 0 TO +5V 5.0000 1111 1111 1111 +FS- 1LSB 4.9988 1111 1111 1110 +1LSB 0.0012 0000 0000 0001 ZERO 0.0000...
  • Page 15 WinSystems - "The Embedded Systems Authority" PCM- AIO This pro gram was writ ten Pri mar ily as a test/setup pro ce dure for the PCM- AIO board. (400- 0172- 000) It also dem on strates how to ac cess the MAX180 part, and shows vari ous meth ods of ac cess ing the part.
  • Page 16 WinSystems - "The Embedded Systems Authority" _dis playcur sor(_GCUR SO ROFF); a = inp(0x21); a &= 0xdf; /*un mask irq5 */ outp(0x21,a); _set text po si tion(11,10); printf(“Ch Trgt Read Dif fer ence”); while(1) for(a=0; a; a++) /* Scan all chan nels */ c=get conv(a,0);...
  • Page 17 WinSystems - "The Embedded Systems Authority" NOTE: In Dif fer en tial mode, valid chan nels are still 0-7, how ever, the chan nels are paired, evens with odds. (I.E. 0 with 1, 2 with 3, etc.) The chan nel read be comes the “+” leg for the read ing.
  • Page 18: D/A Output Connector

    WinSystems - "The Embedded Systems Authority" SAM PLE AP PLI CA TION */ Read All Eight Chan nels as Sin gle/Uni & store in in te ger Ar ray vari able re sults[8]. */ /* read & store the re sult.*/ /* re sult[chan nel] = inp(0x100) | ((inp(0x101)&15)<8);*/...
  • Page 19: D/A Software Flowchart/Assembly Routine

    WinSystems - "The Embedded Systems Authority" 3 2 1 o o o 8 o o 7 D/A Output Configuration 6 o o 5 Jumpers J4, J5, J6 4 o o 3 2 o o 1 D/A Software Flowchart/Assembly Routine 2.16...
  • Page 20: D/A Calibration Procedure

    WinSystems - "The Embedded Systems Authority" D/A CALIBRATION PROCEDURE 2.17 The D/A sec tion of the PCM- AIO can be eas ily cali brated by the use of a digi tal volt me - ter. To cali brate the D/A chan nels use the fol low ing pro ce dure: 1.
  • Page 21: Appendix Amax180 Datasheet Reprint

    APPENDIX A MAX180 DATASHEET REPRINT...
  • Page 42 APPENDIX B Cable Drawings CBL-120-3 3ft, 26 conductor ribbon cable with one unterminated end CBL-130-4 3ft, 26 conductor ribbon cable to the Analog-ADP card Software Example test and calibration routines for PCM-AIO PCMAIO.ZIP...
  • Page 43 . . E-mail: info@winsystems.com WARRANTY WinSystems warrants that for a period of two (2) years from the date of shipment any Products and Software purchased or licensed hereunder which have been developed or manufactured by WinSystems shall be free of any material defects and shall perform substantially in accordance with WinSystems' specifications therefore.

Table of Contents