中国电子技术网

设为首页 网站地图 加入收藏

 

[原创] Microchip PIC24FJ128GA705 16位通用MCU开发方案

关键词:物联网(IoT) MCU 微控制器 PIC24FJ128GA705

时间:2019-03-21 10:50:13       来源:中电网

microchip公司的PIC24FJ128GA705是小尺寸大闪存和SRAM存储器的16位微控制器,具有广泛的外设特性和增强计算性能.器件具有多达128KB ECC闪存,16KB RAM和eXtreme低功耗,多达14个模拟输入的12位200ksps ADC,3个比较器和触摸应用的充电时间测量单元(CTMU).高性能采用CPU改进哈佛(Harvard)架构,@32 MHz高达16MIPS性能,适合于各种通用应用.而PIC-IoT WG 开发板则是用于IoT解决方案的小型容易扩展的开发平台,基于PIC®MCU架构和采用Wi-Fi®技术,具有智能化(PIC24FJ128GA705 MCU),安全性(ATECC608A安全元件)和连接性(WINC1510 Wi-Fi控制模块).本文介绍了PIC24FJ128GA705系列产品主要特性,通用框图,PIC24F CPU核框图以及PIC-IoT WG 开发板主要特性,电路图,材料清单和PCB设计图.

The PIC24FJ256GA705 family introduces large Flashand SRAM memory in smaller package sizes. This is a16-bit microcontroller family with a broad peripheralfeature set and enhanced computational performance.

This family also offers a new migration option for thosehigh-performance applications which may be outgrowingtheir 8-bit platforms, but do not require the numericalprocessing power of a Digital Signal Processor (DSP).

PIC24F 16-bit Microcontroller featuring up to 128KB of ECC Flash, 16KB of RAM and eXtreme Low Power. It has 12bit ADC at 200ksps with up to 14 analog inputs, 3 comparators and CTMU for touch applications. Available in 28 pin, 44 pin and 48 pin packages. This family is ideally suited for general purpose applications. 

PIC24FJ128GA705主要特性:

High-Performance CPU
• Modified Harvard Architecture
• Up to 16 MIPS Operation @ 32 MHz
• 8 MHz Fast RC Internal Oscillator:
- 96 MHz PLL option
- Multiple clock divide options
- Fast start-up
• 17-Bit x 17-Bit Single-Cycle HardwareFractional/Integer Multiplier
• 32-Bit by 16-Bit Hardware Divider
• 16-Bit x 16-Bit Working Register Array
• C Compiler Optimized Instruction Set Architecture
• Two Address Generation Units for Separate Readand Write Addressing of Data Memory
• Six-Channel DMA Controller
Analog Features
• Up to 14-Channel, Software Selectable,10/12-Bit Analog-to-Digital Converter:
- 12-bit, 200K samples/second conversion rate(single Sample-and-Hold)
- Sleep mode operation
- Charge pump for operating at lower AVDD
- Band gap reference input feature
- Windowed threshold compare feature
- Auto-scan feature
• Three Analog Comparators with Input Multiplexing:
- Programmable reference voltage forcomparators
• LVD Interrupt Above/Below ProgrammableVLVD Level
• Charge Time Measurement Unit (CTMU):
- Allows measurement of capacitance and time
- Operational in Sleep
Low-Power Features
• Sleep and Idle modes Selectively Shut DownPeripherals and/or Core for Substantial PowerReduction and Fast Wake-up
• Doze mode allows CPU to Run at a Lower ClockSpeed than Peripherals
• Alternate Clock modes allow On-the-FlySwitching to a Lower Clock Speed for Selective Power Reduction
Special Microcontroller Features
• Supply Voltage Range of 2.0V to 3.6V
• Dual Voltage Regulators:
- 1.8V core regulator
- 1.2V regulator for Retention Sleep mode
• Operating Ambient Temperature Range of-40°C to +125°C
• ECC Flash Memory (256 Kbytes):
- Single Error Correction (SEC)
- Double Error Detection (DED)
- 10,000 erase/write cycle endurance, typical
- Data retention: 20 years minimum
- Self-programmable under software control
• 16-Kbyte SRAM
• Programmable Reference Clock Output
• In-Circuit Serial Programming™ (ICSP™) andIn-Circuit Emulation (ICE) via 2 Pins
• JTAG Boundary Scan Support
• Fail-Safe Clock Monitor Operation:
- Detects clock failure and switches to on-chip,Low-Power RC (LPRC) Oscillator
• Power-on Reset (POR), Brown-out Reset (BOR)and Oscillator Start-up Timer (OST)
• Programmable Low-Voltage Detect (LVD)
• Flexible Watchdog Timer (WDT) with its OwnRC Oscillator for Reliable Operation
Peripheral Features
• High-Current Sink/Source 18 mA/18 mA onAll I/O Pins
• Independent, Low-Power 32 kHz Timer Oscillator
• Timer1: 16-Bit Timer/Counter with External CrystalOscillator; Timer1 can Provide an A/D Trigger
• Timer2,3: 16-Bit Timer/Counter, can Create 32-BitTimer; Timer3 can Provide an A/D Trigger
• Three Input Capture modules, Each with a16-Bit Timer
• Three Output Compare/PWM modules, Each witha 16-Bit Timer
• Four MCCP modules, Each with a Dedicated16/32-Bit Timer:
- One 6-output MCCP module
- Three 2-output MCCP modules
• Three Variable Width, Synchronous PeripheralInterface (SPI) Ports on All Devices; 3 Operationmodes:
- 3-wire SPI (supports all 4 SPI modes)
- 8 by 16-bit or 8 by 8-bit FIFO
- I2S mode
• Two I2C Master and Slave w/Address Masking,and IPMI Support
• Two UART modules:
- LIN/J2602 bus support (auto-wake-up,Auto-Baud Detect (ABD), Break character support)
- RS-232 and RS-485 support
- IrDA® mode (hardware encoder/decoderfunctions)
• Five External Interrupt Pins
• Parallel Master Port/Enhanced Parallel Slave Port(PMP/EPSP), 8-Bit Data with External
Programmable Control (polarity and protocol)
• Enhanced CRC module
• Reference Clock Output with ProgrammableDivider
• Two Configurable Logic Cell (CLC) Blocks:
- Two inputs and one output, all mappable toperipherals or I/O pins
- AND/OR/XOR logic and D/JK flip-flopfunctions
• Peripheral Pin Select (PPS) with Independent I/OMapping of Many Peripherals

