《電子技術(shù)應(yīng)用》
您所在的位置:首頁 > 嵌入式技術(shù) > 解決方案 > Microchip PIC32 MCU音頻開發(fā)方案

Microchip PIC32 MCU音頻開發(fā)方案

2012-05-24
關(guān)鍵詞: PIC PIC32 MCU 音頻

Microchip公司的PIC32系列MCU采用5級(jí)流水線MIPS32® M4K® 32位內(nèi)核,工作頻率80MHz,在零等待狀態(tài)閃存接入時(shí)的性能為1.56 DMIPS/MHz (Dhrystone 2.1), MCU工作電壓2.3V- 3.6V,具有眾多的外設(shè),有兩個(gè)編程和調(diào)試接口,多達(dá)16路10位ADC和兩個(gè)模擬比較器,主要用于超小型圖像/用戶接口,以太網(wǎng)/USB/CAN/連接,多任務(wù)嵌入控制和高性能音頻.本文介紹了PIC32 MCU主要特性,方框圖,以及PIC32音頻開發(fā)板主要特性及主要元件,電路圖和PCB布局圖.

Microchip’s 32-bit portfolio with the MIPS® M4K® offers high performance microcontrollers, and all the tools needed to develop your embedded project. With free software, low cost development tools, and pin/peripheral compatibility from 16-bit product lines, PIC32 MCUs shorten time to market and allow your designs to grow. PIC32 gives your application the processing power, memory and peripherals your design needs!

PIC32 MCU主要特性:

High-Performance 32-bit RISC CPU:

• MIPS32® M4K® 32-bit core with 5-stage pipeline

• 80 MHz maximum frequency

• 1.56 DMIPS/MHz (Dhrystone 2.1) performance at zero Wait state Flash access

• Single-cycle multiply and high-performance divide unit

• MIPS16e® mode for up to 40% smaller code size

• Two sets of 32 core register files (32-bit) to reduce interrupt latency

• Prefetch Cache module to speed execution from Flash

Microcontroller Features:

• Operating voltage range of 2.3V to 3.6V

• 64K to 512K Flash memory (plus an additional 12 KB of Boot Flash)

• 16K to 128K SRAM memory

• Pin-compatible with most PIC24/dsPIC® DSC devices

• Multiple power management modes

• Multiple interrupt vectors with individually programmable priority

• Fail-Safe Clock Monitor mode

• Configurable Watchdog Timer with on-chip Low-Power RC oscillator for reliable operation Peripheral Features:

• Atomic SET, CLEAR and INVERT operation on select peripheral registers

• Up to 8-channels of hardware DMA with automatic data size detection

• USB 2.0-compliant full-speed device and

On-The-Go (OTG) controller:

- Dedicated DMA channels

• 10/100 Mbps Ethernet MAC with MII and RMII interface:

Dedicated DMA channels

• CAN module:

- 2.0B Active with DeviceNet™ addressing support

- Dedicated DMA channels

• 3 MHz to 25 MHz crystal oscillator

Peripheral Features (Continued):

• Internal 8 MHz and 32 kHz oscillators

• Six UART modules with:

- RS-232, RS-485 and LIN support

- IrDA® with on-chip hardware encoder and decoder

• Up to four SPI modules

• Up to five I2C™ modules

• Separate PLLs for CPU and USB clocks

• Parallel Master and Slave Port (PMP/PSP) with 8-bit and 16-bit data, and up to 16 address lines

• Hardware Real-Time Clock and Calendar (RTCC)

• Five 16-bit Timers/Counters (two 16-bit pairs combine to create two 32-bit timers)

• Five Capture inputs

• Five Compare/PWM outputs

• Five external interrupt pins

• High-speed I/O pins capable of toggling at up to 80 MHz

• High-current sink/source (18 mA/18 mA) on all I/O pins

• Configurable open-drain output on digital I/O pins

Debug Features:

• Two programming and debugging Interfaces:

- 2-wire interface with unintrusive access and real-time data exchange with application

- 4-wire MIPS® standard enhanced Joint Test Action Group (JTAG) interface

• Unintrusive hardware-based instruction trace

• IEEE Standard 1149.2 compatible (JTAG) boundary scan

Analog Features:

• Up to 16-channel, 10-bit Analog-to-Digital Converter:

- 1 Msps conversion rate

- Conversion available during Sleep and Idle

• Two Analog Comparators

PIC32 MCU主要應(yīng)用:

High Impact Graphics/User Interfaces

Ethernet/USB/CAN/Connectivity

Multitasking Embedded Control

High Performance Audio


圖1.PIC32 MCU方框圖

PIC32音頻開發(fā)板

Audio Development Board

The audio development board for PIC32 (DM320011) provides developers a flexible platform for 24-bit audio record and playback, USB Digital Audio, MP3 Decode and Sample Rate Conversion. The board also provides an interface to Microchip’s 16/32-bit PIC® MCU Accessory Development Platform for iPod and iPhone enabling Apple® authorized MFi licensees.

PIC32音頻開發(fā)板主要特性:

• High-performance MCU

• Wolfson WM8960 audio codec with up to 48 kHz sampling rate and up to 24-bit resolution

• Headphone out, Line-in jacks, and an on-board MIC

• TFT color display with 220x176 resolution

• PICtail™ Plus Connector

• General purpose user switches and LEDs

圖2.音頻開發(fā)板外形圖和元件分布圖
音頻開發(fā)板元件表:


圖3.音頻開發(fā)板電路圖:顯示電路

圖4.音頻開發(fā)板電路圖:音頻電路

圖5.音頻開發(fā)板電路圖:MCU和USB電路


圖6.開發(fā)板電路圖:電源電路

圖7.音頻開發(fā)板電路圖:通信電路(擴(kuò)展連接器,ICSP,開關(guān)和LED)

圖8.音頻開發(fā)板PCB布局圖:頂層
詳情請(qǐng)見:
http://ww1.microchip.com/downloads/en/DeviceDoc/61156G.pdf

http://ww1.microchip.com/downloads/en/DeviceDoc/ADB%20for%20PIC32%20User%20Guide.pdf



本站內(nèi)容除特別聲明的原創(chuàng)文章之外,轉(zhuǎn)載內(nèi)容只為傳遞更多信息,并不代表本網(wǎng)站贊同其觀點(diǎn)。轉(zhuǎn)載的所有的文章、圖片、音/視頻文件等資料的版權(quán)歸版權(quán)所有權(quán)人所有。本站采用的非本站原創(chuàng)文章及圖片等內(nèi)容無法一一聯(lián)系確認(rèn)版權(quán)者。如涉及作品內(nèi)容、版權(quán)和其它問題,請(qǐng)及時(shí)通過電子郵件或電話通知我們,以便迅速采取適當(dāng)措施,避免給雙方造成不必要的經(jīng)濟(jì)損失。聯(lián)系電話:010-82306118;郵箱:aet@chinaaet.com。