Microchip公司的PIC32MZ是200MHz 32位嵌入聯(lián)MCU,具有高達2MB閃存,512KB RAM, 10/100以太網(wǎng)MAC,高速USB MAC/PHY和兩個CAN端口,處理器性能高達330 DMIPS和3.28 CoreMark/MHz,支持WQVGA圖像,可用新一代嵌入設(shè)備.本文介紹了PIC32MZ主要特性和框圖, MIPS32® microAptiv微處理器核主要特性和框圖,以及PIC32MZ嵌入式連接(CE)入門板主要特性,電路圖,材料清單和PCB元件布局圖.
The PIC32MZ Embedded Connectivity family of 200 MHz 32-bit microcontrollers feature up to 2 Mbytes of flash, 512 Kbytes of RAM, a 10/100 Ethernet MAC, Hi-Speed USB MAC/PHY, and dual CAN ports. The processors yield 330 DMIPS and 3.28 CoreMark/MHz performance, with an interrupt latency of only 10 clock cycles, and have direct support for a WQVGA graphics.
The chips are said to have class-leading code density and have a 28 Ms/s 12-bit A/D converter and a crypto engine with a random number generator. They use Imagination’s MIPS microAptiv core, which includes 159 DSP instructions that enable algorithms with up to 75% fewer cycles than previous MCU versions. QFN, TQFP, VTLA, and LQFP packages with 64 to 144 pins are available starting in December and priced from 6.68 ea/10,000. A starter kit is available.
PIC32MZ主要特性:
Operating Conditions
•2.2V to 3.6V, -40ºC to +85ºC, DC to 200 MHz
•2.2V to 3.6V, -40ºC to +125ºC (Planned)
Core: 200 MHz (up to 330 DMIPS) microAptiv™
•16 KB I-Cache, 4 KB D-Cache
•MMU for optimum embedded OS execution
•microMIPS™ mode for up to 35% smaller code size
•DSP-enhanced core:
-Four 64-bit accumulators
-Single-cycle MAC, saturating and fractional math
•Code-efficient (C and Assembly) architecture
Clock Management
•0.9% internal oscillator
•Programmable PLLs and oscillator clock sources
•Fail-Safe Clock Monitor (FSCM)
•Independent Watchdog Timers (WDT) and Deadman Timer (DMT)
•Fast wake-up and start-up
Power Management
•Low-power modes (Sleep and Idle)
•Integrated Power-on Reset and Brown-out Reset
Memory Interfaces
•50 MHz External Bus Interface (EBI)
•50 MHz Serial Quad Interface (SQI)
Audio and Graphics Interfaces
•Graphics interfaces: EBI or PMP
•Audio data communication: I2S, LJ, and RJ
•Audio control interfaces: SPI and I2C™
•Audio master clock: Fractional clock frequencies with USB synchronization
High-Speed (HS) Communication Interfaces (with Dedicated DMA)
•USB 2.0-compliant Hi-Speed On-The-Go (OTG) controller
•10/100 Mbps Ethernet MAC with MII and RMII interface
Security Features
•Crypto Engine with a RNG for data encryption/decryption and authentication (AES, 3DES, SHA, MD5, and HMAC)
•Advanced memory protection:
-Peripheral and memory region access control
Direct Memory Access (DMA)
•Eight channels with automatic data size detection
•Programmable Cyclic Redundancy Check (CRC)
Advanced Analog Features
•12-bit ADC module:
-28 Msps with six Sample and Hold (S&H) circuits
-Up to 48 analog inputs
•Flexible and independent ADC trigger sources
•Two comparators with 32 programmable voltage references
•Temperature sensor with ±2ºC accuracy
Communication Interfaces
•Two CAN modules (with dedicated DMA channels):
-2.0B Active with DeviceNet™ addressing support
•Six UART modules (25 Mbps):
-Supports LIN 1.2 and IrDA® protocols
•Six 4-wire SPI modules (50 Mbps)
•SQI configurable as an additional SPI module (50 MHz)
•Five I2C modules (up to 1 Mbaud) with SMBus support
•Parallel Master Port (PMP)
•Peripheral Pin Select (PPS) to enable function remap
Timers/Output Compare/Input Capture
•Nine 16-bit or up to four 32-bit timers/counters
•Nine Output Compare (OC) modules
•Nine Input Capture (IC) modules
•PPS to enable function remap
•Real-Time Clock and Calendar (RTCC) module
Input/Output
•5V-tolerant pins with up to 32 mA source/sink
•Selectable open drain, pull-ups, and pull-downs
•External interrupts on all I/O pins
Qualification and Class B Support
•AEC-Q100 REVG (Grade 1 -40ºC to +125ºC) planned
•Class B Safety Library, IEC 60730
•Back-up internal oscillator
Debugger Development Support
•In-circuit and in-application programming
•4-wire MIPS® Enhanced JTAG interface
•Unlimited software and 12 complex breakpoints
•IEEE 1149.2-compatible (JTAG) boundary scan
•Non-intrusive hardware-based instruction trace
Software and Tools Support
•C/C++ compiler with native DSP/fractional support
•MPLAB® Harmony Integrated Software Framework
•TCP/IP, USB, Graphics, and mTouch™ middleware
•MFi, Android™, and Bluetooth® audio frameworks
•FreeRTOS™, OpenRTOS®, μC/OS™, and other popular RTOS kernels
圖1. PIC32MZ框圖
The MIPS32® microAptiv™ Microprocessor Core is the heart of the PIC32MZ EC family device processor. The CPU fetches instructions, decodes each instruction, fetches source operands, executes each instruction and writes the results of instruction execution to the proper destinations.
MIPS32® microAptiv微處理器核主要特性:
•5-stage pipeline
•32-bit address and data paths
•MIPS32® Enhanced Architecture (Release 2):
-Multiply-accumulate and multiply-subtract instructions
-Targeted multiply instruction
-Zero/One detect instructions
-WAIT instruction
-Conditional move instructions (MOVN, MOVZ)
-Vectored interrupts
-Programmable exception vector base
-Atomic interrupt enable/disable
-GPR shadow registers to minimize latency for interrupt handlers
-Bit field manipulation instructions
-Virtual memory support
•microMIPS™ compatible instruction set:
-Improves code size density over MIPS32®, while maintaining MIPS32® performance.
-Supports all MIPS32® instructions (except branch-likely instructions)
-Fifteen additional 32-bit instructions and 39 16-bit instructions corresponding to commonly-used MIPS32® instructions
-Stack pointer implicit in instruction
-MIPS32® assembly and ABI compatible
•MMU with Translation Lookaside Buffer (TLB) mechanism:
-16 dual-entry fully associative Joint TLB
-4-entry fully associative Instruction TLB
-4-entry fully associative Data TLB
-4 KB pages
•Separate L1 data and instruction caches:
-16 KB 4-way Instruction Cache (I-Cache)
-4 KB 4-way Data Cache (D-Cache)
•Autonomous Multiply/Divide Unit (MDU):
-Maximum issue rate of one 32x32 multiply per clock
-Early-in iterative divide. Minimum 12 and maximum 38 clock latency (dividend (rs) sign extension-dependent)
•Power Control:
-Minimum frequency: 0 MHz
-Low-Power mode (triggered by WAIT instruction)
-Extensive use of local gated clocks
•EJTAG Debug and Instruction Trace:
-Support for single stepping
-Virtual instruction and data address/value breakpoints
-Hardware breakpoint supports both address match and address range triggering.
-Eight instruction and four data complex breakpoints
•iFlowtrace® version 2.0 support:
-Real-time instruction program counter
-Special events trace capability
-Two performance counters with 34 user-selectable countable events
-Disabled if the processor enters Debug mode
•Four Watch registers:
-Instruction, Data Read, Data Write options
-Address match masking options
•DSP ASE Extension:
-Native fractional format data type operations
-Register Single Instruction Multiple Data (SIMD) operations (add, subtract, multiply, shift)
-GPR-based shift
-Bit manipulation
-Compare-Pick
-DSP Control Access
-Indexed-Load
-Branch
-Multiplication of complex operands
-Variable bit insertion and extraction
-Virtual circular buffers
-Arithmetic saturation and overflow handling
-Zero-cycle overhead saturation and rounding operations
圖2. MIPS32® microAptiv微處理器核框圖
PIC32MZ嵌入式連接(CE)入門板
The PIC32MZ EC Starter Kit provides the easiest and lowest cost method to experience the high performance and advanced peripherals integrated in the PIC32MZ Embedded Connectivity MCUs. This starter kit features a socket that can accommodate 10/100 Ethernet transceiver (RJ-45) plug-in connectors from various vendors for prototyping and development.
The starter kit comes preloaded with demonstration software for the user to explore the new features of the PIC32MZ EC family of devices. It is also expandable through a modular expansion interface, which allows the user to extend its functionality. The starter kit also supplies on-board circuitry for full debug and programming capabilities
The PIC32MZ Embedded Connectivity (EC) Starter Kit contains the following items:
• PIC32MZ Embedded Connectivity (EC) Starter Kit development board
• SMSC 8870A Ethernet PHY daughter board
• USB mini-B to full-sized A cable – USB debug cable to debug and power the starter kit development board
• USB micro-B to full-sized A cable – PIC32 USB cable to communicate with the PIC32 USB port
• RJ-45 CAT5 Ethernet patch cable – Ethernet CAT5 cable to communicate with the PIC32 Ethernet port
|
PIC32MZ嵌入式連接(CE)入門板主要特性:
On-board PIC32MZ2048ECH144: 200 MHz, 2 MB Flash and 512 KB RAM
Integrated debugger/programmer
USB powered
10/100 Ethernet
CAN 2.0b, HI-Speed USB 2.0 host/device/dual-role/OTG
4 MB SQI Flash
Can be used with Multimedia Expansion Board II
Can be used with PIC32 Expansion Board using a PIC32MZ adaptor board
圖4. PIC32MZ嵌入式連接(CE)入門板頂層主要元件
1. PIC32MZ2048ECH144-I/PH (non-crypto) or PIC32MZ2048ECM144-I/PH (crypto) 32-bit microcontroller.
2. Green power indicator LED.
3. On-board crystal or oscillator for precision microcontroller clocking (12 MHz).
4. USB connectivity for on-board debugger communications.
5. Green debug indicator LED.
6. Three push button switches for user-defined inputs.
7. Three user-defined indicator LEDs.
8. USB Type A receptacle connectivity for PIC32 host-based applications.
9. HOST mode power jumper.
10. Daughter board connectors for flexible Ethernet PHY options.
11. 32 kHz oscillator for RTCC and Timer1 (optional).
12. External 2 GB SQI memory for expanded memory applications.
13. Jumper for using or disconnecting the on-board debugger.
圖5. PIC32MZ嵌入式連接(CE)入門板底層主要元件
1. PIC24FJ256GB106 USB microcontroller for on-board debugging.
2. Regulated +3.3V power supply for powering the starter kit through USB or expansion board.
3. Connector for various expansion boards.
4. USB Type micro-AB receptacle for OTG and USB device connectivity for PIC32 OTG/device-based applications.
5. 50 MHz Ethernet PHY oscillator.
6. USB Host and OTG power supply for powering PIC32 USB applications
圖6. PIC32MZ嵌入式連接(CE)入門板框圖
圖7. PIC32MZ嵌入式連接(CE)入門板電路圖(1)
圖8. PIC32MZ嵌入式連接(CE)入門板電路圖(2)
圖9. PIC32MZ嵌入式連接(CE)入門板電路圖(3)
圖10. PIC32MZ嵌入式連接(CE)入門板電路圖(4)
PIC32MZ嵌入式連接(CE)入門板材料清單(BOM):
詳情請見:
http://ww1.microchip.com/downloads/en/DeviceDoc/60001191B.pdf
和
http://ww1.microchip.com/downloads/en/DeviceDoc/70005147A.pdf
PIC32MZ.pdf