2.7.4 Using software trigger and polling transfer
If the user needs to control the A/D converter without the A-822 software driver, software
trigger and polling transfer is suggested. The program steps are listed below:
1.
send 0x01 to the A/D mode control register (software t polling transfer)
(refer to Sec. 2.4.8)
2.
send channel number to the multiplexer control register
(refer to Sec.
2.4.7)
3.
send the gain control code value to the gain control register
(refer to Sec 2.4.6)
4.
delay the settling time
(refer to Sec. 2.4.6 and Sec. 2.4.7)
5.
send any value to the software trigger control register to generate a software trigger
signal
(refer to Sec. 2.4.9)
6.
scan the READY bit of the A/D high byte data until READY=0
(refer to Sec. 2.4.2)
7.
read the 12 bit A/D data
(refer to Sec. 2.4.2)
8.
convert the 12 bit binary data to a floating point value
OME-A-822PGL/PGH Hardware Manual ----
30
Содержание ISA- BUS MULTI-FUNCTIONAL BOARD OME-A822PG
Страница 3: ...OME A 822PGH PGL Enhanced Multi Function Card Hardware Manual OME A 822PGL PGH Hardware Manual 1...
Страница 36: ...Figure 2 Figure 3 OME A 822PGL PGH Hardware Manual 34...
Страница 50: ...DMA no and IRQ no selection screen OME A 822PGL PGH Hardware Manual 48...
Страница 61: ...5 2 5 Help The Help menu will display the software version as shown below OME A 822PGL PGH Hardware Manual 59...