SOGO論壇
  登入   註冊   找回密碼
查看: 2914|回覆: 1
列印 上一主題 下一主題

[程式設計] Microchip PIC32 入門(1)--PIC32介紹 [複製連結]

Rank: 5Rank: 5

數位軟體勳章

狀態︰ 離線
跳轉到指定樓層
1
發表於 2011-11-21 16:50:44 |只看該作者 |倒序瀏覽 | x 3
本帖最後由 alphi 於 2011-11-21 16:59 編輯

前言

   目前32位元通用型MCU大多數採用ARM授權的Cortex-M系列(Cortex-M0/Cortex-M3/Cortex-M4)以及Cortex-R(Cortex-R4/Cortex-R4F),除了少數公司有能力推出自己的32位元通運型MCU(如Atmel AVR32,TI的C2000系列).另一部分就是採用MIPS授權的IP。其中目前microchip購買來自MIPS M4K核心所推出的32bit MCU效能與性價比非常高。目前我也在使用這個系列MCU作一些開發專案。效能來說Cortex-M3為1.25MIPS/MHz,而PIC32為1.56MIPS/MHz.在他核心頻率為80MHz時可提供125MIPS性能。且高達128KB SRAM與512KB Flash對於一些大型系統甚至於嵌入式圖形都綽綽有餘。我將會提供一系列基於PIC32 PLIB以及Microchip C32 Compiler為基礎的入門開發


參考書籍:Programming 32bit Microcontrollers in C exploring PIC32,非常好的一本書.建議可以去閱讀


以下是技術規格
1.MCU Core
               
80MHz, 1.56 DMIPS/MHz, 32-bit MIPS M4K® Core
               
USB 2.0 On-The-Go Peripheral with integrated PHY
               
10/100 Ethernet MAC with MII/RMII Interfaces
               
2 x CAN2.0b modules with 1024 buffers
               
8 Dedicated DMA Channels for USB OTG, Ethernet, and CAN
               
5 Stage pipeline, Harvard architecture
               
MIPS16e mode for up to 40% smaller code size
               
Single cycle multiply and hardware divide unit
               
32 x 32-bit Core Registers
               
32 x 32-bit Shadow Registers
               
Fast context switch and interrupt response
       

2.MCU System Features
       

               
512K Flash (plus 12K boot Flash)
               
128K RAM (can execute from RAM)
               
8 Channel General Hardware DMA Controller
               
Flash prefetch module with 256 Byte cache
               
Lock instructions or data in cache for fast access
               
Programmable vector interrupt controller
       

3.Analog Features
       

               
Fast and Accurate 16 channel 10-bit ADC,
               
Max 1 Mega sample per second at +/- 1LSB, conversion available during SLEEP & IDLE
       

4.Power Management Modes
       

               
RUN, IDLE, and SLEEP modes
               
Multiple switchable clock modes for each power mode, enables optimum power settings
       

5.Debug Features
       

               
iFlow Trace: Non-intrusive Hardware Instruction Trace port (5 Wires)
               
8 hardware breakpoints (6 Instruction and 2 Data)
               
2 wire programming and debugging interface
               
JTAG interface supporting Programming, Debugging and Boundary scan
       

6.Other MCU Features
       

               
Fail-Safe Clock Monitor - allows safe shutdown if clock fails
               
2 Internal oscillators (8MHz & 31KHz)
               
Hardware RTCC (Real-Time Clock and Calendar with Alarms)
               
Watchdog Timer with separate RC oscillator
               
Pin compatible with 16-bit PIC® MCUs
               
Serial Communication Modules allow flexible UART/SPI/I2C™ configuration
已有 1 人評分威望 收起 理由
又靜 + 1 您發表的文章內容豐富,無私分享造福眾人,.

總評分: 威望 + 1   查看全部評分

喜歡嗎?分享這篇文章給親朋好友︰
               感謝作者     

失敗只有一種:那就是半途而廢
請注意︰利用多帳號發表自問自答的業配文置入性行銷廣告者,將直接禁訪或刪除帳號及全部文章!
您需要登錄後才可以回覆 登入 | 註冊


本論壇為非營利自由討論平台,所有個人言論不代表本站立場。文章內容如有涉及侵權,請通知管理人員,將立即刪除相關文章資料。侵權申訴或移除要求:abuse@oursogo.com

GMT+8, 2024-5-1 22:41

© 2004-2024 SOGO論壇 OURSOGO.COM
回頂部