图1.PIC24FJ128GA705系列通用框图

图2.PIC24F CPU核框图

PIC-IoT WG 开发板

The PIC-IoT WG development board is a small and easily expandable demonstration and developmentplatform for IoT solutions, based on the PIC® microcontroller architecture using Wi-Fi® technology. It wasdesigned to demonstrate that the design of a typical IoT application can be simplified by partitioning theproblem into three blocks:

• Smart - represented by the PIC24FJ128GA705 microcontroller
• Secure - represented by the ATECC608A secure element
• Connected - represented by the WINC1510 Wi-Fi controller module
The PIC-IoT WG development board feature the following elements:
• The PKOB nano provides access to a serial port interface (serial to USB bridge)
• The PKOB nano enumerates on the PC as a mass storage interface device for easy‘drag and drop’programming, Wi-Fi® configuration, and full access to the microcontroller application Command LineInterface (CLI)
• An interface allowing for full programming and debugging support through MPLAB® X IDE
•mikroBUS™ connector allows for the ability to expand the board capabilities with selection from 450+sensors and actuator options offered by MikroElektronika(www.mikroe.com) via a growing portfolioof Click boards™
• A light sensor used to demonstrate published data
• A high-accuracy temperature sensor used to demonstrate published data
The PIC-IoT WG development board comes pre-programmed and configured for demonstrating theconnectivity to the Google Cloud IoT Core.

图3.PIC-IoT WG 开发板外形图

图4. PIC-IoT WG 开发板布局图

图5. PIC-IoT WG 开发板电路图(1)

图6. PIC-IoT WG 开发板电路图(2)

图7. PIC-IoT WG 开发板电路图(3)

图8. PIC-IoT WG 开发板PCB设计图(1)

图9. PIC-IoT WG 开发板PCB设计图(2)

图10. PIC-IoT WG开发板PCB设计图(3)

图11. PIC-IoT WG开发板PCB设计图(4)

图12. PIC-IoT WG开发板PCB设计图(5)

图13. PIC-IoT WG开发板PCB设计图(6)

图14. PIC-IoT WG开发板PCB设计图(7)

图15. PIC-IoT WG开发板PCB设计图(8)

图16. PIC-IoT WG开发板PCB设计图(9)

图17. PIC-IoT WG开发板PCB设计图(10)

图18. PIC-IoT WG开发板PCB设计图(11)
PIC-IoT WG开发板材料清单:

详情请见:
http://59.80.44.98/ww1.microchip.com/downloads/en/DeviceDoc/PIC24FJ256GA705-Family-Data-Sheet-DS30010118D.pdf
http://120.52.51.18/ww1.microchip.com/downloads/en/DeviceDoc/PIC-IoT-WG-User-Guide-50002856A.pdf
以及http://120.52.51.15/ww1.microchip.com/downloads/en/DeviceDoc/PIC-IoT_WG_Schematics.pdf
PIC24FJ256GA705-Family-Data-Sheet-DS30010118D.pdf
PIC-IoT_WG_Schematics.pdf
PIC-IoT-WG-User-Guide-50002856A.pdf

  • 分享到:

 

猜你喜欢