中国电子技术网

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

 

[原创] Microchip PIC18F47Q10低功耗MCU解决方案

关键词:工业控制 汽车电子 物联网(IoT) PIC18F47Q10

时间:2018-07-09 10:14:25       作者:Microchip       来源:中电网

Microchip公司的PIC18F47Q10是低功耗微控制器(MCU),集成了智能模拟可配置外设和5V工作条件以增强噪音免疫度,内核采用C编译器优化RISC架构,时钟输入DC-64MHz,指令周期最小为62.5ns,可编2级中断优先权,31级深度硬件堆栈,工作电压1.8V 到5.5V,主要用在工业控制,汽车电子,物联网(IoT),和触摸检测和消费类电子.本文介绍了PIC18F2x/4xQ10系列主要特性,以及Explorer 8开发板(DM160228)主要特性和电路图.

PIC18F2x/4xQ10 microcontrollers feature Analog, Core Independent, and Communication Peripherals fora wide range of general purpose and low-power applications. These 28/40/44 -pin devices are equippedwith a 10-bit ADC with Computation (ADC2) automating Capacitive Voltage Divider (CVD) techniques foradvanced touch sensing, averaging, filtering, oversampling and performing automatic thresholdcomparisons. They also offer a set of Core Independent Peripherals such as Complementary WaveformGenerator (CWG), Windowed Watchdog Timer (WWDT), Cyclic Redundancy Check (CRC)/MemoryScan, Zero-Cross Detect (ZCD), Configurable Logic Cell (CLC), and Peripheral Pin Select (PPS),providing for increased design flexibility and lower system cost.

PIC18F2x/4xQ10系列主要特性:

核特性:

• C Compiler Optimized RISC Architecture
• Operating Speed:
– DC – 64 MHz clock input over the full VDD range
– 62.5 ns minimum instruction cycle
• Programmable 2-Level Interrupt Priority
• 31-Level Deep Hardware Stack
• Three 8-Bit Timers (TMR2/4/6) with Hardware Limit Timer (HLT)
• Four 16-Bit Timers (TMR0/1/3/5)
• Low-Current Power-on Reset (POR)
• Power-up Timer (PWRT)
• Brown-out Reset (BOR)
• Low-Power BOR (LPBOR) Option
• Windowed Watchdog Timer (WWDT):
– Watchdog Reset on too long or too short interval between watchdog clear events
– Variable prescaler selection
– Variable window size selection
– All sources configurable in hardware or software

存储器:

• Up to 128K Bytes Program Flash Memory
• Up to 3615 Bytes Data SRAM Memory
• Up to 1024 Bytes Data EEPROM
• Programmable Code Protection
• Direct, Indirect and Relative Addressing modes
工作特性:
• Operating Voltage Range:
– 1.8V to 5.5V
• Temperature Range:
– Industrial: -40℃ to 85℃
– Extended: -40℃ to 125℃

省功耗工作模式:

• Doze: CPU and Peripherals Running at Different Cycle Rates (typically CPU is lower)
• Idle: CPU Halted While Peripherals Operate
• Sleep: Lowest Power Consumption
• Peripheral Module Disable (PMD):
– Ability to selectively disable hardware module to minimize active power consumption of unusedperipherals
• Extreme Low-Power mode (XLP)
– Sleep: 500 nA typical @ 1.8V
– Sleep and Watchdog Timer: 900 nA typical @ 1.8V

数字外设:

• Configurable Logic Cell (CLC):
– Integrated combinational and sequential logic
• Complementary Waveform Generator (CWG):
– Rising and falling edge dead-band control
– Full-bridge, half-bridge, 1-channel drive
– Multiple signal sources
• Capture/Compare/PWM (CCP) modules:
– Two CCPs
– 16-bit resolution for Capture/Compare modes
– 10-bit resolution for PWM mode
• 10-Bit Pulse-Width Modulators (PWM):
– Two 10-bit PWMs
• Serial Communications:
– Up to Two Enhanced USART (EUSART) with Auto-Baud Detect, Auto-wake-up on Start.RS-232, RS-485, LIN compatible
– SPI
– I2C, SMBus and PMBus™ compatible
• Up to 35 I/O Pins and One Input Pin:
– Individually programmable pull-ups
– Slew rate control
– Interrupt-on-change on all pins
– Input level selection control
• Programmable CRC with Memory Scan:
– Reliable data/program memory monitoring for Fail-Safe operation (e.g., Class B)
– Calculate CRC over any portion of Flash or EEPROM
– High-speed or background operation
• Hardware Limit Timer (TMR2/4/6+HLT):
– Hardware monitoring and Fault detection
• Peripheral Pin Select (PPS):
– Enables pin mapping of digital I/O
• Data Signal Modulator (DSM)

模拟外设:

