
2.7.4 Using software trigger and polling transfer
If the user needs to direct control the A/D converter without the A-812PG software driver. It
is recommended to use software trigger and polling transfer. The program steps are listing as
below:
1. Sends 0x01 to A/D mode control register (software t polling transfer)
2. Sends channel number to multiplexer control register
3. Sends the gain control code value to gain control register
4. Delays the settling time
5. Sends any value to software trigger control register to generate a software rigger signal
6. Scans the READY bit of the A/D high byte data until READY=0
7. Reads the 12 bits A/D data
8. Converts this 12 bits binary data to the floating point value
A-812PG Hardware Manual (Ver.1.2, Sep/2005, IPH-004-12) -----
30