Microchip logo
Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes

PIC16F18877 Product Family

Peripheral Integration to Enable Functions

The PIC16F18877 and PIC16F18346 product families feature a high level of core independent peripherals that can be combined to perform a wide variety of functions without the core. The integration of the peripherals, allow for interconnections that bring a new level of interaction between peripherals enabling unsurpassed flexibility in creating functions for a wide range of applications including consumer electronics, Internet of Things (IoT) and wearable technology applications. These products also include new power conserving functionality, including Idle/Doze operating modes and Peripheral Module Disable (PMD) in addition to XLP low-power technology.

Increased Low Power Functionality

New idle and doze low power modes allow applications to optimize device performance and power consumption. The Peripheral Module Disable (PMD) allows unused peripherals to be turned off individually, further lowering power consumption.

Easy Complementary Output Generation

Any of the 10-bit PWMs or Capture/Compare/PWMs (CCP) can be combined with the Complementary Waveform Generator (CWG) which enables automated complementary output control with control of dead-band and auto-shutdown modes. Once configured, the complementary outputs run completely independent of the core, allowing the core to perform other tasks.

Integrated Safety and Monitoring

This product family features the Windowed Watchdog timer and Cyclic Redundancy Check with Memory Scan. Together, these hardware-base Core Independent Peripherals provide engineers with the necessary features to easily incorporate safety and system management into their application.

Easy Complementary Output Generation

Any of the 10-bit PWMs or Capture/Compare/PWMs (CCP) can be combined with the Complementary Waveform Generator (CWG) which enables automated complementary output control with control of dead-band and auto-shutdown modes. Once configured, the complementary outputs run completely independent of the core, allowing the core to perform other tasks.

Integrated Analog

The on board 10-bit ADC with Computation, 5-bit DAC, internal voltage references and comparators can be connected internally to create closed loop feedback without requiring pins or PCB space or can be used for other functions within the applications. The versatile 10-bit ADC with Computation offers features like accumulate, averaging, low-pass filter and reference comparison. Giving the user design flexibility and enabling the capability to create functions for a wide range of applications.

Flexible PCB Routing

The Peripheral Pin Select (PPS) functionality allows for I/O pin remapping of the digital peripherals for increased flexibility and ease of PCB layout and improved utilization by accessing multiple peripherals on the same I/O port.

 


Getting Started

The Curiosity High Pin Count (HPC) Development Board (DM164136) supports the PIC16F18877 product family. Curiosity Development Boards are cost-effective, fully-integrated MCU development platforms. The development board includes an integrated programmer/debugger and requires no additional hardware to get started.

The PIC16F18877 product family is also supported by MPLAB® Code Configurator (MCC), a free software plug-in that provides a graphical interface to configure peripherals and functions specific to your application.  MCC is incorporated into our award-winning Integrated Development Environments (IDEs), the downloadable MPLAB X IDE and the cloud-based MPLAB Xpress IDE. Additionally, several Xpress code examples are available to help designers start development immediately.

 


Building Blocks for Real-Time Control

Analog to Digital Converter with Computation (ADC2)
+

The Analog to Digital Converter with Computation helps accelerate common math tasks normally done in software by providing post-processing functions like averaging, low-pass filter, oversampling and threshold comparison.

More Information

10-bit PWM
+

The 10-bit PWM provides edge-aligned output which can be used with the Complementary Waveform Generator.

Complementary Waveform Generator (CWG)
+

Complementary Waveform Generator provides a complementary waveform with rising and falling edge dead band control, enabling high-efficiency synchronous switching with no processor overhead. The CWG also incorporates auto shutdown, auto restart and can interface directly with other peripherals/external inputs.

More Information

Closed Loop Control
+

With the additional 10-bit ADC, 5-bit DAC and Comparator, control loops for closed loop feedback control can be created or they can be used for other functions within the application. Using Microchip’s mTouch Capacitive Sensing solution, the 10-bit ADC can be used to create buttons or sliders.

Configurable Logic Cell (CLC)
+

The Configurable Logic Cell offers hardware-based combinational and sequential logic functions to simplify and accelerate many common tasks. The CLC can also be used as “glue” logic between peripherals, eliminating the need for CPU intervention during steady-state activity in complex control loops.

More Information

CRC/SCAN module and the Windowed Watchdog Timer (WWDT)
+

The CRC/SCAN module and the Windowed Watchdog Timer work in tandem to provide engineers with the tools necessary to incorporate functional safety into their application. By ensuring the integrity of the program FLASH contents, PICF15386 devices support the implementation of safety standards such as Class B and UL 1998.

More Information on WWDT

More Information on CRC/SCAN*

*Only available on the PIC16F1885X/7X products.

Peripheral Pin Select (PPS)
+

Peripheral Pin Select provides ultimate flexibility when routing digital signals to device pins. With PPS, any digital peripheral can be connected to any I/O pin on-the-fly for a customized layout. This allows users to maintain layout compatibility with older PIC® MCUs, even as new features are implemented.

More Information

Hardware Limit Timer (HLT)
+

The Hardware Limit Timer can detect faults in motors, power supplies, and other external devices. It can automatically notify the system to make provisions to shut down and/or safely restart.

More Information

 

PIC16F18877 Key Attributes

  • 32 MHz Internal Oscillator
  • Up to 56 KB Self-Write Program Flash Memory
  • Up to 4 KB RAM
  • 256B of EEPROM Data Flash Memory
  • Two 10-bit PWMs
  • Up to four Capture, Compare, PWMs (CCP)
  • Up to two Comparators
  • 10-bit ADC, up to 35 channels
  • Numerically Controlled Oscillator (NCO)
  • Data Signal Modulator (DSM)
  • Up to four Configurable Logic Cells (CLC)
  • 5-bit DAC
  • Up to three Complementary Waveform Generator (CWG)
  • Communication: SPI/I2C and EUSART
  • mTouch™ Capacitive Sensing
  • Peripheral Pin Select (PPS)

Available Only on 28- and 40- Pin Products:

  • ADC with Computation (ADC2)
    • Sampling / Averaging / Low-pass Filter
    • High/low Threshold and reference comparison

Safety and Monitoring Features:

  • Hardware Limit Timer (HLT)
  • Cyclical Redundancy Check with/ Scan (CRC/SCAN)
  • Windowed Watchdog Timer (WWDT)
  • Available in 8, 14, 20, 28 and 40-pins