• 10-Bit Analog-to-Digital Converter with Computation (ADC2):
– Up to 35 external channels
– Conversion available during sleep
– Four internal analog channels
– Internal and external trigger options
– Automated math functions on input signals:
• Averaging, filter calculations, oversampling and threshold comparison
– 8-bit hardware acquisition timer
• Hardware Capacitive Voltage Divider (CVD) Support:
– 8-bit precharge timer
– Adjustable sample and hold capacitor array
– Guard ring digital output drive
• Zero-Cross Detect (ZCD):
– Detect when AC signal on pin crosses ground
• 5-Bit Digital-to-Analog Converter (DAC):
– Output available externally
– Programmable 5-bit voltage (% of VDD,[VRef+ - VRef-], FVR)
– Internal connections to comparators and ADC
• Two Comparators (CMP):
– Four external inputs
– External output via PPS
• Fixed Voltage Reference (FVR) Module:
– 1.024V, 2.048V and 4.096V output levels
– Two buffered outputs: One for DAC/CMP and one for ADC

时钟结构:

• High-Precision Internal Oscillator Block (HFINTOSC):
– Selectable frequencies up to 64 MHz
– ±1% at calibration
• 32 kHz Low-Power Internal Oscillator (LFINTOSC)
• External 32 kHz Crystal Oscillator (SOSC)
• External High-frequency Oscillator Block:
– Three crystal/resonator modes
– Digital Clock Input mode
– 4x PLL with external sources
• Fail-Safe Clock Monitor:
– Allows for safe shutdown if external clock stops
• Oscillator Start-up Timer (OST)

编程/调试特性:

• In-Circuit Serial Programming™ (ICSP™) via Two Pins
• In-Circuit Debug (ICD) with Three Breakpoints via Two Pins
• Debug Integrated On-Chip
The Explorer 8 Development Board is one of the latest development boards forevaluating and demonstrating the capabilities and features of Microchip’s 8-bit PIC®MCUs. This board supports 8/14/20/28/40-pin DIP and 44/64/80-pin PIM-mounted PICMCUs.
This board is fully populated with two fixed and one variable power supply, a 16x2 Character LCD module, a pair of mikroBUS™ Click™ board headers to accommodate a variety of plug-in modules, a pair of DigilentPmod™ connectors, an in-linecompletely configurable connector, PICtail™ connectors and a USB-to-serial/I2Cconverter. The Explorer 8 is fully compatible with the MPLAB® Code Configurator andMPLAB X v3.00 or later.

图1.Explorer 8开发板(DM160228)外形图

Explorer 8开发板(DM160228)元件数:

The Explorer 8 Development Board comes with the following:
• Explorer 8 Development Board (DM160228)
• Pre-programmed DSTEMP
• Micro USB cable
If the kit is missing any of these parts, please contact the nearest Microchip sales office
listed in the back of this publication.
The MPLAB X Integrated Development Environment (IDE) is a free, integratedsoftware tool set for application development and debugging. Compilers and otherboard-compatible software and hardware tools can be purchased.
The Explorer 8 Development Board(DM160228) has the following hardware features. Eachfeature’s number corresponds to the number in Figure 2, showing the feature’slocation on the board:
1. MCP2221 USB-to-UART/I2C serial converter (U3)
2. 16x2 Character LCD (LCD1)
3. MCP23S17 I/O Expander for LCD Interface (U4)
4. Eight blue LEDs (D1 to D8).
5. Male header pins for attaching Plug-in-Modules (U1A)
6. Socket for attaching 40-pin PIC MCUs (J8)
7. Socket for attaching 28-pin PIC MCUs (J13)
8. Socket for attaching 8/14/20-pin PIC MCUs (J10)
9. mikroBUS headers for attaching mikroBUS compatible boards (J32 and J35)
10. Two push button switches for external stimulus (S1 and S2)
11. PICtail Expansion Connectors for PICtail Daughter Boards (J3, J5, J11 and J28)
12. PICtail Plus Card Edge Modular Expansion Connectors for PICtail Plus Daughter Boards (J19)
13. Test Points for 5.0V (TP1 and TP7), 3.3V (TP6) and V_VAR (TP5). V_VAR is the variable voltage and is equal to the device VDD and its associated logic
14. 20-pin in-line expansion connector (J33)
15. 8 MHz crystal for device external oscillator (Y1)
16. DigilentPmod compatible connectors (J17 and J20)
17. 10 kΩ Potentiometer for analog inputs (R25)
18. Variable Power Indicator LED (D9)
19. 3.3V Power Indicator (LD2)
20. 5.0V Power Indicator (LD1)
21. 5.0V (U5), 3.3V (U1) and Variable (U2) power supplies
22. Barrel connector for 9V DC Supply (J1)
23. RJ11 connector for ICSP programming/debugging using REAL ICE and ICD 3
(J26)
24. 6-pin male header for ICSP programming/debugging using PICkit 3 (J12)
25. Push button switch on MCLR for external Reset (S3)
26. Micro USB socket for USB communication and/or USB power (J18)

图2.Explorer 8开发板(DM160228)元件分布图

图3.Explorer 8开发板(DM160228)电路图(1)

图3.Explorer 8开发板(DM160228)电路图(2)

图4.Explorer 8开发板(DM160228)电路图(3)

图5.Explorer 8开发板(DM160228) PCB图
详情请见:
http://ww1.microchip.com/downloads/en/DeviceDoc/PIC18F2X-4XQ10-Product-Brief-40001920B.pdf
http://ww1.microchip.com/downloads/en/DeviceDoc/40001812B.pdf
40001812B.pdf
PIC18F2X-4XQ10-Product-Brief-40001920B.pdf

 

猜你喜欢