User Guide

Installation and Operation
2021
Microchip Technology Inc. and its subsidiaries
DS50003218A-page 21
2.3 I
2
C DEMO
Once the Curiosity board is programmed and running, press the S2 switch. The D2
LED will blink while all the other LEDs will remain off. This indicates that the I
2
C DAC
is working and the output can be monitored on Channel 0 of the I
2
C DAC output. When
LED D2 is blinking, the DAC’s Channel 0 will output a sine wave as shown in the fol-
lowing figure. The frequency of the sine wave can be varied using the analog potenti-
ometer.
FIGURE 2-19: I
2
C OUTPUT SINE WAVE (LED D2 BLINKING, LEDS D3, D4
AND D5 OFF)
When the S2 switch is pressed, the I
2
C output waveform will be saw-tooth shaped. The
D3 LED will blink while all the other LEDs will remain off. This indicates that the I
2
C
DAC is working, and the output can be monitored on Channel 0 of the I
2
C DAC output.
Channel 0 will output a saw-tooth waveform as shown in the following figure. The fre-
quency of the waveform can be modified using the potentiometer on the Curiosity
board.
FIGURE 2-20: I
2
C OUTPUT SAW-TOOTH WAVEFORM (LED D3 BLINKING,
LEDS D2, D4 AND D5 OFF)