5-3
The following paragraphs walk you through the programming steps for performing A/D conversions. In this
discussion, BA refers to the base address.
Selecting a Channel
To select a conversion channel, you must assign values to bits 0 through 3 in the Channel register at BA + 4.
Starting an A/D Conversion
A/D conversions are started by writing to BA + 0. A START CONVERT command must be issued for each A/D
conversion. The data written to start a conversion is irrelevant.
Monitoring Conversion Status
The A/D conversion status can be monitored through the end-of-convert (EOC) signal, bit 0 at BA + 6.
This signal is low when a conversion is in progress and goes high when the conversion is completed. This
low-to-high transition can be used to generate an interrupt or you can poll this bit to see the status of the
conversion.
'
'
'
'
'
'
'
'
Analog Input
Channel Select
0000 = channel 1
0001 = channel 2
0010 = channel 3
0011 = channel 4
0100 = channel 5
0101 = channel 6
0110 = channel 7
0111 = channel 8
'
'
'
'
'
'
'
'
IRQ Status
0 = no interrupt
1 = interrupt
P0 Latch Status
0 = Data is not latched
1 = Data is latched
P1 Latch Status
0 = Data is not latched
1 = Data is latched
End-of-Convert Status
0 = converting
1 = not converting
Summary of Contents for DM6210
Page 2: ......
Page 9: ...i 1 INTRODUCTION...
Page 10: ...i 2...
Page 14: ...1 2...
Page 22: ...1 10...
Page 24: ...2 2...
Page 28: ...2 6...
Page 30: ...3 2...
Page 34: ...4 2...
Page 44: ...5 2...
Page 48: ...5 6...
Page 50: ...6 2...
Page 56: ...6 8...
Page 58: ...7 2...
Page 61: ...8 1 CHAPTER 8 DIGITAL I O This chapter explains the digital I O circuitry on the DM6210...
Page 62: ...8 2...
Page 66: ...9 2...
Page 68: ...9 4...
Page 70: ...10 2...
Page 74: ...10 6...
Page 75: ...A 1 APPENDIX A DM6210 SPECIFICATIONS...
Page 76: ...A 2...
Page 78: ...A 4...
Page 79: ...B 1 APPENDIX B CN3 CONNECTOR PIN ASSIGNMENTS...
Page 80: ...B 2...
Page 82: ...B 4...
Page 83: ...APPENDIX C COMPONENT DATA SHEETS C 1...
Page 84: ......
Page 85: ...Intel 82C54 Programmable Interval Timer Data Sheet Reprint...
Page 86: ......
Page 88: ...D 2...
Page 91: ...DM6210 User Settings Base I O Address hex decimal IRQ Channel...