《電子技術(shù)應(yīng)用》
您所在的位置:首頁 > 嵌入式技術(shù) > 解決方案 > Microchip PIC16F1937 F1 PIC 8位MCU評估方案

Microchip PIC16F1937 F1 PIC 8位MCU評估方案

2011-12-29
關(guān)鍵詞: PIC PIC16F1937 MCU

Microchip 公司的PIC16F193x(PIC16LF1902/3/4/6/7)是采用超低功耗技術(shù)并集成LCD控制功能的低成本8位PIC®單片機,采用超低功耗(XLP)技術(shù),休眠電流低至20 nA,且典型工作電流為35 μA/MHz,不僅延長了電池壽命,而且在驅(qū)動分段式LCD的同時保證了RTC的精確計時。該MCU系列提供了一個優(yōu)化的功能集,包括高達14 KB的閃存程序存儲器、高達512字節(jié)的RAM、多達14個10位模數(shù)轉(zhuǎn)換器(ADC)通道、串行通信和溫度指示器,并具備驅(qū)動多達116個LCD段的性能。這些MCU采用可延長電池壽命的XLP技術(shù),具備利用集成溫度指示器提供晶振精度補償、支持低功耗RTC及利用內(nèi)部ADC和參考電壓支持低電壓檢測等能力,可以實現(xiàn)針對眾多便攜式設(shè)備的低成本LCD解決方案。PIC16LF190X系列支持多種通用應(yīng)用,有助于在低功耗和成本敏感設(shè)計中LCD的實現(xiàn),這些應(yīng)用包括安全令牌、智能卡、醫(yī)療設(shè)備、家用電器、密鑰卡或任何涉及分段式LCD的應(yīng)用。本文介紹了PIC16F193x主要特性,方框圖,增強性PIC微控制器F1評估平臺主要特性和電路圖。

PIC16F193x(PIC16LF1902/3/4/6/7)是采用超低功耗技術(shù)并集成LCD控制功能的低成本8位PIC®單片機。

PIC16F193x主要特性:

高性能RISC CPU:

• 只需要學(xué)習(xí)49 條指令:

- 除了跳轉(zhuǎn)指令以外所有的指令都是單周期的

• 工作速度:

- DC—— 振蕩器/ 時鐘的輸入頻率為32 MHz

- DC—— 指令周期為125 ns

• 最多16K x 14 字的閃存程序存儲器

• 最多1024 字節(jié)的數(shù)據(jù)存儲器(RAM)

• 帶自動現(xiàn)場保護的中斷功能

• 16 級深硬件堆棧

• 直接、間接和相對尋址模式

• 處理器對程序存儲器的讀訪問

• 引腳布局與其他28/40 引腳的PIC16CXXX 和 PIC16FXXX 單片機兼容

單片機的特性:

• 高精度內(nèi)部振蕩器:

- 出廠時校準為±1% (典型值)

- 軟件可選頻率范圍是31 kHz 到32 MHz

• 節(jié)能的休眠模式

• 上電復(fù)位(Power-on Reset, POR)

• 上電延時定時器(Power-up Timer, PWRT)和振蕩器起振定時器(Oscillator Start-up Timer,OST)

• 欠壓復(fù)位(Brown-out Reset, BOR)

- 可在2 個跳變點之間進行選擇

- 可選擇在休眠模式下禁止

• 與上拉/ 輸入引腳復(fù)用的主復(fù)位

• 可編程代碼保護

• 高耐用性閃存/EEPROM 單元:

- 閃存可經(jīng)受100,000 次寫操作

- EEPROM 可經(jīng)受1,000,000 次寫操作

- 閃存/ 數(shù)據(jù)EEPROM 的數(shù)據(jù)保持時間:>40 年

• 寬工作電壓范圍:

- 1.8V-5.5V (PIC16F193X)

- 1.8V-3.6V (PIC16LF193X)

PIC16LF193X 低功耗特性:

• 待機電流:

- 1.8V時,典型值為60 nA

• 工作電流:

- 32kHz、1.8V 時,典型值為7.0 uA(PIC16LF193X)

- 1MHz、1.8V 時,典型值為150 uA(PIC16LF193X)

• Timer1 振蕩器電流:

- 32 kHz、1.8V 時,典型值為600 nA

• 低功耗看門狗定時器電流:

- 1.8V時,典型值為500 nA (PIC16LF193X)

外設(shè)特性:

• 最多35 個I/O 引腳和1 個僅用作輸入的引腳:

- 高拉/ 灌電流可直接驅(qū)動LED

- 獨立的可編程引腳電平變化中斷引腳

- 獨立的可編程弱上拉

• 集成的LCD 控制器:

- 最多96 段

- 可變的時鐘輸入

- 對比度控制

- 內(nèi)部參考電壓選擇

• 電容觸摸傳感模塊(mTouchTM)

- 最多16 路可選通道

• A/D 轉(zhuǎn)換器:

- 10位分辨率并且最多14 路通道

- 可選擇1.024/2.048/4.096V 參考電壓

• Timer0:帶8 位可編程預(yù)分頻器的8 位定時器/ 計數(shù)器

• 增強型Timer1

- 專用的低功耗32 kHz 振蕩器驅(qū)動器

- 帶有預(yù)分頻器的16 位定時器/ 計數(shù)器

- 外部門控輸入模式(具有翻轉(zhuǎn)和單事件模式)

