|PIC10, PIC12, PIC16 Family||Buzzers, Alarms, Tone Generation|
|PIC16, PIC18 Family||Playback & Record (ADPCM, G.711)|
|PIC24F Family||Speech Encoding and Decoding (IMA ADPCM, G.711)|
|dsPIC33E/F DSC Family||Speech Encoding and Decoding (IMA ADPCM, G.711, G.726A, Speex), Noise Suppression, Acoustic/Line Echo Cancellation, Equalizer, Automatic Gain Control, Sample Rate Conversion, Streaming Audio (USB)|
|PIC32MM Family||Speech Encoding and Decoding (IMA ADPCM), Streaming Audio (USB)|
|PIC32 Family||Playback (Speex, ADPCM), Record (PCM, ADPCM), MP3 Decode, AAC Decode Library, Streaming Audio (Bluetooth, USB)|
Many 16-bit PIC24 MCUs, dsPIC® DSCs offer on-chip Flash memory up to 256 KB. Some 16-bit MCUs and DSCs offer 128 KB of on-chip Flash memory in a 6x6 mm QFN package with a specialized 16-bit DAC peripheral. The PIC32 MCU offers up to 2 MB of on-chip Flash memory making these products ideal to store large segments of voice messages within on-chip Flash memory, reducing component count and lowering your system cost.
dsPIC Digital Signal Controllers offer certain specialized peripherals for audio applications, namely:
- 16-bit D/A Converter
- Codec / Data Converter Interface module
- 1 nanosecond SMPS PWM
dsPIC DSCs offer an industry-unique on-chip 16-bit D/A Converter peripheral for audio applications. Another audio peripheral, the Codec Interface is a 4-wire serial communication peripheral used to stream audio data to and from an external stereo 16-bit Codec, D/A Converter or A/D Converter. The Codec Interface peripheral supports AC-97, I2S and a simple Time-Division Multiplex mode. Many dsPIC DSCs are equipped with high-frequency Motor Control and SMPS PWM peripherals, which enable driving the speakers with higher-quality audio (better resolution in bits) in Class D Audio Amplifier applications.
Additionally, many PIC MCUs and dsPIC DSCs offer an on-chip 12-bit A/D converter peripheral module. The 12-bit resolution may be sufficient in many cases for recording speech signals from a microphone. If resolution greater than 12-bits is desired, the codec interface peripheral may be used in conjunction with an external 16-bit A/D or Audio Codec to record sound.
Nearly all of Microchip’s 8-, 16- and 32-bit General-Purpose MCUs and DSCs feature the standard PWM (Pulse Width Modulation) peripheral that may be used in audio playback applications. The PWM output is typically provided to a Low-Pass Filter prior to an amplification stage that drives the speaker unit.