User manual

PICDEM™ Lab II Development Board User’s Guide
DS40001814A-page 24 2015 Microchip Technology Inc.
4. Class D audio amplifier lab: This lab retrieves sound wave table information
from a serial EEPROM and uses a Class D audio amplifier configuration to drive
a small speaker. The retrieval of the wave table utilizes the I
2
C capability of the
MSSP peripheral. The reconstruction of the audio signal uses the 10-bit DAC,
and the class D amplifier uses the programmable ramp generator to create a
triangle wave and a voltage comparator to turn the audio signal into a
proportional PWM driver for the speaker.
3.2 ADDITIONAL LABS
As new labs are developed, additional labs will be added to the code list on the web
page for the PICDEM Lab II.
FIGURE 3-2: ADDITIONAL LABS
The labs will be organized by the processor used in the lab, and will be grouped with
other labs using the same microcontroller. In the event that multiple microcontrollers
can support a given lab, the lab will be modified for the additional microcontrollers and
included in the zip file download for the microcontrollers.
3.3 OBTAINING LAB COMPONENTS
For each of the additional labs, a bill of materials is included which specifies the
components used in the lab, the source for the components, and any specifications
necessary for obtaining the components. Where possible, the vendor’s part number is
included to assist in the acquisition of the components.