Microchip PIC16F1937 F1 PIC 8-bit MCU Evaluation Solution

Microchip’s PIC16F193x (PIC16LF1902/3/4/6/7) is a low-cost 8-bit PIC with ultra-low power technology and integrated LCD control®The single chip microcomputer adopts ultra-low power consumption (XLP) technology, the sleep current is as low as 20 nA, and the typical operating current is 35 μA/MHz, which not only prolongs the battery life, but also ensures the accurate timing of the RTC while driving the segmented LCD . This MCU family offers an optimized feature set including up to 14 KB of Flash program memory, up to 512 bytes of RAM, up to 14 channels of 10-bit analog-to-digital converter (ADC), serial communication and temperature indicators, And has the ability to drive up to 116 LCD segments. These MCUs feature XLP technology for extended battery life, crystal accuracy compensation with an integrated temperature indicator, low power RTC support, and low voltage detection with an internal ADC and voltage reference, enabling low cost for many portable devices LCD Solutions. The PIC16LF190X family supports a variety of general-purpose applications that facilitate the implementation of LCDs in low-power and cost-sensitive designs, including security tokens, smart cards, medical devices, home appliances, key fobs or anything involving segmented LCDs. application. This article describes the PIC16F193x key features, block diagram, enhanced PIC microcontroller F1 evaluation platform key features and circuit diagrams.

PIC16F193x (PIC16LF1902/3/4/6/7) are low-cost 8-bit PICs with ultra-low power technology and integrated LCD control®single chip microcomputer.

PIC16F193x main features:

High-performance RISC CPU:

• Only 49 instructions to learn:

– All instructions except jump instructions are single cycle

• Speed ​​of work:

– DC – Oscillator/clock input frequency is 32 MHz

– DC – 125 ns instruction cycle

• Up to 16K x 14 words of Flash program memory

• Up to 1024 bytes of data memory (RAM)

• Interrupt function with automatic field protection

• 16-level deep hardware stack

• Direct, indirect and relative addressing modes

• Processor read access to program memory

• Pinout compatible with other 28/40-pin PIC16CXXX and PIC16FXXX microcontrollers

Features of the microcontroller:

• High Precision Internal Oscillator:

– Factory calibrated to ±1% (typ.)

– Software selectable frequency range from 31 kHz to 32 MHz

• Power-saving sleep mode

• Power-on Reset (POR)

• Power-up Timer (PWRT) and Oscillator Start-up Timer (OST)

• Brown-out Reset (BOR)

– Selectable between 2 trip points

– Option to disable in sleep mode

• Master reset multiplexed with pull-up/input pins

• Programmable code protection

• High Endurance Flash/EEPROM Cells:

– Flash memory withstands 100,000 writes

– EEPROM withstands 1,000,000 write operations

– Data retention time for flash/data EEPROM: >40 years

• Wide operating voltage range:

– 1.8V-5.5V (PIC16F193X)

– 1.8V-3.6V (PIC16LF193X)

PIC16LF193X Low Power Features:

• stand-by current:

– 60 nA typical at 1.8V

• Working current:

– 7.0 uA typical at 32kHz, 1.8V (PIC16LF193X)

– 150 uA typical at 1MHz, 1.8V (PIC16LF193X)

• Timer1 oscillator current:

– 600 nA typical at 32 kHz, 1.8V

• Low power watchdog timer current:

– 500 nA typical at 1.8V (PIC16LF193X)

Peripheral Features:

• Up to 35 I/O pins and 1 input-only pin:

– High source/sink current can directly drive LED

– Separate programmable pin interrupt-on-change pins

– Independent programmable weak pull-ups

• Integrated LCD controller:

– Up to 96 segments

– Variable clock input

– Contrast control

– Internal reference voltage selection

• Capacitive Touch Sensing Module (mTouchTM)

– Up to 16 selectable channels

• A/D converter:

– 10-bit resolution and up to 14 channels

– Selectable 1.024/2.048/4.096V reference voltage

• Timer0: 8-bit timer/counter with 8-bit programmable prescaler

• Enhanced Timer1

– Dedicated low power 32 kHz oscillator driver

– 16-bit timer/counter with prescaler

– External Gated Input Mode (with toggle and one-shot modes)

– Interrupt when gating event completes

• Timer2, 4 and 6: 8-bit timer/counter with 8-bit period register, prescaler and postscaler

• 2 Capture/Compare/PWM Modules (CCP)

– 16-bit capture with a maximum resolution of 125 ns

– 16-bit comparison with a maximum resolution of 125 ns

– 10-bit PWM up to 31.25 kHz

• 3 Enhanced Capture/Compare/PWM Modules (ECCP)

– 3 PWM time base options

– Auto shutdown and auto restart

– PWM control

– Programmable dead time delay

Peripheral Features:

• The Master Synchronous Serial Port (MSSP) supporting SPI and I2 CTM has the following features:

– 7-bit address mask

– SMBUS/PMBUSTM compatible

– Automatic wake up on startup

• Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART)

– Compatible with RS-232, RS-485 and LIN

– Automatic baud rate detection

• SR Latch (555 Timer):

– Multiple set/reset input options

– Emulate 555 timer application

• 2 comparators:

– Rail-to-rail input/output

– Power Mode Control

– Software enabled hysteresis

• Reference voltage module:

– Fixed Voltage Reference (FVR) output levels are: 1.024V, 2.048V and 4.096V

– 5-bit rail-to-rail resistive DAC with positive and negative reference voltage selection

PIC16F193X/LF193X Family Type
Microchip PIC16F1937 F1 PIC 8-bit MCU Evaluation Solution
The PIC16LF190X family supports a variety of general-purpose applications that facilitate the implementation of LCDs in low-power and cost-sensitive designs, including security tokens, smart cards, medical devices, home appliances, key fobs or anything involving segmented LCDs. application.
Microchip PIC16F1937 F1 PIC 8-bit MCU Evaluation Solution
figure 1. PIC16F193X/LF193X Block Diagram
Microchip PIC16F1937 F1 PIC 8-bit MCU Evaluation Solution
figure 2. PIC16F193X/LF193X Core Block Diagram

Enhanced PIC Microcontroller F1 Evaluation Platform

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.

The main features of the F1 evaluation platform:

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.

Microchip PIC16F1937 F1 PIC 8-bit MCU Evaluation Solution
image 3. F1 Evaluation Platform Outline Drawing
Microchip PIC16F1937 F1 PIC 8-bit MCU Evaluation Solution
Figure 4. F1 Evaluation Platform Circuit Diagram

Figure 5. BLDC plug-in board circuit diagram
For details, see:
http://ww1.microchip.com/downloads/cn/DeviceDoc/41364D_CN.pdf
as well as
http://ww1.microchip.com/downloads/cn/DeviceDoc/cn545437.pdf
and
http://ww1.microchip.com/downloads/cn/DeviceDoc/cn545427.pdf

The Links:   CM300TXL1-12NFC 7MBR10SA120-70