Panasonic F77G, MN101C77C user manual Operation XVI

Models: F77G MN101C77C

1 544
Download 544 pages 59.61 Kb
Page 495
Image 495

Chapter 16 D/A Converter

16-2 Operation

The D/A converter circuit setup procedure is as follows:

(1)Set the analog pins.

Set the analog input pin, set in (2), to "special function pin" by the port A input mode register (PAIMD).

*Setup for the port A input mode register should be done before analog voltage is put to pins.

(2)Select the analog output pin.

Select the analog output pin from DA1 to DA0 (PA1 to PA0) by the DACH1 to DACH0 flag of the D/A converter control register (DACTR).

(3)Start D/A conversion

Set the DABUSY flag of the D/A converter control register (DACTR) to "1" to apply the ladder resistance current. D/A conversion starts.

(4)DA output.

D/A conversion is done for the data which is set to DADR01 register, and the result of D/A conversion is output to DA0 and DA1.

Operation XVI - 3

Page 495
Image 495
Panasonic F77G, MN101C77C user manual Operation XVI