- 門控事件完成時中斷

• Timer2、4 和6:帶8 位周期寄存器、預(yù)分頻器和后分頻器的8 位定時器/ 計數(shù)器

• 2 個捕捉/ 比較/PWM 模塊(CCP)

- 16位捕捉,最大分辨率為125 ns

- 16位比較,最大分辨率為125 ns

- 10位PWM,最高頻率為31.25 kHz

• 3個增強型捕捉/ 比較/PWM 模塊(ECCP)

- 3個PWM 時基選項

- 自動關(guān)閉和自動重啟

- PWM控制

- 可編程死區(qū)延時

外設(shè)特性:

• 支持SPI 和I2 CTM 的主同步串行端口(Master Synchronous Serial Port, MSSP)具有以下功能:

- 7位地址掩碼

- SMBUS/PMBUSTM 兼容

- 啟動時自動喚醒

• 增強型通用同步/ 異步收發(fā)器(Enhanced Universal Synchronous Asynchronous Receiver Transmitter, EUSART)

- 與RS-232、RS-485 和LIN 兼容

- 自動波特率檢測

• SR 鎖存器(555 定時器):

- 多個置1/ 復(fù)位輸入選項

- 仿真555 定時器應(yīng)用

• 2 個比較器:

- 軌到軌輸入/ 輸出

- 功耗模式控制

- 軟件使能的遲滯

• 參考電壓模塊:

- 固定參考電壓(Fixed Voltage Reference,F(xiàn)VR)的輸出級別有:1.024V、2.048V 和4.096V

- 具有正負參考電壓選擇功能的5 位軌到軌阻式DAC

PIC16F193X/LF193X 系列類型

PIC16LF190X系列支持多種通用應(yīng)用,有助于在低功耗和成本敏感設(shè)計中LCD的實現(xiàn),這些應(yīng)用包括安全令牌、智能卡、醫(yī)療設(shè)備、家用電器、密鑰卡或任何涉及分段式LCD的應(yīng)用。

圖1。PIC16F193X/LF193X 框圖

圖2。PIC16F193X/LF193X 內(nèi)核框圖

增強性PIC微控制器F1評估平臺

F1 Evaluation Platform for Enhanced PIC® Microcontrollers

The PIC16LF1937 is the first in a family of enhanced mid-range microcontrollers. These architectural enhancements allow for more memory and faster computation than that of legacy PIC16 microcontrollers.

The PIC16F1 and PIC12F1 family of microcontrollers are a series of 8-bit microcontrollers derived from the popular PIC16 series of 8-bit PIC® microcontrollers.

The F1 derivatives feature an enhanced CPU, support for extended amounts of memory, improved peripherals, and XLP low power. The F1 Evaluation Platform allows you to evaluate these features for your application in a simple, low-cost platform.

F1評估平臺主要特性:

The F1 Evaluation Platform has the following hardware features:

PIC16LF1937

The PIC16LF1937 is a 40-pin full-featured device, including:

1. Enhanced PIC16 instruction set

2. 8K Words of Flash memory

3. 512 bytes of RAM

4. 256 bytes of EEPROM

5. 2 CCPs and 3 enhanced CCPs

6. MSSP (I2C™, SPI)

7. Enhanced USART

8. 8- and 16-bit timers

9. 32 MHz internal oscillator

10. Low-power 32 kHz crystal oscillator and

11. LCD controller.

MCP9800 I2C Temperature Sensor

The MCP9800 is a low-power, I2C temperature sensor with selectable 9 to 12 bits of output resolution.

PICkit™ 3 Programming/Debug Header

The PICkit 3 is a low-cost development tool that allows programming and debugging of the PIC16LF1937 MCU using the PICkit ISCP™ header.

PICkit Serial Communications Header

The PICkit serial is a low-cost development tool that allows I2C, SPI and USART protocols to be monitored and debugged through a simple 6-pin connector.

1 Button, 1 Potentiometer, 4 LEDs

Simple applications need the basic user interface elements. The button, potentiometer and 1 LED are available for any application. The remaining 3 LEDs are shared with the 20-bit motor control expansion connector.

One 3.5 Digit LCD

The 3.5-digit LCD glass supplied on this board is a typical meter-type display with icons for ohms, amps, etc. The PIC16LF1937 makes controlling the LCD very simple.

20-pin Motor Control Expansion Connector

This connector allows the PIC16LF1937 to control an optional Sensorless BLDC add-on board (DM164130-2). The PIC16LF1937 has complete control of 3 phases so other 1, 2, or 3-phase motor topologies can also be controlled.

Current Monitoring Connector

To demonstrate the Extreme Low Power (XLP) features of the PIC16LF1937, a precision ammeter can be connected to the current monitoring connector. This allows your application to be easily optimized for the lowest possible current.

Generous Prototyping Area

Our circuits are not your circuits. A prototyping area has been provided to extend the functionality of this demo board to demonstrate the utility of the PIC16LF1937 in your application.


圖3。F1評估平臺外形圖

圖4。F1評估平臺電路圖

圖5。BLDC插入板電路圖
詳情請見:
http://ww1.microchip.com/downloads/cn/DeviceDoc/41364D_CN.pdf
以及
http://ww1.microchip.com/downloads/cn/DeviceDoc/cn545437.pdf

http://ww1.microchip.com/downloads/cn/DeviceDoc/cn545427.pdf



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