User Guide

1LSb Octal DAC Evaluation Board User’s Guide
DS50003218A-page 22 2021
Microchip Technology Inc. and its subsidiaries
The following figure shows a flow-chart for the DAC demo.
FIGURE 2-21: FLOW-CHART FOR THE USER DEMO
Power up the board and program the
PIC18F47Q10
LED D4 Blinking (LEDs D2, D3 and D5 Off)
Sine wave output at SPI Channel 0
Frequency varied by using potentiometer
Status = SPI Sine
If S1 or S2
pressed
If S1 pressed If S2 pressed
If Status =
SPI Sine
If Status =
I2C Sine
LED D5 Blinking
(LEDs D2, D3 and D4 Off)
SPI Saw-Tooth Waveform
Status = SPI Saw-Tooth
LED D4 Blinking
(LEDs D2, D3 and D5 Off)
SPI Sine Wave
Status = SPI Sine
LED D3 Blinking
(LEDs D2, D4 and D5 Off)
I2C Saw-Tooth Waveform
Status = I2C Saw-Tooth
LED D2 Blinking
(LEDs D3, D4 and D5 Off)
I2C Sine Wave
Status = I2C Sine
Yes
Yes Yes
No
No
No