DM163012 Microchip Technology, DM163012 Datasheet - Page 21

BOARD DEMO PICDEM FOR 16C781/782

DM163012

Manufacturer Part Number
DM163012
Description
BOARD DEMO PICDEM FOR 16C781/782
Manufacturer
Microchip Technology
Datasheet

Specifications of DM163012

Supported Devices
PIC16C781/782
Interface Type
Serial
Processor To Be Evaluated
PIC16C781/782
For Use With
PIC16C781/782
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
 2001 Microchip Technology Inc.
ARBITRARY WAVEFORM
The DAC Arbitrary Waveform function is a utility that provides for sending a
Timer0 counts must be between 2 and 255. Adjust the paramaters to ensure
The period of the waveform is defined as the time required for all the wave-
Two types of waveforms can be computed by the utility:
1. A sine wave (see Figure 2.10)
2. A triangle wave (see Figure 2.11)
An unlimited number of other waveforms can be generated external to the util-
The DAC data is displayed in the preview window when the waveform is gen-
Figures 2.10 and 2.11 show examples of utility generated sine and triangle
set of user-defined data bytes to the DAC one byte at a time, with a user-
defined dwell time between each byte. The data set must consist of 2 to 80
bytes. The dwell time is determined by waiting a user-defined number of
timer0 count intervals. The utility computes dwell time as a function of :
the count is within these limits.
form points to be output.
ity and saved as a text file, which the utility can retrieve. Each point of the
waveform is represented as an integer between 0 and 255. The set of points
is saved as a text file with one integer per line. If the waveform file contains
more than 80 integers, the Arbitrary Waveform utility accepts only the first 80.
erated or loaded from a file. Two waveform periods are displayed, so that
unexpected discontinuities between the last and first data bytes can be identi-
fied. The preview window displays the waveform in an unsmoothed format
that represents the expected DAC output.
waveforms respectively.
• Timer0 clock
• Timer0 prescale
• Number of points in the waveform
• User-defined waveform period or frequency parameter.
Basic Functions
DS41178A-page 17

Related parts for DM163012