3.3
PCM-A/D Demonstration Program
In cluded on a 3 1/2" disk ette with the PCM-A/D board is a sam ple pro gram in both 'C'
source code and in MS- DOS ex ecu ta ble for mat. The PCMAD12.EXE file was cre ated us ing
Bor land C/C++ Ver sion 3.1. This demo pro gram may be used as a di ag nos tic/cali bra tion
pro gram or por tions of its source code may be used in a user's ap pli ca tion pro gram. The pro -
gram's source code dem on strates both in ter rupt driven and polled- mode con verter tech
-
niques. PCMAD12.EXE is exe cuted from the MS- DOS com mand line with:
PCMAD12 <En ter>
A screen dis play like that shown be low should be dis played and the in ter rupt coun ter in
the lower right cor ner should be count ing con ver sions.
NOTE: The PCMAD12.EXE pro gram as sumes that a base ad dress of 110H has been se -
lected and the IRQ5 is also se lected. Ref er to Sec tion 2 of this man ual for hard ware se lec -
tion de tails.
970513
PCM-A/D-12/16 OPERATIONS MANUAL
Page 3-5
WinSystems - "The Embedded Systems Authority"
Chan nel RAW HIGH LOW DATA CUR RENT MAX MIN VOLT
AGE
Num ber DATA DATA DATA DEV. VOLT AGE VOLT AGE VOLT AGE DE VIA TION
——————————————————————————-—————————————————-
00 FFFF FFFF FFFF 0000 5.0000 5.0000 5.0000 0.0000
01 FFFF FFFF FFFF 0000 5.0000 5.0000 5.0000 0.0000
02 FFFF FFFF FFFF 0000 5.0000 5.0000 5.0000 0.0000
03 FFFF FFFF FFFF 0000 5.0000 5.0000 5.0000 0.0000
04 FFFF FFFF FFFF 0000 5.0000 5.0000 5.0000 0.0000
05 FFFF FFFF FFFF 0000 5.0000 5.0000 5.0000 0.0000
06 FFFF FFFF FFFF 0000 5.0000 5.0000 5.0000 0.0000
07 FFFF FFFF FFFF 0000 5.0000 5.0000 5.0000 0.0000
08 FFFF FFFF FFFF 0000 5.0000 5.0000 5.0000 0.0000
09 FFFF FFFF FFFF 0000 5.0000 5.0000 5.0000 0.0000
10 FFFF FFFF FFFF 0000 5.0000 5.0000 5.0000 0.0000
11 FFFF FFFF FFFF 0000 5.0000 5.0000 5.0000 0.0000
12 FFFF FFFF FFFF 0000 5.0000 5.0000 5.0000 0.0000
13 FFFF FFFF FFFF 0000 5.0000 5.0000 5.0000 0.0000
14 FFFF FFFF FFFF 0000 5.0000 5.0000 5.0000 0.0000
15 FFFF FFFF FFFF 0000 5.0000 5.0000 5.0000 0.0000
—————————————————————————---—————————————————
'T' Tog gle Scale, 'B' Con verter tog gle 'M' In ter rupt Mode tog gle, 'R' Re set Val ues
————————————————————---——————————————————————-
Scale : +0 to +5 Volts - Single- Ended 12- Bit In ter rupt Mode 34256
Содержание PCM-A/D-12
Страница 22: ...4 APPENDIX A PCM A D Parts Placement Guide...
Страница 23: ...5 APPENDIX B PCM A D Parts List...
Страница 26: ...6 APPENDIX C BURR BROWN ADS7806 ADS7807 Datasheet Reprint...
Страница 64: ...7 APPENDIX D PCM A D Demo Software Source Listing...
Страница 73: ...8 APPENDIX E PCM A D Schematic Diagrams...